...
Type | Parameter | Required | Details |
---|---|---|---|
BODY | account_number |
| |
BODY | amount |
| |
BODY | customer.available_credit |
| |
BODY | customer.air |
| |
BODY | customer.first_name |
| |
BODY | customer.last_name |
| |
BODY | customer.customer_category_type |
| |
BODY | regular_purchase.term_amount |
| |
BODY | regular_purchase.air |
| |
BODY | regular_purchase.fees.description |
| |
BODY | regular_purchase.fees.amount |
| |
BODY | regular_purchase.fees.type |
| |
BODY | regular_purchase.fees.message |
| |
BODY | promotional_purchase.plan_id |
| |
BODY | promotional_purchase.terms.term |
| |
BODY | promotional_purchase.terms.term_amount |
| |
BODY | promotional_purchase.terms.apr |
| |
BODY | promotional_purchase.terms.fees.description |
| |
BODY | promotional_purchase.terms.fees.amount |
| |
BODY | promotional_purchase.terms.fees.type |
| |
BODY | promotional_purchase.terms.fees.message |
|
Success Response - ROC Customer:
Code Block | ||
---|---|---|
| ||
{
"account_number": 11223344,
"amount": 250,
"customer": {
"air": 0.289,
"available_credit": 8000,
"first_name": "John",
"last_name": "Hammond",
"category_type": "preferred"
},
"regular_purchase": {
"term_amount": 250,
"air": 0.289,
"fees": []
},
"promotional_purchase": [
{
"plan_id": 5,
"terms": [
{
"term": 6,
"term_amount": 44.67,
"apr": 0,
"fees": [
{
"description": "Administrative fees:",
"amount": 3,
"type": "admin",
"message": "Although your administrative fee may be represented as a monthly or annual amount, the fee is due in full if the account is paid off early. See terms and conditions for full details."
}
]
},
{
"term": 12,
"term_amount": 23.83,
"apr": 0,
"fees": [
{
"description": "Administrative fees:",
"amount": 3,
"type": "admin",
"message": "Although your administrative fee may be represented as a monthly or annual amount, the fee is due in full if the account is paid off early. See terms and conditions for full details."
}
]
}
]
}
]
} |
Success Response - Quebec Customer
Code Block | ||||
---|---|---|---|---|
| ||||
{ "account_number": 11223344, "amount": 250, "customer": { "air": 0.3124, "available_credit": 1700, "first_name": "Jacques", "last_name": "Hugo", "category_type": "premium" }, "regular_purchase": { "term_amount": 250, "air": 0.3124, "fees": [] }, "promotional_purchase": [ |
...
{ " |
...
plan_id": |
...
5, "terms": [ |
...
{ |
...
|
...
" |
...
term": |
...
6, |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
"term_amount": 41.67, "apr": 0, |
...
|
...
|
...
|
...
" |
...
fees": [] |
...
|
...
}, { "term": |
...
12, "term_amount": |
...
20. |
...
83, "apr": 0, "fees": [] } |
...
] }, { |
...
|
...
|
...
"plan_id": 9, "terms": [ |
...
|
...
{ " |
...
term": |
...
6, "term_amount": 250, |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
"apr": 0.35, |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
"fees" |
...
: [] }, { "term": 12, "term_amount": |
...
250, "apr": 0.35, "fees": [ |
...
]
}
]
}
]
} |