Skip to main content
GET
/
v3
/
refund
/
{id}
Fetch Refund
curl --request GET \
  --url https://service-sandbox.tazapay.com/v3/refund/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "status": "success",
  "message": "refund updated successfully",
  "data": {
    "id": "rfd_afiuabfia23wifaiofnioa12nfianf",
    "object": "refund",
    "payin": "chk_cirsp2sl4ar024j0akj0",
    "amount": 90000,
    "currency": "USD",
    "customer_receives": {
      "currency": "SGD",
      "amount": 133200
    },
    "payment_attempt": "pat_ahbfiuahfiuaiofnioain",
    "reason": "Damaged Goods",
    "metadata": {
      "key1": "value1",
      "key2": "value2"
    },
    "status": "succeeded",
    "status_description": "",
    "webhook_url": "https://mystore.webhook.tazapay.refund/",
    "created_at": "2023-07-23 23:59:56"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

ID of the refund object to fetch the details

Response

200 - application/json

200

status
string

Indicates whether the refund creation request was successful.

message
string

Describes the outcome of the refund operation.

data
object

Contains detailed information about the created refund.