Skip to content

bookings_payment_mandates

Direct debit and card payment mandates, one row per mandate, scoped to client workspaces through the booking’s unit. Bank and card details are not exported. Cancelled mandates are kept, so payment details are held for a booking only when it has a row with status active.

Column Description
id Unique identifier of the mandate (the mandate reference)
booking_id Identifier of the booking, as text; matches bookings.id
payment_gateway_id Identifier of the payment gateway, as text; matches payment_gateways.id for PMS gateways
payment_method_type Payment method: bacs_debit, sepa_debit or card
status Mandate status: pending, active or cancelled
network_status Status reported by the payment provider, when provided
revocation_reason Provider code for why the mandate was revoked, when provided
status_reason Provider code for why the mandate reached its status, when provided
inserted_at Timestamp when this row was written. Not the mandate’s creation date: rows are rewritten when the mandate records are rebuilt, which resets it
updated_at Timestamp when this row was last written. Not a cancellation date: later provider updates and rebuilds of the mandate records move it, and the date a mandate was cancelled is not stored
timestamp Date when the table was last synchronized