Retrieve a Refund Request.
The Refund Request response
When the provided refundRequestId
does not match a Refund Request stored in the system.
curl -i -X GET \ 'https://api.tyro.com/connect/pay/refunds/{refundRequestId}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "id": "2d448ac1-862a-4c7b-bdb4-a3b7cdbf6143",
- "payRequestId": "0f448ac1-862a-4c7b-bdb4-a3b7cdbf6149",
- "total": {
- "amount": 12520,
- "currency": "AUD"
}, - "status": "SUCCESS",
- "createdAt": "2022-11-23T22:39:54.931Z",
- "updatedAt": "2022-11-23T22:40:48.237Z"
}