cURL
curl --request GET \ --url https://api.yuvexpay.com/v1/payments/{paymentId}/refunds \ --header 'Authorization: Bearer <token>'
{ "refunds": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "txId": "<string>", "amount": 123, "reason": "<string>", "status": "PENDING", "processedAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z" } ] }
Retrieve all refunds for a specific payment.
API access token obtained from POST /oauth/token. Include as Authorization: Bearer {token}.
Authorization: Bearer {token}
The payment ID.
Refunds listed.
Show child attributes