Refund Transaction
Refund Transaction
This endpoint executes a refund, thereby returning funds back to their source.
Endpoint Get
https://api.thepeer.co/transactions/{{TRANSACTION_ID}}/refund
Path Parameter
Name | Description | Required | Data type |
---|---|---|---|
TRANSACTION_ID | The transaction’s identifier | true | String |
Sample request
{
"reason": "possible fraud!"
}
Sample Response
Check out the anatomy of a transaction object.