Refund transaction 🔙
This endpoint refunds a specific transaction back to its origin (business & user of that business).
Endpoint
POST
https://api.thepeer.co/transactions/{{TRANSACTION_ID}}/refund
URL Parameter | Description |
---|---|
{{TRANSACTION_ID}} | the id of a transaction |
Sample body
{ "reason": "possible fraud"}
Field requirements
Field name | Data type | Required |
---|---|---|
reason | string | false |
Sample response
Check out the anatomy of a transaction object.
I think the things you regret most in life are the things you didn’t do.
— Steve Jobs