Create a customer
Changed onThe purpose of creating a customer is so that everything can be linked back to a customer_id. All transactions, beneficiaries, cards etc. are associated to a customer. Creating a customer at the start of the process allows us to manage your customers for you.
Request
- Base URLhttps://test-api.acquired.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Unique ID assigned by Acquired.com for your company.
Request body
Example request
{
"reference": "customer_number_00001",
"first_name": "Edward",
"last_name": "Johnson",
"dob": "1988-10-03",
"custom_data": "L3BheW1lbnQtbGlua3MgcGF5IGN1c3RvbV9kYXRh",
"billing": {
"address": {
"line_1": "152 Aldgate Drive",
"city": "London",
"postcode": "E1 7RT",
"country_code": "GB"
},
"email": "ejohnson@acquired.com",
"phone": {
"country_code": "44",
"number": "2039826580"
}
},
"shipping": {
"first_name": "Edward",
"last_name": "Johnson",
"address": {
"line_1": "152 Aldgate Drive",
"city": "London",
"postcode": "E1 7RT",
"country_code": "GB"
},
"email": "ejohnson@acquired.com",
"phone": {
"country_code": "44",
"number": "2039826580"
}
}
}Response
Created
Changes
- warning
the
/request property's maxLength was set to254 - warning
the
/request property's maxLength was set to254 - warning
changed the pattern of the request property
/from\w+([-+.]\w*)*@to^\w+([-+.]\w*)*@\w+([-+.]\w+)*\.\w+([-+.]\w+)*$ - warning
changed the pattern of the request property
/from\w+([-+.]\w*)*@to^\w+([-+.]\w*)*@\w+([-+.]\w+)*\.\w+([-+.]\w+)*$ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the optional property
to the response with the status
- warning