cURL
curl --request POST \ --url https://api-v2.ziina.com/api/refund \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "<string>", "payment_intent_id": "<string>", "amount": 123, "currency_code": "<string>", "test": true }'
{ "id": "<string>", "payment_intent_id": "<string>", "amount": 123, "currency_code": "<string>", "status": "pending", "created_at": "<string>", "error": { "message": "<string>", "code": "<string>" } }
write_refunds
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response is of type object.
object
Was this page helpful?