Skip to main content
POST
Create Subscription Refund

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"

Body

application/json
paymentId
string

Payment ID for which the refund is to be created.

Example:

"1223"

refundAmount
number

Amount to be refunded.

Example:

100

refundNote
string

Note associated with the refund.

Example:

"Charge refund"

merchantRefundId
string

Unique ID for the merchant's refund request.

Example:

"test-refund"

requestedSpeed
string

The requested speed for processing the refund (e.g., STANDARD).

Example:

"STANDARD"

Response

Successful creation of the refund.