Skip to main content
POST
Collect a payment line

Authorizations

Authorization
string
header
default:your_token_here
required

Restaurant-scoped partner API token passed as Authorization: Bearer <token>.

Headers

Idempotency-Key
string
required

Your unique key for this write (1 to 255 visible ASCII characters).

Required string length: 1 - 255

Path Parameters

id
string
required

Reservation identifier.

Minimum string length: 1
paymentId
string
required

Payment line identifier.

Minimum string length: 1

Body

application/json
method
enum<string>
required

How the money was taken: by the venue (CASH, CREDIT_CARD on its terminal, WIRE_TRANSFER) or by you (PARTNER).

Available options:
CASH,
CREDIT_CARD,
WIRE_TRANSFER,
PARTNER
reference
string

Your payment or order id, kept on the line (external_reference). Required with PARTNER.

Required string length: 1 - 255

Response

The reservation as it is now

data
object
required