Xero Integration
Xero’s custom payment URL feature lets you embed invoice data directly into your TurnStay payment link. When a guest clicks Pay Now on an invoice, the invoice number and the exact amount due are pre-populated - no manual entry required.
-
Add a new payment service in Xero
Section titled “Add a new payment service in Xero”Go to Payment Services in your Xero account and click Add Payment Service.
Payment servicesConnect a payment service so your customers can pay invoices online.+ Add payment service
-
Select Custom Payment URL
Section titled “Select Custom Payment URL”From the list of payment service options, choose Custom Payment URL.
Choose a payment service -
Configure your TurnStay payment link
Section titled “Configure your TurnStay payment link”Fill in the payment service details as follows:
Custom Payment URLAccount NameTurnStayCustom URLhttps://payment.prod.turnstay.com/payments/link/{your_link_id}?customerName=&merchantReference=[INVOICENUMBER]&billingAmount=[AMOUNTDUE]&customerPhoneInput=&customerEmailInput=Copy your payment link from the TurnStay Dashboard, add a ? immediately after the link id, then append the parameters above.SaveAccount Name:
TurnStayCustom URL: Start with your Universal Payment Link from the TurnStay Dashboard. Add a
?immediately after the link id, then append:customerName=&merchantReference=[INVOICENUMBER]&billingAmount=[AMOUNTDUE]&customerPhoneInput=&customerEmailInput=Once filled in, click Save.
The complete URL
Section titled “The complete URL”Here’s what your full Custom URL should look like once assembled:
https://payment.prod.turnstay.com/payments/link/{your_link_id}?customerName=&merchantReference=[INVOICENUMBER]&billingAmount=[AMOUNTDUE]&customerPhoneInput=&customerEmailInput=When a guest clicks Pay Now on a Xero invoice, Xero replaces [INVOICENUMBER] and [AMOUNTDUE] with the actual invoice data - so the TurnStay payment page opens pre-filled with the correct reference and amount.
How it works
Section titled “How it works”Reconciling the invoice in Xero
Section titled “Reconciling the invoice in Xero”Paying on that page creates a TurnStay payment. It does not mark the Xero invoice as paid. TurnStay does not send the payment back to Xero, so someone on your team still has to reconcile the invoice in Xero by hand.