The Blink Payment API allows Blink merchants to create payments through card, open banking and direct debit. The payment API allows for full customization, while the paylink API enables users to create unique links for quick ECOM payments. Below are the step-by-step instructions for generating payments using each of our available payment methods.
Authentication
Generate an authentication bearer token with your account credentials. This is to be used as a bearer token in subsequent requests.
Payment API
Credit Cards
MOTO
- Create an access token.
- Create an intent.
- Render the
ccMotoElement
from the intent response on the page. - Submit the payment form values to creditcards.
- Receive return URL with response.
- Get more transaction details.
ECOM
- Create an access token.
- Create an intent.
- Render the
ccElement
from the intent response on the page. - Submit the payment form values to creditcards.
- Render the acsform in the response and submit to go through 3DS.
- System will redirect to return URL.
- Get more transaction details.
Apple Pay
- Create an access token.
- Create an intent.
- Render the
ccElement
andapElement
from the intent response on the page. - Submit the payment form values to applepay.
- System will redirects to response URL.
- Get more transaction details.
Google Pay
- Create an access token.
- Create an intent.
- Render the
ccElement
andgpElement
from the intent response on the page. - Submit the payment form values to googlepay.
- Render the acsform in the response and submit to go through 3DS or system will redirects to response URL .
- Get more transaction details.
Open Banking
- Create an access token.
- Create an intent.
- Render the
obElement
or make your own payment form. - Submit customer details to openbankings.
- Redirect to response URL for customer to choose bank and authorise payment.
- System will redirect to return URL.
- Get more transaction details.
Direct Debit
- Create an access token.
- Create an intent.
- Render the
ddElement
or make your own payment form. - Submit customer details to directdebits.
- Receive return URL with response.
- Get more transaction details.
Paylink API
- Create an access token.
- Generate a paylink.
- Track paylink.