Get Token Production
POST
/auth/authenticate/merchantRequest
Body Params application/json
merchantId
string
required
merchantApiKey
string
required
merchantKey
string
required
Example
{
"merchantId": "{{merchantId}}",
"merchantApiKey": "{{merchantApiKey}}",
"merchantKey": "{{merchantKey}}"
}
Request samples
Responses
Authentication(200)
HTTP Code: 200
Content Type : Rawtext/plain
ExampleAuthentication
{
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjMxLCJyb2xlcyI6WyJVU0VSIl0sInN1YiI6ImRldkBzbWF0cGF5LmFmcmljYSIsImlhdCI6MTcyMzcyODU3MCwiZXhwIjoxNzIzNzQ2NTcwfQ.mgAJ0Ufobw1SgBSbAdRofzFMLRjcsVT0k_bHdfxvlkelWCwBRUJcNSv4s8DaLVfxGpmcP8bxO3txwFBvBZzuiQ",
"user": {
"id": 31,
"email": "dev@smatpay.africa",
"firstName": "Udean",
"lastName": "Mbano",
"role": "USER",
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjMxLCJyb2xlcyI6WyJVU0VSIl0sInN1YiI6ImRldkBzbWF0cGF5LmFmcmljYSIsImlhdCI6MTcyMzcyODU3MCwiZXhwIjoxNzIzNzQ2NTcwfQ.mgAJ0Ufobw1SgBSbAdRofzFMLRjcsVT0k_bHdfxvlkelWCwBRUJcNSv4s8DaLVfxGpmcP8bxO3txwFBvBZzuiQ",
"accountId": 11,
"activationActivated": true
},
"errorResponse": {
"errorMessage": null,
"statusCode": 0
}
}
Last modified: 5 hours ago