Pay by invoice
POST
/bookings/{id}/pay-by-invoiceAuth: X-API-Key headerhttps://warpdrive.staging.transferz.com/partners
Pays for a booking on invoice (only supported for selected partners)
Pays for the booking on invoice: Transferz invoices you periodically for completed journeys. Only available when invoice payment is enabled for your account. Returns the booking; the journeys move from NOT_PAID to PENDING. Because this happens asynchronously the response can still show NOT_PAID: a successful response means the payment is accepted.
Guides: How a booking works, Pay for a booking
Path parameters
Headers
Responses
OK
Errors this endpoint can return
- 400, failedPAYMENT_ON_INVOICE_NOT_ALLOWED
When: Invoice payment is not enabled for your account.
What to do: Use a payment link or Stripe Connect, or ask your partner success manager to enable invoice payments.