These are all of the Endpoints required to identify or interact with Customers.
...
Code Block | ||
---|---|---|
| ||
{ "format": "security_question", "security_qid": "6", "security_answer": "Rainbow"sms", "request_id": "12345678901234567890" } |
...
Code Block | ||
---|---|---|
| ||
https://{posapi_url}/flexiti/pos-api/v2.5.1/client-id/{client_id}/accounts/12345/calculate-interest |
NOTE: the /calculate-interest endpoint has been updated to version 2.5.1, reflected in the URI.
...
Type | Parameter | Details |
---|---|---|
BODY | account_number |
|
BODY | account_type |
|
BODY | amount |
|
BODY | customer.available_credit |
|
BODY | customer.air |
|
BODY | customer.first_name |
|
BODY | customer.last_name |
|
BODY | customer.category_type |
|
BODY | regular_purchase.term_amount |
|
BODY | regular_purchase.air |
|
BODY | regular_purchase.verify |
|
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.plan_name |
|
BODY | promotional_purchase.terms.term |
|
BODY | promotional_purchase.terms.term_amount |
|
BODY | promotional_purchase.terms.annual_rates.description |
|
BODY | promotional_purchase.terms.annual_rates.rate |
|
BODY | promotional_purchase.terms.annual_rates.type |
|
BODY | promotional_purchase.terms.annual_rates.message |
|
BODY | promotional_purchase.terms.fees.description |
|
BODY | promotional_purchase.terms.fees.amount |
|
BODY | promotional_purchase.terms.fees.type |
|
BODY | promotional_purchase.terms.fees.message |
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "account_number": 116994755, "account_type": "consumer", "amount": 10.5, "customer": { "air": 0.3099, "available_credit": 14000, "first_name": "Flexiti", "last_name": "MITester", "category_type": "preferred" }, "regular_purchase": { "term_amount": 10.5, "air": 0.3099, "fees": [], "verify": true }, "promotional_purchase": [ { "plan_id": 4, "plan_name": "EMP - Regular Interest" "terms": [ { "term": 3, "term_amount": 3.56, "fees": [], "annual_rates": { "description": "Annual Promotional Interest Rate:", "rate": 0.0999, "type": "APR", "message": "Promotional annual interest rate applies during the promotional period and is included in your estimated monthly payments. Account annual interest rate is charged if the promo is cancelled or expires without full payment and applies when promos are not in effect." } }, { "term": 6, "term_amount": 10.38, "fees": [ { "description": "Administrative fees:", "amount": 50, "type": "admin_total", "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." } ], "annual_rates": { "description": "Annual Promotional Interest Rate:", "rate": 0.0999, "type": "APR", "message": "Promotional annual interest rate applies during the promotional period and is included in your estimated monthly payments. Account annual interest rate is charged if the promo is cancelled or expires without full payment and applies when promos are not in effect." } }, { "term": 12, "term_amount": 5.32, "fees": [ { "description": "Administrative fees:", "amount": 49.99, "type": "admin_total", "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." } ], "annual_rates": { "description": "Annual Promotional Interest Rate:", "rate": 0.0999, "type": "APR", "message": "Promotional annual interest rate applies during the promotional period and is included in your estimated monthly payments. Account annual interest rate is charged if the promo is cancelled or expires without full payment and applies when promos are not in effect." } } ] }, { "plan_id": 6, "terms": [ { "term": 3, "term_amount": 10.5, "fees": [], "annual_rates": { "description": "Annual Interest Rate:", "rate": 0.3099, "type": "AIR", "message": "Interest at the annual interest rate accrues (on applicable plans) during the promo period and will be charged if the balance is not paid in full by the promo expiry date or if the promo is cancelled due to payment default on the account." } }, { "term": 6, "term_amount": 70.49, "fees": [ { "description": "Administrative fees:", "amount": 59.99, "type": "admin_total", "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." } ], "annual_rates": { "description": "Annual Interest Rate:", "rate": 0.3099, "type": "AIR", "message": "Interest at the annual interest rate accrues (on applicable plans) during the promo period and will be charged if the balance is not paid in full by the promo expiry date or if the promo is cancelled due to payment default on the account." } } ] } ] } |
Success Response - Quebec Customer
]
} |
Success Response - Quebec Customer
Code Block | ||||
---|---|---|---|---|
| ||||
{
"account_number": 116994859,
"account_type": "consumer",
"amount": 10.5,
"customer": {
"air": 0.3099,
"available_credit": 13500,
"first_name": "Flexiti",
"last_name": "MITester",
"category_type": "preferred"
},
"regular_purchase": {
"term_amount": 10.5,
"air": 0.3099,
"fees": [],
"verify": true
},
"promotional_purchase": [
{
"plan_id": 4,
"plan_name": "EMP - Regular Interest"
"terms": [
{
"term": 3,
"term_amount": 3.56,
"fees": [],
"annual_rates": {
"description": "Annual Promotional Interest Rate:",
"rate": 0.0999,
"type": "APR",
"message": "Promotional annual interest rate applies during the promotional period and is included in your estimated monthly payments. Account annual interest rate is charged if the promo is cancelled or expires without full payment and applies when promos are not in effect."
}
},
{
"term": 6,
"term_amount": 1.8,
"fees": [],
"annual_rates": {
"description": "Annual Promotional Interest Rate:",
"rate": 0.0999,
"type": "APR",
"message": "Promotional annual interest rate applies during the promotional period and is included in your estimated monthly payments. Account annual interest rate is charged if the promo is cancelled or expires without full payment and applies when promos are not in effect."
}
}
]
}
]
} |