Create Customer
POST {{baseUrl}}/customer
Request Body
[{"name"=>"email", "value"=>"Ut irure laborum", "datatype"=>"string"}, {"name"=>"first_name", "value"=>"Some", "datatype"=>"string"}, {"name"=>"last_name", "value"=>"Body", "datatype"=>"string"}, {"name"=>"phone", "value"=>"+2348123456789", "datatype"=>"string"}, {"name"=>"metadata", "value"=>"qui Ut nisi", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":true,"message":"Customer created","data":{"transactions":[],"subscriptions":[],"authorizations":[],"email":"somebody@example.com","first_name":"Some","last_name":"Body","phone":"+2348123456789","integration":463433,"domain":"test","metadata":{},"customer_code":"CUS_pztcpsx5kng2fbk","risk_action":"default","id":95485991,"createdAt":"2022-09-20T12:52:10.583Z","updatedAt":"2022-09-20T12:52:10.583Z","identified":false,"identifications":[]}}