cURL
curl --request POST \ --url https://api.stag.songhaiexchange.io/oauth/token \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data 'username=<string>' \ --data 'password=<string>' \ --data grant_type=password
{ "status": "SUCCESS", "message": "<string>", "errorCode": 123, "data": { "accountNumber": "<string>", "accountName": "<string>", "accountCurrency": "<string>", "receiverMobileNumber": "<string>" } }
Authenticate and generate an access token for API requests.
Your username
Your password
password
Token generated successfully
SUCCESS
ERROR
Show child attributes