Generate payment link
POST
/bookings/{id}/generate-payment-linkAuth: X-API-Key headerhttps://warpdrive.staging.transferz.com/partners
Generates a payment link for a previously generated booking
Creates a payment page for the booking, hosted by Transferz, that you can send or redirect the booker to. Transferz is the merchant. Optionally pass the locale of the payment page and a returnUrl for after payment. Not available for net-price (mark-up) accounts. When the booker has paid, the journeys move from NOT_PAID to PENDING.
Guide: Pay for a booking
Path parameters
Headers
Request body
application/json
Responses
Errors this endpoint can return
- 403, failedINSUFFICIENT_PERMISSIONS
When: The booking belongs to another partner.
What to do: Check that the id belongs to your company and that you use the key of the right user. Ask Transferz to check the account's permissions if the id is correct.