cURL
curl --request PUT \ --url https://api.example.com/customers/{customerId}/payment-mode \ --header 'Content-Type: application/json' \ --data ' { "paymentMode": "DIRECT_DEBIT" } '
200
Example
{}
the customer id
Optional: the whenAt datetime
the customer payment mode
DIRECT_DEBIT
BANK_TRANSFER
The response is of type object.
object
Was this page helpful?