Statements
Manages generation and retrieval of account statement resources for a given customer.
Use the Generate endpoint to create a statement asynchronously and receive its UUID.
Once processing is complete, the Get endpoint can be used to fetch full details including a file_url for downloading the report.
The List endpoint returns a paginated collection of statements for the specified customer and account.
Get Account Statement Details
Retrieves the full details for a single account statement by its UUID, scoped to a specific customer.
Authentication using a Bearer token.
Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Successful retrieval of single customer account statement.
Unauthorized.
Not found
GET /api/v1/customers/{customer_uuid}/accounts/{account_uuid}/statements/{account_statement_uuid} HTTP/1.1
Host: public-api.gurupay.eu
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"status": "active",
"type": "statement",
"balance_type": "credit",
"date_from": "2025-01-01",
"date_to": "2025-01-31",
"account_id": 1234,
"account_iban": "PL61109010140000071219812874",
"account_name": "Main Company Account",
"created_at": "2025-01-02T12:00:00Z",
"updated_at": "2025-02-01T12:00:00Z",
"original_name": "statement_january.pdf",
"mime_type": "application/pdf",
"file_url": "https://example.com/files/statement_january.pdf"
}
]Retrieves a paginated list of accounts statements with the given customer UUID and account ID.
Authentication using a Bearer token.
Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Successful retrieval of customer account statements.
Unauthorized.
Not found
GET /api/v1/customers/{customer_uuid}/statements HTTP/1.1
Host: public-api.gurupay.eu
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"status": "active",
"type": "statement",
"balance_type": "credit",
"date_from": "2025-01-01",
"date_to": "2025-01-31",
"account_id": 1234,
"account_iban": "PL61109010140000071219812874",
"account_name": "Main Company Account",
"created_at": "2025-01-02T12:00:00Z",
"updated_at": "2025-02-01T12:00:00Z"
}
]Generate Account Statement
Generate account statement in async way
Authentication using a Bearer token.
Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Data required to generate an account statement.
Type of report
statementPossible values: Indicates whether we use available balance or balance (legacy) way to calculate the balance
balancePossible values: Start date of the reporting period (YYYY-MM-DD)
2025-01-01End date of the reporting period (YYYY-MM-DD)
2025-01-31Generating account statement has been initiated.
Max limit transactions per statement reached.
Unauthorized.
Not found
Unprocessable.
POST /api/v1/customers/{customer_uuid}/accounts/{account_uuid}/generate-statement HTTP/1.1
Host: public-api.gurupay.eu
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"type": "statement",
"balance_type": "balance",
"from": "2025-01-01",
"to": "2025-01-31"
}{
"id": "e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2g"
}Last updated
Was this helpful?
