Payouts Reconciliation API Reference

How to retrieve GuestyPay transactions for reconciliation purposes.


The Payouts Reconciliation API retrieves payout data from Guesty Pay providers. It supports filtering by date range, payout ID, reservation confirmation code, and payment processor sub-accounts.


Core Concepts


TermDefinition
Sub-account IDPayment processor sub-account in the format, accountId.subAccountId (e.g. 1234.1).
Payout IDUnique identifier of a payout generated by the payment processor.
ReservationBooking associated with payout transactions, identified by, reservationConfirmationCode.

API Usage and Policies


The endpoint requires:

  1. Authentication: Valid credentials for the Open API or Partners API
  2. Payment Provider Configuration: Your account should have (active) Guesty Pay providers with payouts processed.

Endpoint Paths



Key Query Parameters


ParameterDescriptionRequired
startDateStart date in ISO 8601 format (YYYY-MM-DD).Yes
endDateEnd date in ISO 8601 format (YYYY-MM-DD). The date must be on or after the start date.Yes
subAccountIdOptional sub-account filter, format: accountId.subAccountId (numeric number.number).
payoutIdOptional payout ID to narrow results within the date range.
reservationConfirmationCodeReservation confirmation code.
skipItems to skip for pagination (default 0).
takePage size (default 25, max 100).

Things to note

  • Date range requirement: The startDate and endDate must be provided.
  • Date range length: Maximum consecutive date range is 31 days
  • Date ordering: endDate must be on or after startDate
  • Pagination: take must be between 1 and 100
  • Sub-account format: subAccountId must be number.number (e.g. 1234.1)

Sample request template

curl --location 'https://open-api.guesty.com/v1/payment-transactions/reports/payouts-reconciliation?startDate=YYY-MM-DD&endDate=YYYY-MM-DD&reservationConfirmationCode={confirmationCode}&subAccountId={subAccount}&skip=0&take=25' \
--header 'accept: application/json' \
--header 'Authorization: Bearer {token}'

You can find the response schema on the reference document.


Common Error Scenarios


ScenarioHTTP StatusError Message
Missing both the date range and the reservation code400Date range is required
Invalid date format400Invalid date format
Date range exceeds 31 days400Date range cannot exceed 1 month
End date before start date400End date cannot be before start date
Invalid subAccountId format400subAccountId must be in the format number.number
Unauthenticated request401You need to be authenticated to access this endpoint