Versions Compared

Key

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

...

GET /client-id/{client_id}/customers/search

Code Block
https://posapi-training.flexiti.fi{posapi_url}/flexiti/pos-api/v2.5/client-id/flexitidemo/customers/search?first_name=John&last_name=Smith&dob=1900-01-01

...

Code Block
languagejson
[
    {
        "customer_id": "829825123321",
        "account_status": "N",
        "account_status_reason_code": "NNOR",
        "tos_agreement"": true,
        "risk_rating": "H",
        "account_number": 116574819123456789,
        "credit_limit": "1000.00",
        "available_credit": "659.51",
        "originating_merchant_id": "1150312345",
        "originating_merchant_name": "ParisACME Jewellers",
        "creation_date": "2019-05-15",
        "first_name": "David",
        "last_name": "MorleySmith",
        "card_ending_in": "5941",
        "preferred_language": "fr-CA"
    },
    {
        "customer_id": "829875123412",
        "account_status": "F",
        "account_status_reason_code": "FLCK",
        "tos": true,
        "risk_rating": "Y",
        "account_number": 116574860234567890,
        "credit_limit": "1000.00",
        "available_credit": "847.00",
        "originating_merchant_id": "1150323456",
        "originating_merchant_name": "ParisACME Jewellers",
        "creation_date": "2019-05-15",
        "first_name": "David",
        "last_name": "MorleySmith",
        "card_ending_in": "6457",
        "preferred_language": "en-CA"
    }
]

...

GET /client-id/{client_id}/customers/lookup

Code Block
https://posapi-training.flexiti.fi{posapi_url}/flexiti/pos-api/v2.5/client-id/flexitidemo/customers/lookup?vcc_number=1234123412341234

or

Code Block
https://posapi-training.flexiti.fi{posapi_url}/flexiti/pos-api/v2.5/client-id/flexitidemo/customers/lookup?account_number=123456789

or

Code Block
https://posapi-training.flexiti.fi{posapi_url}/flexiti/pos-api/v2.5/client-id/flexitidemo/customers/lookup?customer_id=123456789

...

Code Block
breakoutModewide
https://posapi-training.flexiti.fi{posapi_url}/flexiti/pos-api/v2.5/client-id/flexitidemo/account/12345678/verify

...

POST /client-id/{client_id}/customers/driverslicense

Code Block
https://posapi-training.flexiti.fi{posapi_url}/flexiti/pos-api/v2.5/client-id/flexitidemo/customers/driverslicense

...

Code Block
languagejson
{
    "first_name": "John",
    "middle_name": "Grey",
    "last_name": "Doe",
    "dob": "1974-05-15",
    "address_1": "55 UNIVERSITY AVE",
    "city": "TORONTO",
    "province": "ON",
    "postal_code": "M5J 2H7",
    "govid_type": "CADL",
    "govid_issuedby": "ON",
    "govid_number": "D61014070660905",
    "govid_expiry": "20202021-05-15"
}

POST /client-id/{client_id}/accounts/{account_number}/close

Code Block
https://posapi-training.flexiti.fi{posapi_url}/flexiti/pos-api/v2.5/client-id/flexitidemo/accounts/12345/close

...

POST /client-id/{client_id}/accounts/{account_number}/calculate-interest

Code Block
https://posapi-training.flexiti.fi{posapi_url}/flexiti/pos-api/v2.5/client-id/flexitidemo/accounts/12345/calculate-interest

...

Code Block
languagejson
{
    "account_number": 11223344,
    "amount": 250,
    "customer": {
        "air": 0.289,
        "available_credit": 8000,
        "first_name": "John",
        "last_name": "HammondSmith",
        "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."
                        }
                    ]
                }
            ]
        }
    ]
}

...

Code Block
breakoutModewide
languagejson
{
    "account_number": 11223344,
    "amount": 250,
    "customer": {
        "air": 0.3124,
        "available_credit": 1700,
        "first_name": "Jacques",
        "last_name": "HugoSmith",
        "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": []
                }
            ]
        }
    ]
}