Skip to main content
GET
/
api
/
v2
/
subscriptions
/
{subReferenceId}
/
payments
/
{paymentId}
Fetch Single Subscription Payment
curl --request GET \
  --url https://sandbox.cashfree.com/api/v2/subscriptions/{subReferenceId}/payments/{paymentId} \
  --header 'X-Client-Id: <x-client-id>' \
  --header 'X-Client-Secret: <x-client-secret>'
{
  "status": "ERROR",
  "message": "Server encountered an unexpected condition."
}

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"

Path Parameters

subReferenceId
integer
required

The reference ID of the subscription.

Example:

2568045

paymentId
integer
required

The payment ID whose details are to be fetched.

Example:

3027869

Response

Successful retrieval of the payment details.