Comptabilisation du paiement externe
Endpoint:
POST 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"
}
Il convient de noter que le %access_token%
doit être remplacé par le jeton que vous avez reçu en réponse à la commande point de terminaison d'authentification.