getStatementsId
Query a Statement. A Statement resource represents the total collection of funds owed for a Billing period.
In: header
Path Parameters
The ID of this resource and The Statement ID.
Query Parameters
Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Response Body
application/json
application/json
curl -X GET "https://example.com/statements/p1_stm_00ce6abbac436354cd82bba"{ "response": { "data": [ { "id": "p1_stm_00ce6abbac436354cd82bba", "created": "2025-03-10 00:29:47.7087", "modified": "2025-03-10 00:29:50.7845", "creator": "p1_log_000444ad99da5eb18e00207", "modifier": "p1_log_000444ad99da5eb18e00207", "billing": "p1_bil_00585dd2654581aaa5f9993", "status": "pending", "totalPaid": 0, "total": 78687, "currency": "USD", "forentity": "p1_ent_0acb282c487aa4bf1477e0f", "entity": "p1_ent_0051dcf88fee4617e5e38d5", "start": 20250201, "finish": 20250228 } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}getStatementEntries GET
Query a StatementEntry resource. A StatementEntry resource represents a record of funds owed for a billing schedule. For example, this could be a scheduled weekly or monthly fee, or an event-based activity such as a capture or payout fee.
getStatements GET
Query a Statement. A Statement resource represents the total collection of funds owed for a Billing period.
