Use a refund to return a payment to a customer.
Note: We do not currently support partial refunds. The original charge will therefore be fully refunded.
|The secret key for your account|
|The charge id returned when you originally did the charge. |
|A set of key-value pairs that you can attach to a Refund object.|
curl https://online.yoco.com/v1/refunds/ \
-u sk_test_960bfde0VBrLlpK098e4ffeb53e1: \
# The colon on the u argument prevents curl from asking for a password
HTTP: 200 OK
"message": "Your refund has been processed",