GET
/
api
/
v2
/
subscriptions
/
refund-details
curl --request GET \
  --url https://sandbox.cashfree.com/api/v2/subscriptions/refund-details \
  --header 'X-Client-Id: <x-client-id>' \
  --header 'X-Client-Secret: <x-client-secret>'
{
"refundId": 12,
"subReferenceId": 123,
"paymentId": 12344,
"subRefundId": "SUB_john194d4",
"refundAmount": 1,
"refundNote": "",
"refundType": "AUTH",
"refundStatus": "PENDING",
"addedOn": "2023-10-16 16:24:57"
}

Headers

X-Client-Id
string
required

Client ID provided by Cashfree.

Example:

"asdf1234"

X-Client-Secret
string
required

Client Secret provided by Cashfree.

Example:

"qwer9876"

Query Parameters

paymentId
string

Payment ID for which refund details are to be fetched.

Example:

"12344"

merchantRefundId
string

Merchant Refund ID for which refund details are to be fetched.

Example:

"test-refund"

Response

200
application/json

Successful retrieval of refund details.

The response is of type any.