Last updated 1 year ago
Refund the balance of an account, either partially or totally.
Unique identifier of the account
Amount to be refunded. If not specified, the total balance will be refunded.
POST /v1/accounts/{accountId}/refund HTTP/1.1 Host: api.example.com api_key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 12 { "amount": 1 }
Refund processed successfully
{ "message": "text", "refundedAmount": 1 }