Alternative payment methods
To make payments through alternative payment method, the Create request is used. The response to the request contains data necessary for making the payment.
Example of response data:
{
"orders":[
{
"id":"85341004036767914",
"...""alternative_payments":[
{
"image":"https://checkout_domain.example/img/button_image.svg",
"url":"https://checkout_domain.example/open_banking/create_payment/85629878248914133",
"provider":"Terminal for Open Banking"
}
]"..."
}
]
}
If necessary, the merchant configures the display of the payment button and the field for entering the one-time password on their website.
Example HTML code for displaying the button:
<form method="POST" action="https://checkout_domain.example/open_banking/create_payment/85629878248914133">
<input name="order_id" type="hidden" value="85341004036767914">
<button type="submit">
<img src="https://checkout_domain.example/img/button_image.svg" />
</button>
</form>
Notes
Enabling the ability to make payments via Open Banking (APM) is done by customization in the project.
EPS
For alternative payment method "EPS" it is necessary the parameter country set to "AT" (Austria) and currency set to "EUR".
BLIK
For alternative payment method "Blik" it is necessary the parameter country set to "PL" and currency set to "PLN". The one-time password (OTP) must be passed to the Create request in the custom_fields block in the auth_code field. In order to test your integration in sandbox, in the auth_code field use a 6-digit authorisation code starting with 777.
BRITE
For alternative payment method "Brite" the following countries and local currencies are acceptable: Belgium (BE) - EUR; Denmark (DK) - DKK; Finland (FI) - EUR; Germany (DE) - EUR; Netherlands (NL) - EUR; Sweden (SE) - SEK.
Last updated