Create Consumer
POST {{baseUrl}}/decisioning/v1/customers/{{customerId}}/consumer
Create a consumer record associated with the given customer. A consumer persists as the owner of any reports that are generated, even after the original customer is deleted from the system.
A consumer must be created for the given customer before calling any of the Generate Report
services.
Supported regions:
Request Body
{"firstName"=>"John", "lastName"=>"Smith", "address"=>"100 Arthur Street", "city"=>"Sydney", "state"=>"NSW", "phone"=>"1234567890", "birthday"=>{"year"=>1989, "month"=>8, "dayOfMonth"=>13}, "email"=>"someone@test.com", "suffix"=>"Mr"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string | ||
App-Key | string | ||
Finicity-App-Token | string |
RESPONSES
status: Created
{"id":"0bf46322c167b562e6cbed9d40e19a4c","createdDate":1607450357,"customerId":1005061234}