The Hummingbird API reference has two updates for integrations that take card payments on the payment gateway's hosted page.
Move-ins paid on a hosted page
Create a new lease (POST /v1/companies/{company_id}/units/{unit_id}/lease) now shows a second request body for move-ins where the card was already charged on the gateway's hosted page. Use either this hosted body or the standard one.
The hosted body requires start_date, hold_token, contacts and payment_method. payment_method holds the card and billing address, including token and card_type. Send the gateway's result in payment:
type: alwayscardsource: alwayshostedstatus:1for a successful transaction,0for a failed onestatus_desc: the gateway's message about the transactionamount: the total amount being paidtransaction_id: the gateway's transaction ID
Gateway settlement date
The API reference now documents payment.gateway_settlement_date, an optional field: the gateway's settlement date for the hosted charge, as YYYY-MM-DD. For Fat Zebra, use the purchase's settlement_date. Send it with source set to hosted; it's recorded for successful payments.
It's documented on:
- Create a new lease (
POST /v1/companies/{company_id}/units/{unit_id}/lease), in the hosted body - Create or simulate an invoice for a property (
POST /v2/companies/{company_id}/properties/{property_id}/invoices)
See both in the API reference.