Prefill KYC Data

You can pre populate data for a consumer by calling the create consumer api and providing the following fields:

1{
2 "pcid": "{pcid}", --> required
3 "first_name": "Aaron",
4 "last_name": "Gregory",
5 "email": "agregory@email.com", --> required
6 "phone_number": "14250986521",
7 "date_of_birth": "1986-08-11", --> YYYY-MM-DD
8 "address_line1": "402 67th St.",
9 "address_line2": "Apt 123"
10 "address_city": "Seattle",
11  "address_state": "WA",
12 "address_zip": "90054"
13}

If you are pre-filling you will need to use the auth token with api:write | ui:client-onboarding scope to correctly send the details.

Pre-filled KYC

Edge Cases / Unhappy path:

  1. If a user does not complete KYC, then you will only receive the consumer.created webhook
  2. If a user fails KYC, then we will send a consumer.kyc.failed webhook. kyc_status under the consumer get api will also be set to failed. We will not open a credit line for any users who do not pass KYC.