Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
    "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 or annual fees:",
                            "amount": 3,
                            "type": "admin",
                            "message": "(per month) Although your administrative or annual 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 or annual fees:",
                            "amount": 3,
                            "type": "admin",
                            "message": "(per month) Although your administrative or annual 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
breakoutModewide
languagejson
{
    "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": [
            {
                "description": "AdministrativeAnnual or annual fees:",
                "amount": 39.99,
                "type": "annual",
                "message": "Although your administrativeannual orfee annualis feecharged mayon bethe representedfirst asanniversary adate monthlyof oryour annualfirst amounttransaction, the fee is due inannually fullif ifyou thecarry accounta isbalance paidon offyour earlyaccount. See terms and conditions for full details."
            }
        ]
    },
    "promotional_purchase": [
        {
            "plan_id": 5,
            "terms": [
                {
                    "term": 6,
                    "term_amount": 41.67,
                    "apr": 0,
                    "fees": [
                        {
                            "description": "AdministrativeAnnual or annual fees:",
                            "amount": 39.99,
                            "type": "annual",
                            "message": "Although your administrativeannual orfee annualis feecharged mayon bethe representedfirst asanniversary adate monthlyof oryour annualfirst amounttransaction, the fee is due inannually fullif ifyou thecarry accounta isbalance paidon offyour earlyaccount. See terms and conditions for full details."
                        }
                    ]
                },
                {
                    "term": 12,
                    "term_amount": 20.83,
                    "apr": 0,
                    "fees": [
                        {
                            "description": "AdministrativeAnnual or annual fees:",
                            "amount": 39.99,
                            "type": "annual",
                            "message": "Although your administrativeannual orfee annualis feecharged mayon bethe representedfirst asanniversary adate monthlyof oryour annualfirst amounttransaction, the fee is due inannually fullif ifyou thecarry accounta isbalance paidon offyour earlyaccount. See terms and conditions for full details."
                        }
                    ]
                }
            ]
        },
        {
            "plan_id": 9,
            "terms": [
                {
                    "term": 6,
                    "term_amount": 250,
                    "apr": 0.35,
                    "fees": [
                        {
                            "description": "Administrative or annualAnnual fees:",
                            "amount": 39.99,
                            "type": "annual",
                            "message": "Although your administrative or annual fee is charged mayon bethe representedfirst asanniversary adate monthlyof oryour annualfirst amounttransaction, the fee is due inannually fullif ifyou thecarry accounta isbalance paidon offyour earlyaccount. See terms and conditions for full details."
                        }
                    ]
                },
                {
                    "term": 12,
                    "term_amount": 250,
                    "apr": 0.35,
                    "fees": [
                        {
                            "description": "AdministrativeAnnual or annual fees:",
                            "amount": 39.99,
                            "type": "annual",
                            "message": "Although your administrativeannual orfee annualis feecharged mayon bethe representedfirst asanniversary adate monthlyof oryour annualfirst amounttransaction, the fee is due inannually fullif ifyou thecarry accounta isbalance paidon offyour earlyaccount. See terms and conditions for full details."
                        }
                    ]
                }
            ]
        }
    ]
}