Create payment (internal)

Creates a PSP payment session. Called by the checkout service after a checkout is confirmed. Requires the funtrips/session.create S2S scope and an idempotency key.

Events fired

EventTriggerDescription
payments.PaymentStartedsyncFired when the PSP payment session is successfully created.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
amount
object
required

A monetary amount with currency.

string
required

Idempotency reference for this payment.

uuid
required
lines
array of objects
required
lines*
booking_costs
object
required

A monetary amount with currency.

visit_guarantee
object
required

A monetary amount with currency.

uri
required
string
required
string
required

PSP identifier (e.g. adyen, mollie).

string

Campaign store key passed through to PSP metadata.

string

Merchant debtor code for Adyen split payments. Empty means no splits.

Headers
uuid
required

Client-generated UUID. Identical keys within the TTL window return the cached response.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
Missing 1 required scope
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json