UpdateCustomerRequest
Only the fields you send are changed. Omitted fields keep their current value.
The customer's email address.
john.doe@example.comThe customer's full name or business name.
John DoeThe customer's phone number in E.164 format.
+34666666666billingDetails object
Billing information associated with the payment method at the time of the transaction.
The customer's billing full name.
John DoeThe customer's billing email address.
john.doe@example.comThe customer's billing phone number in E.164 format.
nullBilling company name.
nullCompany tax ID.
nulladdress object
City, district, suburb, town, or village.
MálagaAddress line 1 (e.g., street, PO Box, or company name).
Fake Street 123Address line 2 (e.g., apartment, suite, unit, or building).
nullZIP or postal code.
1234State, county, province, or region.
MálagashippingDetails object
Shipping information associated with the payment.
The shipping customer's full name.
John DoeThe shipping customer's email address.
john.doe@example.comThe shipping customer's phone number in E.164 format.
nullName of the company where the shipment is going.
nullCompany tax ID.
nulladdress object
City, district, suburb, town, or village.
MálagaAddress line 1 (e.g., street, PO Box, or company name).
Fake Street 123Address line 2 (e.g., apartment, suite, unit, or building).
nullZIP or postal code.
1234State, county, province, or region.
MálagaA set of key-value pairs that you can attach to a resource. This can be useful for storing additional information about the resource in a structured format.
{"systemId":"12345"}The payment method charged when a payment sets useDefaultPaymentMethod.
MONEI fills this only while it is empty: the first reusable payment method the customer saves becomes the default, and a value you set here is kept. Deleting that payment method clears the field, so the next reusable one the customer saves becomes the new default. It must be the ID of a payment method this customer already owns, and one that can be reused for future payments.
7cc38b08ff471ccd313ad62b23b9f362b107560b{
"email": "john.doe@example.com",
"name": "John Doe",
"phone": "+34666666666",
"billingDetails": {
"name": "John Doe",
"email": "john.doe@example.com",
"phone": null,
"company": null,
"taxId": null,
"address": {
"country": "ES",
"city": "Málaga",
"line1": "Fake Street 123",
"line2": null,
"zip": "1234",
"state": "Málaga"
}
},
"shippingDetails": {
"name": "John Doe",
"email": "john.doe@example.com",
"phone": null,
"company": null,
"taxId": null,
"address": {
"country": "ES",
"city": "Málaga",
"line1": "Fake Street 123",
"line2": null,
"zip": "1234",
"state": "Málaga"
}
},
"metadata": {
"systemId": "12345"
},
"defaultTokenId": "7cc38b08ff471ccd313ad62b23b9f362b107560b"
}