...
Type | Parameter | Required | Details | ||||
---|---|---|---|---|---|---|---|
HEADER | authorization | Yes |
| ||||
HEADER | x-reference-id | Yes |
| ||||
PATH | client_id | Yes |
| ||||
BODY | BODY | customer_identification.account_type | Yes if flow is “apply” |
| customer_identification.account_number | Yes if flow is “purchase” and vcc_number and personal_information is empty |
|
BODY | customer_identification.vcc_number | Yes if flow is “purchase” and account_number and personal_information is empty |
| ||||
BODY | customer_identification.personal_information.first_name Yes if flow is “apply |
|
| ||||
BODY | customer_identification.personal_information.last_name Yes if flow is “apply |
|
| ||||
BODY | customer_identification.personal_information.dob |
|
| ||||
BODY | customer_identification.personal_information.postal_code Yes if flow is “apply |
|
| ||||
BODY | lang |
| |||||
BODY | tos_agreement | Yes if flow is “apply” |
| BODY | flow | Yes |
|
BODY | Yes if flow is “apply” |
| |||||
BODY | phone_number | Yes if flow is “apply” |
| ||||
BODY | address_1 | Yes if flow is “apply” |
| ||||
BODY | address_2 |
|
| ||||
BODY | city | Yes if flow is “apply” |
| ||||
BODY | province | Yes if flow is “apply” |
|
Example Requests:
Apply Flow
Code Block | ||
---|---|---|
| ||
{
"customer_identification": {
"account_type": "consumer",
"personal_information": {
"first_name": "John",
"last_name": "Smith",
"dob": "1988-07-24",
"postal_code": "m1m1m1"
}
},
"flow": "apply",
"email": "john@email.com",
"phone_number": 1231231234,
"address_1": "Fake 445",
"city": "Toronto",
"province": "ON",
"tos_agreement": true
} |
...
|
Example Request for Buy Flow:
Code Block | ||
---|---|---|
| ||
{ "customer_identification": { "account_number": 20009100, //conditional mandatory "vcc_number": "1070015210367982", //conditional mandatory "personal_information": { //conditional mandatory "first_name": "John", "last_name": "Smith", "dob": "1988-07-24", "postal_code": "m1m1m1" } }, "flow": "purchase" } |
...