POST /v1/user/{user_api_key_id}/user-onboarding{"type":"PARTNER_USER"}
Response:
{"Response":[{"Id":{"id":260}}]}
Now the provisioned user has an Onboarding model which can be updated to be completed.
Step 2: Update Onboarding model
The response to this endpoint gives you all the information you have to provide to have a verified and active user. All the fulfillments should be completed before the user is fully verified and can create Monetary Accounts, Cards, Payments etc.
Endpoint:
The user_api_key_id is obtained from the ID of the UserApiKey object when creating a session on behalf of the user.
Request body:
Response:
The Response body below is an example. For the user_verification_status_desired that was used in the POST call, the system will respond with the fulfillments that are required to be completed before the user is fully verified.
{
"Error": [
{
"error_description": "You need to provide additional information in order to perform this action.",
"error_description_translated": "You need to provide additional information in order to perform this action.",
"error_additional_parameter": [
{
"AdditionalFulfillmentParameter": {
"all_fulfillment": [
{
"type": "ADDRESS_MAIN",
"reason": "",
"reason_translated": "",
"user_id": 877,
"status": null,
"time_mandatory": null,
"all_status_allowed": [
"FULFILLED"
],
"id": null,
"created_timestamp": null,
"updated_timestamp": null
},
{
"type": "DATE_OF_BIRTH",
"reason": "Let's make this account truly yours.",
"reason_translated": "Let's make this account truly yours.",
"user_id": 877,
"status": null,
"time_mandatory": null,
"all_status_allowed": [
"FULFILLED"
],
"id": null,
"created_timestamp": null,
"updated_timestamp": null
},
{
"type": "EMAIL",
"reason": "Get notified instantly on important matters.",
"reason_translated": "Get notified instantly on important matters.",
"user_id": 877,
"status": null,
"time_mandatory": null,
"all_status_allowed": [
"FULFILLED",
"IN_PROGRESS"
],
"id": null,
"created_timestamp": null,
"updated_timestamp": null
},
{
"type": "ADDRESS_MAIN",
"reason": "",
"reason_translated": "",
"user_id": 877,
"status": null,
"time_mandatory": null,
"all_status_allowed": [
"FULFILLED"
],
"id": null,
"created_timestamp": null,
"updated_timestamp": null
},
{
"type": "ADDRESS_POSTAL",
"reason": "So we know where to send your card.",
"reason_translated": "So we know where to send your card.",
"user_id": 877,
"status": null,
"time_mandatory": null,
"all_status_allowed": [
"FULFILLED"
],
"id": null,
"created_timestamp": null,
"updated_timestamp": null
},
{
"type": "IDENTIFICATION_VERIFICATION",
"reason": "It takes just a few seconds to take a picture and complete your account.",
"reason_translated": "It takes just a few seconds to take a picture and complete your account.",
"user_id": 877,
"status": null,
"time_mandatory": null,
"all_status_allowed": [
"FULFILLED",
"IN_PROGRESS"
],
"id": null,
"created_timestamp": null,
"updated_timestamp": null
}
],
"all_fulfillment_fulfilled": [
{
"type": "PHONE_NUMBER",
"reason": "Secure your account with a phone number. You’ll use this to login.",
"reason_translated": "Secure your account with a phone number. You’ll use this to login.",
"user_id": 877,
"status": "FULFILLED",
"time_mandatory": null,
"all_status_allowed": [
"FULFILLED"
],
"id": 3573,
"created_timestamp": null,
"updated_timestamp": null
}
]
}
}
]
}
]
}