Post payment method

Start the payment of your checkout

POST https://api.eventgoose.com/v1/checkouts/{session}/payment-method

Authentication

Authenticate yourself using your organisation api token

Parameters

event_id
string
required

The event identifier currently used in the checkout process.

payment_method_id
string
required

The selected payment method identifier

Available payment methods of your shop can be retrieved via the List payment methods resource.

issuer
string
optional

If the selected payment methods is iDEAL an issuer needs to be added to the request. For example ABNANL2A

Supported issuers are:
ABN AMRO ABNANL2A     ASN Bank ASNBNL21     ING INGBNL2A     Rabobank RABONL2U     SNS Bank SNSBNL2A     SNS Regio Bank RBRBNL21     Triodos Bank TRIONL2U     Van Lanschot FVLBNL22     Knab KNABNL2H     Bunq BUNQNL2A     Moneyou MOYONL21     Handelsbanken HANDNL2A     Revolut REVOLT21

payment_data
string
optional

If the selected payment methods is Apple Pay payment_data needs to be added to the request.

More information can be found at the Buckaroo Apple Pay SDK.

curstomer_card_name
string
optional

If the selected payment methods is Apple Pay a customer_card_name needs to be added to the request.

More information can be found at the Buckaroo Apple Pay SDK.

return_url
string
optional

The URL to which a customer is redirected after completing a payment.

return_url_cancel
string
optional

It is possible to specify an alternative return URL for transactions that have been cancelled by the customer.

return_url_error
string
optional

It is possible to specify an alternative return URL for transactions that generate an error during processing.

return_url_reject
string
optional

It is possible to specify an alternative return URL for transactions that have been rejected.

Response

200 application/json

An object is returned with the redirect_url and the order_id.

    HTTP/1.1 200 OK
Content-Type: application/json

{
    "redirect_url": "https://testcheckout.buckaroo.nl/html/redirect.ashx?r=12345678",
    "order_id": "ZgvLVEzb6weEWq9DP"
}