cURL
curl --request POST \ --url https://staging-openapi.accountingplus.id/oauth/clients/accesstoken \ --header 'Content-Type: application/json' \ --data '{ "client_id": "thepartner", "client_secret": "abcdefghijklmnopqrstuvwxyz" }'
200
example
{ "status": "00", "message": "Success", "data": { "organization_name": "PT. Test", "client_id": "thepartner", "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "expires_in": 172800 }}
Get an access token for the client
Client credentials
"thepartner"
"abcdefghijklmnopqrstuvwxyz"
Access token generated successfully
"00"
"Success"
Show child attributes