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

Get Token

POST
/user-service/api/v1/auth/client-api-login
Account
Authenticate a client and return a JWT token.

Request

Body Params application/json
email
string <email>
required
User's email address
Example:
john.doe@gmail.com
password
string <password>
required
User's password
Example:
pasWTword@123
clientKey
string <password>
required
Client key -- Public Live Key From Developers Tools Page
Example:
3323-xd-2323-2323
clientSecret
string <password>
required
Client secret -- Public Live Secret From Developers Tools Page
Example:
SKD4E-49944-DK4SKF-TPDS
Example
{
  "email": "john.doe@gmail.com",
  "password": "pasWTword@123",
  "clientKey": "3323-xd-2323-2323",
  "clientSecret": "SKD4E-49944-DK4SKF-TPDS"
}

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/client-api-login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "john.doe@gmail.com",
    "password": "pasWTword@123",
    "clientKey": "3323-xd-2323-2323",
    "clientSecret": "SKD4E-49944-DK4SKF-TPDS"
}'

Responses

🟢200OK
application/json
Successful login
Body
token
string 
optional
JWT token
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Example
{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
🟠401Unauthorized
Previous
🔓 Authentication
Next
Refresh Token
Built with