Payment

Get status of order/payment

GET https://tickets.voordemensen.nl/api/:client_name/payment/:order_key

Check if the order is paid and display additional info. Use the order_key to find the order. Upon return from the payment provider we will add the query parameter ?response=order_key to the redirectURL so you can find the key.

Note: calling this method will invoke a true check with the payment provider, it will fire webhooks, it will send notifications of successfull order, and it will e-mail the tickets (unless that already happend)

Path Parameters

NameTypeDescription

order_key*

String

the order_key identifying the order

client_name*

String

the short name identifying you as a VdM client e.g. demo or fringe

{
    // Response
}

Get available payment methods

GET https://api.voordemensen.nl/v1/:client_name/paymentmethods

This endpoint will return the payment methods that have been defined as available to online ordering in your dashboard.

Path Parameters

NameTypeDescription

client_name*

string

the short name identifying you as a VdM client e.g. demo or fringe

[
  {
    "payment_id": 33,
    "payment_desc": "iDEAL",
    "payment_cost": "0.00"
  },
  {
    "payment_id": 34,
    "payment_desc": "Credit card",
    "payment_cost": "1.50"
  },
  {
    "payment_id": 35,
    "payment_desc": "Bancontact",
    "payment_cost": "0.00"
  },
  {
    "payment_id": 37,
    "payment_desc": "SOFORT Banking",
    "payment_cost": "0.00"
  }
]

If you have defined additional costs for certain payment methods use the field payment_cost to inform the end-user. These costs will not show up in the cart, but will be added to the total price at the level of the payment provider.

Last updated