Booking.com Payout Statements
Download the original payout statement for a Booking.com payout — the authoritative settlement document you reconcile against, with the amount paid, the fees deducted and the bank account it was sent to. PDF by default, or the CSV remittance with ?format=csv. Repull stores and serves the file itself, so the download link never expires. The payout and its individual reservation lines are in Transactions; this endpoint returns the source document behind one payout.
GET
/v1/transactions/{id}/statementParameters
idstringRequiredThe payout transaction id (transactionId), e.g. booking_payout_5463377687_bank_transfer.
formatstringStatement format: pdf (default) or csv.
Notes
- Pass the payout
transactionIdas{id}— the id of the payout line in Transactions, not a reservation id. - Returns
404when no statement was captured for the payout — for example an upcoming payout that has not settled yet. - The response is the file itself (
application/pdfortext/csv), delivered as an attachment, not JSON.
Example
# Download the payout statement (PDF) curl "https://api.repull.dev/v1/transactions/booking_payout_5463377687_bank_transfer/statement" \ -H "Authorization: Bearer sk_live_YOUR_KEY" \ -o payout-statement.pdf # Download the CSV remittance curl "https://api.repull.dev/v1/transactions/booking_payout_5463377687_bank_transfer/statement?format=csv" \ -H "Authorization: Bearer sk_live_YOUR_KEY" \ -o payout-statement.csv
AI