Generate Oauth2 Token
POST {{base_url}}/disbursement/oauth2/token/
Request Description
This endpoint allows the client to obtain an OAuth2 token for disbursement. The request should be made using the HTTP POST method with the x-www-form-urlencoded request body type.
Request Body
- No specific parameters were provided for the request body.
Response
The response for this request is not provided.
JSON Schema for Response
{
"type": "object",
"properties": {
"access_token": {
"type": "string"
},
"token_type": {
"type": "string"
},
"expires_in": {
"type": "integer"
},
"scope": {
"type": "string"
}
}
}
Request Body
[{"name"=>"grant_type", "value"=>"urn:openid:params:grant-type:ciba", "datatype"=>"string"}, {"name"=>"auth_req_id", "value"=>"{{Consent_Req_Id}}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Target-Environment | string | ||
Content-Type | string | ||
Ocp-Apim-Subscription-Key | string |