Create customer prepaid order by price
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid
bodyobjectPrepaid order configuration including customer details, price amount, recurrence settings, and payment terms
200Successfully created prepaid order and returns detailed credit information with payment status
400Invalid prepaid order configuration, unsupported price amount, or malformed request body
401Authentication required or invalid API key provided
403Insufficient permissions to create customer prepaid orders
404Customer not found or prepaid service not configured for account
409Conflicting prepaid order or payment method configuration issues
500Internal server error occurred while creating prepaid order
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"installments": {
"prepaidInstallments": [
{
"amountPrice": "",
"scheduledPurchaseTimeInSeconds": 0
}
]
},
"type": "customer_prepaid_by_price"
}'