Payments
A Payment represents a financial transaction associated with a Booking. Only payments with the status ok are included in the calculation of the Booking’s totals; all other payment statuses are ignored for financial settlement.
Each Payment maintains a reference to a PaymentGateway, which defines the processing method used for the transaction. Gateways may represent external payment providers—such as Stripe—or internal methods like On-site Payment, Gift Certificate, or other methods.
When a Booking operates in individual guest payment mode, a Payment may also contain a reference to the Guest who made that specific contribution.
Payments can optionally reference an Invoice, allowing the transaction to be linked to a specific billing document.
The system supports Refunds through any available payment gateway. Refunds may also be issued as gift certificates, enabling the refunded amount to be reused in future transactions.
Unique identifier for the payment.
123e4567-e89b-12d3-a456-426614174000Currency code for the payment ISO 4217 format.
USDAmount of the payment.
100Amount that has been refunded, if any.
0Amount of surcharge applied to the payment.
2.5Current status of the payment.
okPossible values: Additional message regarding the payment status, set by payment provider if applicable.
Payment completed successfullyForeign currency code if applicable ISO 4217 format.
EURAmount in foreign currency if applicable, used for currency conversion, when booking currency differs from payment currency.
85External reference identifier for the transaction.
TXN123456789Additional comments regarding the payment.
Imported from external systemIdentifier for the associated booking.
223e4567-e89b-12d3-a456-426614174001Identifier for the user who registered the payment in backoffice.
323e4567-e89b-12d3-a456-426614174002Identifier for the associated invoice.
423e4567-e89b-12d3-a456-426614174003Identifier for the payment gateway used.
1Identifier for the associated guest, if applicable.
523e4567-e89b-12d3-a456-426614174004Timestamp when the payment was deleted, if applicable.
2024-01-15T10:00:00ZTimestamp when the payment was created.
2024-01-10T09:30:00ZTimestamp when the payment was last updated.
2024-01-12T14:45:00ZTimestamp when the payment was completed, if applicable, usually equal to created_at for immediate payments. Can be set manually by user.
2024-01-11T11:15:00ZThe Payment object
Endpoints
List all payments
Number of payments to return
10Page number
1Sorts the results based on the passed field. All possible values can be appended with ",asc" or ",desc"
Filter by payment ID
Filter by payment amount
500,1000Filter by payment currency (ISO 4217 code)
USD,EURA list of payments
A list of payments
Last updated