Get Token Sandbox
POST
/auth/authenticate/sandbox/merchantRequest
Body Params application/json
merchantId
string
required
merchantApiKey
string
required
merchantKey
string
required
Example
{
"merchantId": "811725368424207",
"merchantApiKey": "uZesFWCWdSy9lKyczSyXb",
"merchantKey": "47e7131a-17de-471c-85cc-67e1c36cda0d"
}
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: a day ago