LogoLogo
Access Portal
  • SanctusPay Documentation
  • Getting Started
    • Quickstart
  • Basics
    • Merchant Account
      • Registration
      • Application
      • Activation
    • Payment Processing
      • Transaction Concept
      • Operation Concept
    • Hosted Checkout Page
      • SanctusPay HCP
      • Technical Information
    • Plugins
      • Woocommerce
  • Developer
    • About
    • API reference
      • Auth
        • Token
      • Intents
        • Card
        • Payment
      • Transaction
      • Transactions
      • Refunds
    • Specification
Powered by GitBook
LogoLogo

Institutional

  • SanctusPay
  • SanctusPay Portal

@ 2025 SanctusPay

On this page

Was this helpful?

Export as PDF
  1. Developer
  2. API reference
  3. Auth

Token

PreviousAuthNextIntents

Was this helpful?

Obtain a New Authentication Token

post

Use this endpoint to generate a new JWT (JSON Web Token) by providing valid client credentials (client_id and client_secret). The returned token must be included in the Authorization header as Bearer <token> for subsequent calls to authenticate and authorize access to the SanctusPay API.

Body
client_idstringRequired

Your unique client_id assigned by SanctusPay.

client_secretstringRequired

Your unique client_secret associated with your client_id.

Responses
200
A successfully generated access token.
application/json
post
POST /auth/token HTTP/1.1
Host: test.api.us.sanctuspay.com
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "client_id": "text",
  "client_secret": "text"
}
200

A successfully generated access token.

{
  "access_token": "text",
  "expiry": 1
}