This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI-API: Inquiry Regarding Monthly Credit Limit and Order Procedures via API

Part Number: TI-API

We have a credit limit of $5000 per month.

- What happens if we place an order via API, an order which is totaling over $5000 within that month?

- Will the order placement proceed?

- If the order will be cancelled, does the API return any error message? (What does the API return?)

  • Hi tomonarifujii,

    Are you speaking of an Apruve line of credit and the TI store order API?

    Best regards,
    Paul

  • No, I mean TI line of credit.

    As for the API, yes, I mean the TI store order API is what I'm referring to.

    If there is any other API that behaves differently when you have insufficient credit, it would be appreciated if you could tell me which API.

    Tomonari

  • Hi tomonarifujii,

    If the order total exceeds the available credit limit, the order should be rejected with a message to check your credit account information. Have you experienced something differently?

    Best regards,
    Paul

  • Thank you for the information.

    No I haven't experienced any because we are just testing our system on the testing environment only, which I assume cannot influenced by credit limit.

  • Correct, for test orders the only check is that the payment method is properly setup, but not any checks on the account itself.

    Best regards,
    Paul

  • Hi ,

    Thank you for your previous response regarding the behavior of the TI store order API when the order total exceeds the available credit limit. You mentioned that the order "should be" rejected with a message to check the credit account information.

    To ensure clarity and avoid any potential misunderstandings, could you please confirm the following:

    1. Is it guaranteed that the order will be rejected if it exceeds the available credit limit?
    2. Is the message "check your credit account information" the exact error message returned by the API ? If it's a general description, could you provide the exact error message or code that the API returns in this scenario?

    Your confirmation on these points will be greatly appreciated as we aim to integrate this behavior accurately into our system.

    Thank you in advance for your assistance.

    Best regards,
    Tomonari

  • Hi tomonarifujii,

    I tested to verify that the following error is returned when an order total exceeds the available credit for a checkout profile that is linked to an Apruve line of credit (as your completed checkout profile is):

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    "errors": [
    {
    "errorCode": "ERR-TICOM-ORDER-API-0009",
    "type": "Validation",
    "section": "Generic",
    "field": null,
    "reason": "Invalid Apruve payment Id",
    "message": "Check your Apruve Account information in checkout profile and resubmit your request. For additional information refer to https://api-portal.ti.com/order-api-payment",
    "data": null
    }
    ]
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Best regards,
    Paul

  • Hi

    Thank you for sharing the result of your test!

    Just to ensure clarity,

    Does it return the same kind of response when using TI line of credit?

  • Hi tomonarifujii,

    For the same scenario with a TI line of credit, you would receive the following error response:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    "errors": [
    {
    "errorCode": "ERR-TICOM-ORDER-API-0009",
    "type": "Validation",
    "section": "Generic",
    "field": null,
    "reason": "Insufficient Credit Limit",
    "message": "Your cart total exceeds your available credit. Edit cart to bring it below the available credit or choose another payment option.",
    "data": null
    }
    ]
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Best regards,
    Paul

**Attention** This is a public forum