operation post api v1 payment sessions.md

Create a payment session

POST /api/v1/payment/sessions

Creates a new payment session object.

Servers

Parameters

Body: application/json (object)

Responses

201

Session created. The url field is shown exactly once and contains the single-use token the contractor must land on.

Body: application/json (object)

400

Invalid input. invalid_return_url when the return URL fails scheme / host / allowlist validation. Ensure your organization has hosted_flow_allowed_redirect_hosts configured.

403

Missing or invalid API key.

404

Contractor not found. Returned when the contractor does not exist under your tenant.