Customer Details Object

"customer_details": {
  "first_name": "TEST",
  "last_name": "UTOMO",
  "email": "[email protected]",
  "phone": "+628123456",
  "billing_address": {
    "first_name": "TEST",
    "last_name": "UTOMO",
    "phone": "081 2233 44-55",
    "address": "Sudirman",
    "city": "Jakarta",
    "postal_code": "12190",
    "country_code": "IDN"
  },
  "shipping_address": {
    "first_name": "TEST",
    "last_name": "UTOMO",
    "phone": "0 8128-75 7-9338",
    "address": "Sudirman",
    "city": "Jakarta",
    "postal_code": "12190",
    "country_code": "IDN"
  }
}
JSON AttributeDescriptionTypeRequired
first_nameCustomer's first name.String(255)Optional
last_nameCustomer's last name.String(255)Optional
emailCustomer's email address.String(255)Optional
phoneCustomer's phone number.String(255)Optional
billing_addressCustomer's billing address.JSON ArrayOptional
shipping_addressCustomer's shipping address.JSON ArrayOptional

📘

Note

For BCA VA, limit the customer names (first_name and last_name), to only 30 characters.



Billing Address Object

JSON AttributeDescriptionTypeRequired
first_nameCustomer's first name.String(255)Optional
last_nameCustomer's last name.String(255)Optional
phoneCustomer's phone number.String(255)Optional
addressCustomer's billing address.String(255)Optional
cityCity of the billing address.String(255)Optional
postal_codePostal code of the billing address.
Note: Allowed characters are alphabets, numbers, dash (-), and space ( ).
String(255)Optional
country_codeCountry ID of the billing address. Value: IDN. ISO 3166-1 alpha-3.
Note: Currently only IDN is supported. 
String(3)Optional


Shipping Address Object

JSON AttributeDescriptionTypeRequired
first_nameCustomer's shipping first name.String(255)Optional
last_nameCustomer's shipping last name.String(255)Optional
phoneCustomer's shipping phone number.String(255)Optional
addressCustomer's shipping address.String(255)Optional
cityCity of the shipping address.String(255)Optional
postal_codePostal code of the shipping address.
Note: Allowed characters are alphabets, numbers, dash (-), and space ( ).
String(255)Optional
country_codeCountry ID of the shipping address. Value: IDN. ISO 3166-1 alpha-3
Note: Currently only IDN is supported.
String(3)Optional