Skip to main content
PUT
/
customers
/
{customerId}
/
payment-mode
Update customer payment mode
curl --request PUT \
  --url https://api.example.com/customers/{customerId}/payment-mode \
  --header 'Content-Type: application/json' \
  --data '
{
  "paymentMode": "DIRECT_DEBIT"
}
'
{}

Path Parameters

customerId
string
required

the customer id

Query Parameters

whenAt
string

Optional: the whenAt datetime

Body

application/json
paymentMode
enum<string>
required

the customer payment mode

Available options:
DIRECT_DEBIT,
BANK_TRANSFER

Response

The response is of type object.