Multigate
  1. 🔓 Authentication
Multigate
  • 🚀 Getting Started
  • 🔓 Authentication
    • Get Token
      POST
    • Refresh Token
      POST
    • Logout User
      POST
  • 👋 Onboarding
    • Create Subclient
    • Get All Subclients
    • Get Subclient
    • Update Subclient
    • Create Subclient Shareholder
    • Get Subclient Shareholders
    • Update Subclient Shareholder
    • Upload Subclient Documents
    • Get Subclient Documents
    • Delete Subclient
    • Submit Subclient
  • 💰 Accounts
    • 📄 Statements
      • Get Statement
    • Create Virtual Account
    • Get Account
    • Get Accounts By
    • Get All Accounts
    • Simulate Inflow (UAT only)
  • 🔃 Conversions
    • Get Quote
    • Lock Rate
    • Get Trade
    • Get All Trades
  • 💸 Payments
    • 🏦 Banks
      • Get Bank Details
    • 👤 Beneficiaries
      • Create Beneficiary
      • Get All Beneficiaries
      • Get Beneficiary
      • Update Beneficiary
      • Validate Beneficiary Account (NGN only)
    • Create Single Transfer
    • Get Purpose Codes
    • Get Transfer Fields & Fees
    • Find Transfers
  • 📩 Webhooks / Push Notifications
    • Add a New Client Configuration
    • Update Client Configuration Current Mode
    • Get Client Configuration
  1. 🔓 Authentication

Refresh Token

POST
/user-service/api/v1/auth/refresh-token
Account
Refresh an expired JWT token.

Request

Body Params application/json
refreshToken
string 
required
Refresh token
Example:
refreshToken123
Example
{
  "refreshToken": "refreshToken123"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-gateway-uat.mmacs.io/platform/user-service/api/v1/auth/refresh-token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "refreshToken": "refreshToken123"
}'

Responses

🟢200OK
application/json
Token refreshed successfully
Body
token
string 
optional
New JWT token
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Example
{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
🟠401Unauthorized
Previous
Get Token
Next
Logout User
Built with