Skip to main content
GET
Get a card's transaction totals
output adds up the authorized amounts of the card’s DEBIT transactions in the period and input those of its CREDIT transactions (refunds), in cents; declined authorizations (NONE) count in neither. startDate and endDate are required. Use default as walletId for the organization’s main wallet, and send x-environment: LIVE for a production card. Any member of the organization can read it.

Headers

x-environment
enum<string>

Environment of the card: LIVE (production) or TEST (sandbox). When you omit it, the request runs in TEST; any other value is rejected.

Available options:
LIVE,
TEST

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of the organization the card belongs to.

Format: UUID

accountId
string
required

ID of the organization's account (24 hexadecimal characters).

Pattern: ^[0-9a-fA-F]{24}$
walletId
string
required

ID of the card's wallet (24 hexadecimal characters), or default for the organization's main wallet.

Pattern: ^([0-9a-fA-F]{24}|default)$
cardId
string
required

ID of the card (24 hexadecimal characters).

Pattern: ^[0-9a-fA-F]{24}$

Query Parameters

startDate
string
required

Start of the period, inclusive: an ISO 8601 date-time (2026-11-01T03:00:00.000Z) or date (2026-11-01, read as midnight UTC).

endDate
string
required

End of the period, inclusive, in the same format as startDate.

Response

Successful response

Totals of a card's transactions in a period.

input
number
required

Sum of the CREDIT transactions (money back in), in cents (BRL).

Example:

2500

output
number
required

Sum of the DEBIT transactions (money out), in cents (BRL).

Example:

184320