"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 Attribute | Description | Type | Required |
---|---|---|---|
first_name | Customer's first name. | String(255) | Optional |
last_name | Customer's last name. | String(255) | Optional |
Customer's email address. | String(255) | Optional | |
phone | Customer's phone number. | String(255) | Optional |
billing_address | Customer's billing address. | JSON Array | Optional |
shipping_address | Customer's shipping address. | JSON Array | Optional |
Note
For BCA VA, limit the customer names (first_name and last_name), to only 30 characters.
Billing Address Object
JSON Attribute | Description | Type | Required |
---|---|---|---|
first_name | Customer's first name. | String(255) | Optional |
last_name | Customer's last name. | String(255) | Optional |
phone | Customer's phone number. | String(255) | Optional |
address | Customer's billing address. | String(255) | Optional |
city | City of the billing address. | String(255) | Optional |
postal_code | Postal code of the billing address. Note: Allowed characters are alphabets, numbers, dash ( - ), and space ( ). | String(255) | Optional |
country_code | Country 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 Attribute | Description | Type | Required |
---|---|---|---|
first_name | Customer's shipping first name. | String(255) | Optional |
last_name | Customer's shipping last name. | String(255) | Optional |
phone | Customer's shipping phone number. | String(255) | Optional |
address | Customer's shipping address. | String(255) | Optional |
city | City of the shipping address. | String(255) | Optional |
postal_code | Postal code of the shipping address. Note: Allowed characters are alphabets, numbers, dash ( - ), and space ( ). | String(255) | Optional |
country_code | Country ID of the shipping address. Value: IDN. ISO 3166-1 alpha-3 Note: Currently only IDN is supported. | String(3) | Optional |