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://prod.turnstay.com/api/v1/public/payment_link/{your-link-id}?customerName=&merchantReference=[INVOICENUMBER]&billingAmount=[AMOUNTDUE]&customerPhoneInput=&customerEmailInput=Get your base URL from your TurnStay Dashboard, then append the parameters above.SaveAccount Name:
TurnStayCustom URL: Start with your Universal Payment Link from the TurnStay Dashboard (it ends with
?), 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://prod.turnstay.com/api/v1/public/payment_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.