Beta
Forwards an API request to a third-party endpoint.For example, you can forward payment credentials you've stored in our Vault to a third-party payment processor.
required | object (ForwardRequestSource) The payment source to enrich the forward request with. You can provide placeholder values in |
required | object The parameters of the forward request. |
| reference | string <= 80 characters The unique reference for the forward request. |
| processing_channel_id | string^(pc)_(\w{26})$ The processing channel ID to associate the billing for the forward request with. |
object (ForwardRequestNetworkToken) Specifies if and how a network token should be used in the forward request. |
The request was successfully forwarded.
Unauthorized
Invalid data was sent.
Internal Error
{- "source": {
- "id": "src_v5rgkf3gdtpuzjqesyxmyodnya",
- "type": "id"
}, - "reference": "ORD-5023-4E89",
- "processing_channel_id": "pc_azsiyswl7bwe2ynjzujy7lcjca",
- "network_token": {
- "enabled": true,
- "request_cryptogram": false
}, - "destination_request": {
- "method": "POST",
- "headers": {
- "encrypted": "<JWE encrypted JSON object with string values>",
- "raw": {
- "Idempotency-Key": "xe4fad12367dfgrds",
- "Content-Type": "application/json"
}
}, - "body": "{\"amount\": 1000, \"currency\": \"USD\", \"reference\": \"some_reference\", \"source\": {\"type\": \"card\", \"number\": \"{{card_number}}\", \"expiry_month\": \"{{card_expiry_month}}\", \"expiry_year\": \"{{card_expiry_year_yyyy}}\", \"card_pin\": \"{{card_pin}}\", \"name\": \"Ali Farid\"}, \"payment_type\": \"Regular\", \"authorization_type\": \"Final\", \"capture\": true, \"processing_channel_id\": \"pc_xxxxxxxxxxx\", \"risk\": {\"enabled\": false}, \"merchant_initiated\": true}",
- "signature": {
- "type": "dlocal",
- "dlocal_parameters": {
- "secret_key": "9f439fe1a9f96e67b047d3c1a28c33a2e"
}
}, - "variables": [
- {
- "name": "card_data",
- "value": "{\"card_number\":\"{{card_number}}\",\"expiry\":\"{{card_expiry_month}}\"}"
}, - {
- "name": "public_key",
- "value": "{\"kty\":\"RSA\",\"e\":\"AQAB\",\"use\":\"enc\",\"kid\":\"key-001\"}"
}
], - "query": [
- {
- "name": "api_key",
- "value": "1234567890"
}, - {
- "name": "user_id",
- "value": "1234567890"
}
]
}
}{- "request_id": "fwd_01HK153X00VZ1K15Z3HYC0QGPN",
- "destination_response": {
- "status": 201,
- "headers": {
- "Cko-Request-Id": [
- "5fa7ee8c-f82d-4440-a6dc-e8c859b03235"
], - "Content-Type": [
- "application/json"
]
}, - "body": "{\"id\": \"pay_mbabizu24mvu3mela5njyhpit4\", \"action_id\": \"act_mbabizu24mvu3mela5njyhpit4\", \"amount\": 6540, \"currency\": \"USD\", \"approved\": true, \"status\": \"Authorized\", \"auth_code\": \"770687\", \"response_code\": \"10000\", \"response_summary\": \"Approved\", \"_links\": {\"self\": {\"href\": \"https://{prefix}.api.sandbox.checkout.com/payments/pay_mbabizu24mvu3mela5njyhpit4\"}, \"action\": {\"href\": \"https://{prefix}.api.sandbox.checkout.com/payments/pay_mbabizu24mvu3mela5njyhpit4/actions\"}, \"void\": {\"href\": \"https://{prefix}.api.sandbox.checkout.com/payments/pay_mbabizu24mvu3mela5njyhpit4/voids\"}, \"capture\": {\"href\": \"https://{prefix}.api.sandbox.checkout.com/payments/pay_mbabizu24mvu3mela5njyhpit4/captures\"}}}"
}, - "source": {
- "id": "src_evls5rkafabudm3x6gejc4bbo4",
- "bin": "45434748",
- "last4": "9996",
- "fingerprint": "B086A9386241A0BDCBEFAFC1E4FD5C3DD04684AAD21A126CB426C05555AC86A9"
}
}Retrieve the details of a successfully forwarded API request.
The details can be retrieved for up to 14 days after the request was initiated.
Forward request retrieved successfully
Unauthorized
Forward request not found
Internal Server Error
{- "request_id": "fwd_01HK153X00VZ1K15Z3HYC0QGPN",
- "reference": "ORD-5023-4E89",
- "entity_id": "ent_lp6h57qskk6ubewfk3pq4f2c2y",
- "destination_request": {
- "method": "POST",
- "headers": {
- "Authorization": "***redacted***",
- "Idempotency-Key": "xe4fad12367dfgrds",
- "Content-Type": "application/json"
}, - "body": "{\"amount\": 1000, \"currency\": \"USD\", \"reference\": \"some_reference\", \"source\": {\"type\": \"card\", \"number\": \"{{card_number}}\", \"expiry_month\": \"{{card_expiry_month}}\", \"expiry_year\": \"{{card_expiry_year_yyyy}}\", \"card_pin\": \"{{card_pin}}\", \"name\": \"Ali Farid\"}, \"payment_type\": \"Regular\", \"authorization_type\": \"Final\", \"capture\": true, \"processing_channel_id\": \"pc_xxxxxxxxxxx\", \"risk\": {\"enabled\": false}, \"merchant_initiated\": true}"
}, - "destination_response": {
- "status": 201,
- "headers": {
- "Cko-Request-Id": [
- "5fa7ee8c-f82d-4440-a6dc-e8c859b03235"
], - "Content-Type": [
- "application/json"
]
}, - "body": "{\"id\": \"pay_mbabizu24mvu3mela5njyhpit4\", \"action_id\": \"act_mbabizu24mvu3mela5njyhpit4\", \"amount\": 6540, \"currency\": \"USD\", \"approved\": true, \"status\": \"Authorized\", \"auth_code\": \"770687\", \"response_code\": \"10000\", \"response_summary\": \"Approved\", \"_links\": {\"self\": {\"href\": \"https://{prefix}.api.sandbox.checkout.com/payments/pay_mbabizu24mvu3mela5njyhpit4\"}, \"action\": {\"href\": \"https://{prefix}.api.sandbox.checkout.com/payments/pay_mbabizu24mvu3mela5njyhpit4/actions\"}, \"void\": {\"href\": \"https://{prefix}.api.sandbox.checkout.com/payments/pay_mbabizu24mvu3mela5njyhpit4/voids\"}, \"capture\": {\"href\": \"https://{prefix}.api.sandbox.checkout.com/payments/pay_mbabizu24mvu3mela5njyhpit4/captures\"}}}"
}, - "created_on": "2024-01-02T15:04:05+00:00"
}Create a new secret with a plaintext value.
Validation Rules:
name: 1-64 characters, alphanumeric + underscorevalue: max 8KBentity_id (optional): when provided, secret is scoped to this entityResponse: Returns metadata.
Secret created successfully.
Unauthorized
Conflict - secret with this name already exists
Invalid data was sent
Internal Error
{- "name": "secret_name",
- "value": "plaintext",
- "entity_id": "ent_12345"
}{- "name": "secret_name",
- "created_at": "2025-10-14T00:00:00Z",
- "updated_at": "2025-10-14T00:00:00Z",
- "version": 1,
- "entity_id": "ent_123"
}Returns metadata for secrets scoped for client_id.
List of secrets
Unauthorized
Internal Error
{- "data": [
- {
- "name": "secret_name_1",
- "created_at": "2025-10-14T00:00:00Z",
- "updated_at": "2025-10-14T00:00:00Z",
- "version": 1,
- "entity_id": "ent_123"
}, - {
- "name": "secret_name_2",
- "created_at": "2025-10-14T01:00:00Z",
- "updated_at": "2025-10-14T01:00:00Z",
- "version": 2,
- "entity_id": "ent_456"
}, - {
- "name": "secret_name_3",
- "created_at": "2025-10-14T02:00:00Z",
- "updated_at": "2025-10-14T02:00:00Z",
- "version": 3,
- "entity_id": "ent_789"
}
]
}Update an existing secret. After updating, the version is automatically incremented.
Validation Rules:
value and entity_id can be updatedvalue: max 8KBResponse: Returns updated metadata with incremented version.
Secret updated successfully
Unauthorized
Secret not found
Invalid data was sent
Internal Error
{- "entity_id": "ent_1234",
- "value": "NEW_VALUE_1"
}{- "name": "secret_name_1",
- "created_at": "2025-10-14T00:00:00Z",
- "updated_at": "2025-10-14T12:00:00Z",
- "version": 2,
- "entity_id": "ent_123"
}