curl --request POST \
--url https://sandbox.cashfree.com/pg/easy-split/static-split \
--header 'Content-Type: application/json' \
--header 'x-api-version: <x-api-version>' \
--header 'x-client-id: <api-key>' \
--header 'x-client-secret: <api-key>' \
--data '
{
"active": true,
"terminal_id": 0,
"product_type": "PG",
"scheme": [
{
"merchant_vendor_id": "EsTest1Success",
"percentage": 10
}
]
}
'{
"product_type": "PG",
"terminal_id": 0,
"terminal_reference_id": null,
"active": true,
"scheme": [
{
"merchant_vendor_id": "EsTest1Success",
"percentage": 10
}
],
"added_on": "2023-06-08 15:45:46"
}Configuration
Create Static Split Configuration
This API will create a static split scheme wherein you can define the split type and the vendor-wise split percentage.
POST
/
easy-split
/
static-split
curl --request POST \
--url https://sandbox.cashfree.com/pg/easy-split/static-split \
--header 'Content-Type: application/json' \
--header 'x-api-version: <x-api-version>' \
--header 'x-client-id: <api-key>' \
--header 'x-client-secret: <api-key>' \
--data '
{
"active": true,
"terminal_id": 0,
"product_type": "PG",
"scheme": [
{
"merchant_vendor_id": "EsTest1Success",
"percentage": 10
}
]
}
'{
"product_type": "PG",
"terminal_id": 0,
"terminal_reference_id": null,
"active": true,
"scheme": [
{
"merchant_vendor_id": "EsTest1Success",
"percentage": 10
}
],
"added_on": "2023-06-08 15:45:46"
}Authorizations
XClientID & XClientSecretXClientID & XPartnerAPIKeyXClientID & XClientSignatureHeaderXPartnerMerchantID & XPartnerAPIKey
Client app ID. You can find your app id in the Merchant Dashboard.
Client secret key. You can find your secret key in the Merchant Dashboard.
Headers
Body
application/json
Request body to create a static split configuration.
Was this page helpful?