API Reference
Log In
API Reference

Bancontact is an important payment method for Belgian customers.

Customer buying experience

For Bancontact, roughly two options exist when it comes to shaping the customer buying experience:

  1. Let the customer do the payment method selection in your checkout;
  2. Let Rootline take payment method selection through the Rootline Checkout page.

Example of a flow where you host the checkout

If you want to host the checkout on your side, simply use the Payment API to submit the payment information, including the payment method.

{
    "account_id": "{{account_id}}",
    "amount": {
        "currency": "EUR",
        "quantity": "2.00"
    },
    "reference": "13r3829r3-32fu23fg8f32",
    "payment_rails":{        
        "payment_method":"bancontact"
    },
    "description": "Rootline",
    "statement_descriptor": "Your payment with Rootline",
    "return_url": "https://www.rootline.com/"
}

Example of a request when you leverage the Rootline checkout

Simply omit the payment_method field when you want Rootline to take the payment selection through the checkout pages.

{
    "account_id": "{{account_id}}",
    "amount": {
        "currency": "EUR",
        "quantity": "2.00"
    },
    "reference": "13r3829r3-32fu23fg8f32",
    "description": "Rootline",
    "statement_descriptor": "Your payment with Rootline",
    "return_url": "https://www.rootline.com/"
}