Skip to content
Booking: Not started

Partner walk-through · Step 4 of 7

Confirm the bookingpay by invoice

Sample data. Nothing is sent to Transferz.

Why this step exists

Paying confirms that the booking should go ahead. Partners with an invoice agreement pay by invoice: one call, no payment page.

After payment the journey is handed to a transfer company. When it accepts, the journey becomes CONFIRMED and you receive a status event.

The request

POST/bookings/{id}/pay-by-invoicePay by invoice in the reference

The previous step has not been run yet, so this uses the sample booking. Run step 3 to use your own.

curl --request POST \  --url 'https://warpdrive.staging.transferz.com/partners/bookings/312840/pay-by-invoice' \  --header 'Accept: application/json' \  --header 'X-Request-ID: req-ams-0001' \  --header 'X-API-Key: YOUR_STAGING_API_KEY'
Sample data · nothing is sent

Common pitfall

Pay by invoice only works when Transferz has enabled invoicing for your company; otherwise you get PAYMENT_ON_INVOICE_NOT_ALLOWED. The call answers with the booking: its journeys move from NOT_PAID to PENDING, not straight to CONFIRMED.

Was this helpful?