VoordeMensen
  • Documentatie & support
  • Dashboard
    • Algemeen
    • Bestellingen
      • Overzichtspagina's
      • Detailpagina
    • Evenementen
      • Evenementen bewerken
      • Overige pagina's
    • Prijzen
    • Locaties
    • Bezoekers
    • Rapportages
      • Report Builder
    • E-mail
      • Automatische mails
      • Campagnes
      • Selecties
      • Systeemberichten
      • Templates
      • Verzendlog
    • Instellingen
      • Algemeen
      • Betaalmethoden
      • Pop-ups
      • Tekst & Taal
      • Webshop
    • Vormgeving
      • CSS
      • Ticket PDF's
      • Wallet
      • Templates
    • Koppelingen
      • API-keys
      • Close
      • Tracking / Analytics
      • Webhooks
      • Yesplan
  • Kassamodule (Nolita)
    • Kaarten verkopen
    • Reserveringen
    • BOCA printer
  • iOS app (Doorblitch)
    • Scannen
    • Bezoekerslijst
    • Kaarten verkopen
  • API & Integrations
    • Introduction
    • WordPress plugin
    • Manual integration
      • Cart & Counter
      • Customize classes
    • Google Data Studio
      • Data Studio Support
    • API public endpoints
      • Events
      • Ticket types
      • Cart
      • Payment
      • Order
  • Email-template
Powered by GitBook
On this page
  • Create order and proceed to checkout
  • Get status of order/payment
  1. API & Integrations
  2. API public endpoints

Order

Create order and proceed to checkout

POST https://api.voordemensen.nl/v1/:client_name/order/create

Create a new order and redirect the end-user to the payment provider.

Path Parameters

Name
Type
Description

client_name

string

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

Request Body

Name
Type
Description

redirectURL

string

the URL the payment provider will redirect the end-user to after payment - we will add the query ?return=order_key to this URL so you can lookup the status of the payment

payment_id

integer

id of payment_method

avg_optin

boolean

opt in for irregular contact regarding this order

avg_mailinglist

boolean

opt in for mailinglist

email

string

email address

firstname

string

first name

lastname

string

last name

phone

string

phone number

address

string

address

city

string

city

zip

string

the zipcode

cart_id

string

the cart_id to check out

[
    { 
        "url": "https://link-to-paymentprovider", 
        "order_key" : "unique-identifier-of-order"
    }

]

Get status of order/payment

GET https://api.voordemensen.nl/v1/:client_name/order/: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 (see above).

Path Parameters

Name
Type
Description

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

  "order_payment_status": "paid",
  "order_tickets_nr": 1,
  "order_tickets_url": "https://tickets.voordemensen.nl/client_name/order/XgFca-QmBxG-9WhAj-Osszb/ticket",
  "order_receipt_url": "https://tickets.voordemensen.nl/client_name/order/XgFca-QmBxG-9WhAj-Osszb/receipt",
  "seats": [
    {
      "seat_id": 2904,
      "event_name": "Your Event",
      "event_type": null
    }
  ]
}

PreviousPaymentNextEmail-template

Last updated 2 years ago