Bancontact 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 Bancontact 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
description String order description Required
demo String custom field Optional
iDeal_email String request email from customer 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&demo=123123&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=bancontact&time=1546588959&timeout=0&user=016683"

Use stringA and secret_key to get stringSign

Get Signature:

"651b6aa0088ea55f993c7850d586e01fe3e46d575b0ea7a1314d2eac85b6b80b"

Example Request:

{
    "user": "016683",
    "sign": "651b6aa0088ea55f993c7850d586e01fe3e46d575b0ea7a1314d2eac85b6b80b",
    "method": "v3.CreatePayments",
    "time": 1546588959,
    "data": {
        "description": "YabandPay test",
        "timeout":"0",
        "pay_method": "online",
        "sub_pay_method": "bancontact",
        "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": "123123"
    }
}

Example Response:

{
    "status": true,
    "code": "200",
    "data": {
        "order_id": "20180902014018888",
        "trade_id": "6f83a1ce-b46a-46a1-c016-4c213dbffaca",
        "amount": "1.00",
        "currency": "EUR",
        "settlement_amount": "1.00",
        "settlement_currency": "EUR",
        "exchange_rate": "1",
        "url": "https://partner.yabandpay.com/payments/callback/order/NmY4M2ExY2UtYjQ2YS00NmExLWMwMTYtNGMyMTNkYmZmYWNh",
        "state": "processing"
    },
    "message": ""
}

results matching ""

    No results matching ""