Cancel customer payment method switches
1 min
DELETE
https://app.amberflo.io/customers/payment-method/switch
customerIdstringUnique identifier of the customer whose payment method switches should be canceled.
switchTimeInSecondsinteger<int64><p>Unix timestamp (in seconds) specifying the cutoff time for switch cancellation.
All switches scheduled at or after this time will be canceled.</p>
200Successfully canceled payment method switches and returns array of affected switch records
400Invalid customer ID format, invalid timestamp, or malformed request parameters
401Authentication required or invalid API key provided
403Insufficient permissions to modify customer payment method switches
404Customer not found or no payment method switches scheduled for cancellation
500Internal server error occurred while canceling payment method switches
curl --request DELETE \
--url 'https://app.amberflo.io/customers/payment-method/switch?customerId=customer_123&switchTimeInSeconds=1703980800' \
--header 'accept: application/json'