Logo
Acquired.com API API Documentation

Create a customer

POST {{url}}customers

The purpose of creating a customer is so that everything can be linked back to a customer_id. All transactions, payees, cards etc. are associated to a customer.

Creating a customer at the start of the process allows us to manage your customers for you.

https://docs.acquired.com/reference/create-customer

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'https://test-api.acquired.com/v1/customers' -H 'Content-Type: application/json' -d '{"reference":"$guid","first_name":"Edward","last_name":"Johnson","dob":"1988-10-03","ip":"127.0.0.1","custom_data":"L3BheW1lbnQtbGlua3MgcGF5IGN1c3RvbV9kYXRh","billing":{"address":{"line_1":"152 Aldgate Drive","line_2":"","city":"London","state":"","postcode":"E1 7RT","country_code":"GB"},"email":"ejohnson@acquired.com","phone":{"country_code":"44","number":"2039826580"}},"shipping":{"address_match":false,"address":{"line_1":"152 Aldgate Drive","line_2":"","city":"London","state":"","postcode":"E1 7RT","country_code":"GB"},"email":"ejohnson@acquired.com","phone":{"country_code":"44","number":"2039826580"}}}'

ENDPOINTS