Split prepaid card into multiple cards
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/split
bodyobjectSplit configuration specifying division amounts and allocation rules
200Split completed successfully with details of all newly created prepaid cards
400Invalid split amounts or insufficient prepaid card balance
401Authentication required or invalid API key provided
404Original prepaid card not found or already consumed
500Internal server error occurred during card split operation
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/split \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"id": "",
"customerId": "",
"sourcePrepaidUri": "",
"customerPrepaidList": {
"installments": {
"prepaidInstallments": [
{
"amountPrice": "",
"scheduledPurchaseTimeInSeconds": 0
}
]
},
"type": "customer_prepaid_by_price"
}
}'