- Using the
payment_intents/check_eligibilityendpoint to check eligibility before showing a user the accepted payment methods. - Including a
sender_accountobject when creating a Checkout Session or Payment Intent to check when a user selects Fintoc as a payment method.
sender_account object in your request. This object allows you to specify the sender’s account details, enabling our system to perform more accurate validations based on general transfer limits and previous transactions through Fintoc. This feature is only available in Chile.
Using the payment_intents/check_eligibility endpoint
If you want to check a payment’s eligibility before showing a user the accepted payment methods, you can use the following endpoint:
cURL
sender_account object contains two fields:
holder_id: The RUT (Rol Único Tributario) of the account holderinstitution_id: The ID of the bank institution
- If you only send the
institution_idand noholder_id, Fintoc will only validate bank-specific limits for maximum and minimum transfer amounts. - If you send both, Fintoc will perform all validations for the payment intent.
JSON
JSON
Including a sender_account object when creating a Checkout Session
When making a POST request to creating a Checkout Session, include the sender_account object in your JSON payload. Here’s an example:
sender_account object contains two fields:
holder_id: The RUT (Rol Único Tributario) of the account holderinstitution_id: The ID of the bank institution
- If you only send the
holder_idand noinstitution_id, Fintoc will use general limits for new contacts allowing more payments to go through without incorrectly canceling any. - If you only send the
institution_idand noholder_id, Fintoc will only validate bank-specific limits for maximum and minimum transfer amounts. - If you send both, Fintoc will perform all validations for the payment intent.
Validation Process
When you include thesender_account information, our system performs several checks to validate the payment intent:
- Institution-specific limits: We check if the payment amount is within the allowed limits for the specified institution.
- New contact limits: For first-time transfers or transfers within 24 hours of the first transfer, institutions apply stricter limits.
- Maximum transfer amounts: We ensure the payment doesn’t exceed the maximum allowed transfer amount for the specified bank.
Error Responses
If a validation fails, you’ll receive one of the following error responses:- New contact maximum amount limit error: Fintoc first checks if the
holder_idhas made a transfer. If not, it then checks if the amount exceeds the institution’s limit.
- New contact payment number limit error: Fintoc first checks if the
holder_idhas made their first transfer during the same day. If they have, it then checks if the institution allows for more than one transfer to a new contact.
- Minimum amount limit error: Fintoc checks if the amount is lower thant the minimum allowed by the institution.
- Maximum amount limit error: Fintoc checks if the amount is lower thant the minimum allowed by the institution.
Best Practices
- Always include the
sender_accountinformation when creating a Checkout Session to ensure the most accurate validations. - Handle error responses gracefully in your application, providing clear feedback to your users about why a payment couldn’t be processed.
- Make adjustments to your order so users are able to pay. These could be changing the payment amount if possible or setting up reminders for future payments.