iDEAL Online
API URL:https://mapi.yabandpay.com/Payments
Method:POST
POST data type:Json
Parameter | Type | Description | Required |
---|---|---|---|
user | String | the UID of cashier account | Required |
sign | String | signature | Required |
method | String | v3.CreatePayments | Required |
time | Long | timestamp | Required |
- Parameter
Parameter | Type | Description | Required |
---|---|---|---|
pay_method | String | online | Required |
sub_pay_method | String | iDEAL | Required |
order_id | String | order id from Merchant | Required |
amount | String | format in cents: € 24.99 should be 24.99, the min amount is EUR 0.10 or CNY 1 | Required |
currency | String | EUR | Required |
bic | String | payer bank code | Optional |
description | String | order description | Required |
demo | String | custom field | Optional |
timeout | String | value 0 means 1440 minutes | Optional |
redirect_url | String | the redirect URL after payment is completed | Optional |
notify_url | String | asynchronous notification url | Required |
Signature:
Lexicographical sequence and URL key-value format new string
"amount=1¤cy=EUR&bic=ABNANL2A&demo=test&description=YabandPay test&method=v3.CreatePayments¬ify_url=https://www.yabandmedia.com/pay/webhook.php&order_id=20180902014018888&pay_method=online&redirect_url=https://www.yabandmedia.com/pay/redirectpage.php&sub_pay_method=iDEAL&time=1555498137&timeout=0&user=016683"
Use stringA and secret_key to get stringSign
Get Signature:
"40fbae0584abc46be5a460694aeac67b145bc94fc7213647ed0239480b77af06"
Example Request:
{
"user": "016683",
"sign": "40fbae0584abc46be5a460694aeac67b145bc94fc7213647ed0239480b77af06",
"method": "v3.CreatePayments",
"time": "1555498137",
"data": {
"description": "YabandPay test",
"timeout":"0",
"pay_method": "online",
"sub_pay_method": "iDEAL",
"bic": "ABNANL2A",
"order_id": "20180902014018888",
"amount": "1",
"currency": "EUR",
"redirect_url": "https://www.yabandmedia.com/pay/redirectpage.php",
"notify_url": "https://www.yabandmedia.com/pay/webhook.php",
"demo": "test"
}
}
Example Response:
{
"status": true,
"code": "200",
"data": {
"order_id": "20180902014018888",
"trade_id": "824f354c-e60f-bcd3-48a4-13c217be1b78",
"amount": "1.00",
"currency": "EUR",
"settlement_amount": "1.00",
"settlement_currency": "EUR",
"exchange_rate": "1",
"bic": "ABNANL2A",
"url": "https://partner.yabandpay.com/payments/callback/order/ODI0ZjM1NGMtZTYwZi1iY2QzLTQ4YTQtMTNjMjE3YmUxYjc4",
"state": "processing"
},
"message": ""
}
- BIC list
ID | Bank | BIC |
---|---|---|
1 | ABN AMRO | ABNANL2A |
2 | Rabobank | RABONL2U |
4 | ING Bank | INGBNL2A |
5 | SNS Bank | SNSBNL2A |
8 | ASN Bank | ASNBNL21 |
9 | RegioBank | RBRBNL21 |
10 | Triodos Bank | TRIONL2U |
11 | Van Lanschot Bankiers | FVLBNL22 |
12 | Knab | KNABNL2H |
5080 | bunq | BUNQNL2A |
5084 | Revolut | REVOLT21 |
23355 | N26 | NTSBDEB1 |
23358 | Yoursafe | BITSNL2A |
23361 | Nationale Nederlanden | NNBANL2G |