---
title: "Check statement status"
method: GET
path: "/v2/statements/{statementId}"
tags: ["finances"]
---

# Check statement status

`GET /v2/statements/{statementId}`

## Parameters

- `#/components/schemas/StatementId` — unresolved $ref

## Response `200`

Request has been processed by PawaPay

- StatementSearchResult
  - `status` 'FOUND' | 'NOT_FOUND', required — The result of this operation. - `FOUND` - The statement was found in PawaPay. - `NOT_FOUND` - The statement was not found in PawaPay.
  - `data` Statement
    - `statementId` string, uuid, required — The unique ID for this statement as specified by PawaPay.
    - `status` 'PROCESSING' | 'COMPLETED' | 'FAILED', required — Possible statement statuses: * `PROCESSING` - The statement is in **processing** status. * `COMPLETED` - The statement has been **completed**. See downloadUrl to download the file. * `FAILED` - The statement has been **failed**. See failureReason for details.
    - `wallet` StatementWallet, required — Specifies which wallet to generate a statement for. You can check which wallets you have from the [wallet balances](/v2/api-reference/wallet-balances/wallet-balances) endpoint.
      - `country` string, required — Country code for the wallet you are generating a statement for. You can check which wallets you have from the [wallet balances](/v2/api-reference/wallet-balances/wallet-balances) endpoint. Format is ISO 3166-1 alpha-3, three character country code in upper case. Read more from [Wikipedia](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements).
      - `currency` string, required — ISO currency code for the wallet you are generating a statement for. You can check which wallets you have from the [wallet balances](/v2/api-reference/wallet-balances/wallet-balances) endpoint. Format must be the ISO 4217 three character currency code in upper case. Read more from [Wikipedia](https://en.wikipedia.org/wiki/ISO_4217#Active_codes).
      - `provider` string — If you have provider specific wallets, it indicates which provider specific wallet to generate the statement for in this country. You can check which wallets you have from the [wallet balances](/v2/api-reference/wallet-balances/wallet-balances) endpoint.
    - `created` string, date-time, required — The timestamp of when the statement was created in the PawaPay platform. Format defined by 'date-time' in RFC3339 section 5.6 from [IETF](https://tools.ietf.org/html/rfc3339#section-5.6)
    - `startDate` string, date-time, required — The start date of the statement date range. Format defined by 'date-time' in RFC3339 section 5.6 from [IETF](https://tools.ietf.org/html/rfc3339#section-5.6)
    - `endDate` string, date-time, required — The end date of the statement date range. Format defined by 'date-time' in RFC3339 section 5.6 from [IETF](https://tools.ietf.org/html/rfc3339#section-5.6)
    - `fileSize` number — The file size in bytes of the generated statement.
    - `downloadUrl` unknown
    - `downloadUrlExpiresAt` string, date-time — The download URL expiration time. After this time, the statement cannot be downloaded any more and a new statement should be generated.
    - `completedAt` string, date-time — The date and time when the statement was generated.
    - `failedAt` string, date-time — The data and time when the statement generation failed.
    - `failureReason` StatementFailureReason
      - `failureCode` 'UNKNOWN_ERROR', required — Possible statement failure codes: * `UNKNOWN_ERROR` - Unable to process request due to an unknown problem.
      - `failureMessage` string — Description of the reason for this failure

## Other responses

- `401` — Authentication failed. Make sure you have added the API token into the header. If using signatures, make sure they are valid.
- `403` — Authorization failure. Please check your authentication token.
- `500` — An unknown failure has occured.

---

[API](https://skmtc.net/pawapay/apis/pawapay-merchant-api-v2.md) · [All operations](https://skmtc.net/pawapay/apis/pawapay-merchant-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pawapay/pawapay-merchant-api-v2/revisions/ce13c31e9746/schema)
