Metjebank
Metjebank is a new pay by bank payment method that enables customers to pay directly from their own bank account through a secure Payment Initiation flow.
Metjebank is a payment initiation service focused on offering pay by bank payments to customers in the Netherlands. The service allows customers to initiate payments directly from their bank account through a bank-based payment flow, without requiring a card.
Initiate a payment effortlessly with minimal code. Simply provide the amount, serviceID (from your Sales Location), payment method ID (5358) and optionally your bank ID. Metjebank handles the rest of the payment initiation flow for you!
Below are examples showing how to start a transaction either with a preselected bank or without one.
Retrieving available banks
You can retrieve the list of available banks using the service:GetConfig endpoint. The response will include the banks like so:
"paymentMethods": [
{
"id": 5358,
"name": "Metjebank.nl",
"translations": {
"name": {
"nl_NL": "Metjebank.nl",
"en_GB": "Metjebank.nl"
}
},
"image": "/payment_methods/471.svg",
"options": [
{
"id": "1",
"name": "ABN Amro",
"image": "/issuers/1.svg"
},
{
"id": "2",
"name": "Rabobank",
"image": "/issuers/2.svg"
},
{
"id": "4",
"name": "ING",
"image": "/issuers/4.svg"
},
...
]Minimum examples to start a transaction
Minimum example with a preselected bank:
curl --request POST \
--url https://connect.pay.nl/v1/orders \
--header 'accept: application/json' \
--header 'authorization: Basic PDx1c2Vy********A==' \
--header 'content-type: application/json'
{
"amount": {
"value": 1000
},
"serviceId": "SL-1234-1234",
"paymentMethod": {
"id": 5358,
"subId": 4
}
}Example without a bank. When no bank is provided in the initial request, the end user will be redirected to the bank selection page on Metjebank, where they can choose their bank.
Minimum example without a preselected bank:
curl --request POST \
--url https://connect.pay.nl/v1/orders \
--header 'accept: application/json' \
--header 'authorization: Basic PDx1c2Vy********A==' \
--header 'content-type: application/json'
{
"amount": {
"value": 1000
},
"serviceId": "SL-1234-1234",
"paymentMethod": {
"id": 5358
}
}
Full recipes
| With a preselected bank | Without a preselected bank (bank selection page) |
|---|---|
Updated about 4 hours ago