Skip to main content
When a statement has been generated, pawaPay will POST a callback to the callbackUrl provided in the statement creation request. Read more about handling callbacks. You can also call our Check Statement Status endpoint to get the latest status of a specific statement request.

Body

statementId
string<uuid>
required

The unique ID for this statement as specified by pawaPay.

Required string length: 36
Example:

"f4401bd2-1568-4140-bf2d-eb77d2b2b639"

status
enum<string>
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.
Available options:
PROCESSING,
COMPLETED,
FAILED
wallet
object
required

Specifies which wallet to generate a statement for.

You can check which wallets you have from the 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

Example:

"2020-02-21T17:32:29Z"

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

Example:

"2025-05-10T10:00:00"

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

Example:

"2025-05-01T10:00:00"

fileSize
number

The file size in bytes of the generated statement.

Example:

1048576

downloadUrl
string<uri>

The URL from which to download the generated statement.

Please note! The URL is valid until downloadUrlExpiresAt.

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.

Example:

"2025-05-01T10:00:00"

completedAt
string<date-time>

The date and time when the statement was generated.

Example:

"2025-05-01T10:00:00"

failedAt
string<date-time>

The data and time when the statement generation failed.

Example:

"2025-05-01T10:00:00"

failureReason
object