Palbase Payments · API
GET
/payments/customers/{customer_id}/invoicesList a payer's invoices
Lists the invoices made for the payer, newest first, a page at a time (next_cursor). An invoice its provider refused to make is not listed: nothing is owed on it.
Called by your server, with the project's secret key.
Path
customer_idstring · requiredThe payer's id: a user id, or any name of 1 to 128 characters the project's server gives a company or a team. Escape it as a path segment.Query
limitinteger · optionalMaximum items to return per page (50, at most 100).cursorstring · optionalOpaque pagination cursor from the previous response's next_cursor.curl
curl -X GET "https://<your-ref>.palbase.studio/payments/customers/<customer_id>/invoices" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200OK
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation ListCustomerInvoices of payments's contract.