Post Payment External
Endpoint:
POST /v2/rechargeProviders/{reference}/payments
Authentication:
Grant_type: client_credentials
Scopes: [ credit ]
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Request body:
{
"userId": "string",
"amount": integer
}
Response body:
{
"id": "string",
"userId": 0,
"amount": 0,
"description": "string"
}
Note that the %access_token%
needs to be replaced by the token you received as a response from auth endpoint.