GET
/
subscriptions
/
{subscription_id}
/
refunds
/
{refund_id}

Authorizations

x-client-id
string
header
required

Client app ID. You can find your app id in the Merchant Dashboard.

x-client-secret
string
header
required

Client secret key. You can find your secret in the Merchant Dashboard.

Headers

x-api-version
string
default:
2023-08-01
required

API version to be used. Format is in YYYY-MM-DD

x-request-id
string

Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree

x-idempotency-key
string

An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.

Path Parameters

subscription_id
string
required

Provide the SubscriptionId using which the subscription was created.

refund_id
string
required

Provide the PaymentId for which the details have to be fetched.

Response

200 - application/json

Get/Create Subscription Payment Refund Response

cf_payment_id
string

Cashfree subscription payment reference number.

cf_refund_id
string

Cashfree subscription payment refund reference number.

payment_id
string

A unique ID passed by merchant for identifying the transaction.

refund_amount
number

The refund amount.

refund_id
string

A unique ID passed by merchant for identifying the refund.

refund_note
string

Refund note.

refund_speed
string

Refund speed. Can be INSTANT or NORMAL.

refund_status
string

Status of the refund.