Statements
The statements endpoint allows you to generate a financial statement for a wallet. The statement can be downloaded as a CSV file and optionally as a compressed GZIP file. Learn more about statements from our Dashboard docs.Documentation Index
Fetch the complete documentation index at: https://docs.pawapay.io/llms.txt
Use this file to discover all available pages before exploring further.
- Each wallet is defined by its country and currency.
- If you have provider specific wallet, also specify the provider for the wallet.
- The date range must not exceed 31 days per statement.
- The statement can be downloaded from the
downloadUrl. - The
downloadUrlexpires after 1 day. - Statement data for the current day may be up to 20 minutes behind the latest transactions.
- Since the request can be rejected, you must check the
statuscode in the response for each submitted request. ThefailureReasonin the response will contain information about the reason of the rejection.
| Status | Description | |
|---|---|---|
ACCEPTED | Yes | The statement has been accepted by pawaPay for generation. |
REJECTED | No | The statement has been rejected. See failureReason for details. |
How to know which wallets i have?
You can find all your wallets with their balances from the Wallet Balances endpoint. You can iterate over all of them and use thecountry and currency from the response as parameters for your request.
If the response includes a not empty provider, it should be passed into the request as well to generate a provider specific wallets statement.
How to find out the final status of this statement?
As the pawaPay Merchant API is an asynchronous API, you can find out the final status of theACCEPTED statement by either:
Waiting for a callback
Checking the status
Check Statement Status endpoint.Authorizations
See Authentication.
Body
Specifies which wallet to generate a statement for.
You can check which wallets you have from the wallet balances endpoint.
The URL where pawaPay will POST a callback with the downloadUrl when the statement has been generated.
"https://merchant.com/statementCallbacks"
If true, the statement will be compressed using gzip and returned with a .csv.gz extension.
If false or not provided, the statement will be returned as a CSV file with a .csv extension.
Response
Request has been accepted for processing by pawaPay
The initiation status of the statement:
ACCEPTED- The statement has been accepted by pawaPay for generation.REJECTED- The statement request has been rejected by pawaPay. See failureReason for details.
ACCEPTED, REJECTED The unique ID for this statement as specified by pawaPay.
36"f4401bd2-1568-4140-bf2d-eb77d2b2b639"