Modify prepaid card usage conditions
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/prepaid-condition
bodyobjectPrepaid condition modification including card identification and new usage restriction settings
200Successfully updated prepaid card conditions and returns updated card details with new usage restrictions
400Invalid condition modification request, unsupported restriction type, or malformed request body
401Authentication required or invalid API key provided
403Insufficient permissions to modify prepaid card conditions
404Prepaid card not found or no longer active
409Cannot modify conditions on expired card or conflicting usage rules
500Internal server error occurred while updating prepaid card conditions
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/prepaid-condition \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"customerId": "",
"prepaidUri": "",
"prepaidCondition": {
"type": "DimensionValueMapPrepaidCondition"
}
}'