Skip to main content
GET
/
subscriptions
/
payments
/
{payment_id}
/
controlled
/
executions
Fetch All Controlled Executions
curl --request GET \
  --url https://sandbox.cashfree.com/pg/subscriptions/payments/{payment_id}/controlled/executions \
  --header 'x-api-version: <x-api-version>' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>'
[
  {
    "cf_execution_id": "3333",
    "cf_order_id": "123456",
    "cf_payment_id": "123456",
    "cf_subscription_id": "7891011",
    "cf_txn_id": "123456",
    "execution_attempted_time": "2025-06-01T22:14:59+05:30",
    "execution_completed_time": "2025-06-01T22:15:59+05:30",
    "execution_id": "execution-001",
    "execution_initiated_time": "2025-06-01T22:14:58+05:30",
    "execution_status": "SUCCESS",
    "failure_details": {
      "failure_reason": "",
      "failure_error_code": "",
      "failure_sub_error_code": ""
    },
    "payment_amount": 1,
    "payment_id": "test-payment-id",
    "payment_remarks": "",
    "payment_status": "SUCCESS",
    "subscription_id": "test-subscription-id"
  },
  {
    "cf_execution_id": "3334",
    "cf_order_id": "123457",
    "cf_payment_id": "123457",
    "cf_subscription_id": "7891011",
    "cf_txn_id": "123457",
    "execution_attempted_time": "2025-06-02T22:14:59+05:30",
    "execution_completed_time": "2025-06-02T22:15:59+05:30",
    "execution_id": "execution-002",
    "execution_initiated_time": "2025-06-02T22:14:58+05:30",
    "execution_status": "FAILED",
    "failure_details": {
      "failure_reason": "Insufficient balance",
      "failure_error_code": "INSUFFICIENT_FUNDS",
      "failure_sub_error_code": "BALANCE_LOW"
    },
    "payment_amount": 1,
    "payment_id": "test-payment-id",
    "payment_remarks": "retry attempt",
    "payment_status": "SUCCESS",
    "subscription_id": "test-subscription-id"
  }
]
This API supports UPI mandates only. eNACH and Physical NACH (PNACH) mandates are not supported. Card support is planned for a future release.

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 key in the Merchant Dashboard.

Headers

x-api-version
string
default:2025-01-01
required

API version to be used.

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<UUID>

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

payment_id
string
required

Provide the Payment ID using which the payment was created.

Response

Success response for fetching controlled payment executions.

cf_execution_id
string

Cashfree-generated identifier for the controlled execution.

cf_order_id
string

Cashfree subscription payment order ID.

cf_payment_id
string

Cashfree subscription payment reference number.

cf_subscription_id
string

Cashfree subscription reference number.

cf_txn_id
string

Cashfree subscription payment transaction ID.

execution_attempted_time
string<ISO8601>

The timestamp when the controlled execution was attempted. Timestamps are in IST.

Example:

"2025-06-01T22:14:59+05:30"

execution_completed_time
string<ISO8601>

The timestamp when the controlled execution was completed. Timestamps are in IST.

Example:

"2025-06-01T22:14:59+05:30"

execution_id
string

The unique merchant-provided identifier for the controlled execution.

execution_initiated_time
string<ISO8601>

The timestamp when the controlled execution was initiated. Timestamps are in IST.

Example:

"2025-06-01T22:14:58+05:30"

execution_status
string

Status of the controlled execution.

failure_details
ControlledAttemptFailureDetails · object

Details of the failure associated with a controlled notification or execution attempt.

payment_amount
number<float64>

Amount associated with the controlled execution.

payment_id
string

Base Payment ID associated with the controlled execution.

payment_remarks
string

Payment remarks associated with the controlled execution.

payment_status
string

Current status of the parent payment entity.

subscription_id
string

Subscription ID associated with the controlled execution.

Example:
[
{
"cf_execution_id": "3333",
"cf_order_id": "123456",
"cf_payment_id": "123456",
"cf_subscription_id": "7891011",
"cf_txn_id": "123456",
"execution_attempted_time": "2025-06-01T22:14:59+05:30",
"execution_completed_time": "2025-06-01T22:15:59+05:30",
"execution_id": "execution-001",
"execution_initiated_time": "2025-06-01T22:14:58+05:30",
"execution_status": "SUCCESS",
"failure_details": {
"failure_reason": "",
"failure_error_code": "",
"failure_sub_error_code": ""
},
"payment_amount": 1,
"payment_id": "test-payment-id",
"payment_remarks": "",
"payment_status": "SUCCESS",
"subscription_id": "test-subscription-id"
},
{
"cf_execution_id": "3334",
"cf_order_id": "123457",
"cf_payment_id": "123457",
"cf_subscription_id": "7891011",
"cf_txn_id": "123457",
"execution_attempted_time": "2025-06-02T22:14:59+05:30",
"execution_completed_time": "2025-06-02T22:15:59+05:30",
"execution_id": "execution-002",
"execution_initiated_time": "2025-06-02T22:14:58+05:30",
"execution_status": "FAILED",
"failure_details": {
"failure_reason": "Insufficient balance",
"failure_error_code": "INSUFFICIENT_FUNDS",
"failure_sub_error_code": "BALANCE_LOW"
},
"payment_amount": 1,
"payment_id": "test-payment-id",
"payment_remarks": "retry attempt",
"payment_status": "SUCCESS",
"subscription_id": "test-subscription-id"
}
]