Skip to main content
POST
/
oauth
/
token
Generate Token
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
{
  "message": "<string>",
  "errorCode": 123,
  "data": {
    "accountNumber": "<string>",
    "accountName": "<string>",
    "accountCurrency": "<string>",
    "receiverMobileNumber": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.fincode.technology/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/x-www-form-urlencoded
username
string
required

Your username

password
string
required

Your password

grant_type
enum<string>
default:password
required
Available options:
password

Response

200 - application/json

Token generated successfully

status
enum<string>
Available options:
SUCCESS,
ERROR
message
string
errorCode
integer
data
object