iDEAL QR Code
[!TIP|style:flat]
For iDEAL QR code payment, customer can use the bank app to directly scan the QR code to pay.
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 | Optional |
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 |
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&description=YabandPay test&method=v3.CreatePaymentsiDEALQRcode¬ify_url=https://www.yabandpay.com/notify&order_id=2024849846514687&pay_method=online&redirect_url=https://www.yabandpay.com&sub_pay_method=iDEAL&time=1546588959&timeout=0&user=016683"
Use stringA and secret_key to get stringSign
Get Signature:
"e58dd545de13a704a7019fd26e470616564f86bd1d9b6fe1d4c2d17af89a3ef2"
Example Request:
{
"user": "016683",
"sign": "e58dd545de13a704a7019fd26e470616564f86bd1d9b6fe1d4c2d17af89a3ef2",
"method": "v3.CreatePaymentsiDEALQRcode",
"time": 1546588959,
"data": {
"description": "YabandPay test",
"timeout":"0",
"pay_method": "online",
"sub_pay_method": "iDEAL",
"order_id": "2024849846514687",
"amount": "1",
"currency": "EUR",
"redirect_url": "https://www.yabandpay.com",
"notify_url": "https://www.yabandpay.com/notify"
}
}
Example Response:
{
"status": true,
"code": "200",
"data": {
"order_id": "2024849846514687",
"trade_id": "72296347-7db1-200a-4c5d-0637e6fbfa46",
"amount": "22.00",
"currency": "EUR",
"settlement_amount": "22.00",
"settlement_currency": "EUR",
"exchange_rate": "1",
"url": "https://ideal.pay.nl/qr/b681b86e-8324-3021-3635-656365323336",
"state": "processing"
},
"message": ""
}
More Information:
Return results:
On a successful API call, the response will be
"status": true
.On a failed API call, the response will be
"status": false
.
We strongly recommend using both Order Query and Asynchronous Notification simultaneously to synchronize and update payment status, ensuring real-time accuracy of payment information.
Result/Error codes:
Status | Code | Message |
---|---|---|
true | 200 | Success |
fales | -1000 | Internal error |
fales | -3001 | Required field is missing |
fales | -403 | The signature Error |
fales | -4011 | Not support the payment method |