Get history of payout reversals
Changed onThis GET endpoint is used to retrieve the payout reversal history for a specific user and payout transaction. <br> You can use this endpoint to view all reversal transactions applied to a particular payout, including each payout_reversal_token, the reversed amount, and status. <br> To use this endpoint, you need to provide both the user_token and the original payout_token in the URL Path. <br> The response will include a JSON object containing an array of reversal transactions associated with the specified payout, with each entry including details such as the reversal token, amount, currency, status, and the date and time of the reversal.
Request
- Base URLhttps://api.masspay.io/v1.0.0
- Auth
- API key in header Authorization
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Token representing the user to pay out
Token representing the trsanaction. Retrieved from /payout/{user_token}
Headers
Unique key to prevent duplicate processing
Response
successful operation
Example response
[
{
"status_reason": "R01 - Insufficient Funds",
"original_destination_amount": 1000.34,
"total_reversed_amount": 10.2
}
]Changes
- info
endpoint added
- info