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
Request Body
{"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"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |