Payment Cards
Payment cards represent the card numbers seen on supplier invoices and receipts for a client account. Each card record includes the card number (typically the last four digits), the associated payor (employee or business partner), and the date the card was last used. This is a read-only resource derived from document data.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /payment-cards | List payment cards for a client account |
List Payment Cards
GET /api/v2/payment-cards
Returns the payment cards that have appeared on supplier invoices and receipts for the specified client account. Each entry includes the resolved payor name from the linked business partner.
There is one entry per card number and payor. A card that has been booked on more than one payor (for example a company card later recorded on an employee’s receipt) appears once for each payor, each with its own last_used. Entries are sorted by card_number, then payor_id.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_account_id | integer | Yes | The client account ID |
Response
Returns a plain JSON array of card objects — this endpoint is not paginated and does not wrap the result in a data/meta envelope.
[
{
"card_number": "4242",
"payor_id": 56,
"payor_name": "Ola Nordmann",
"last_used": "2026-04-10"
},
{
"card_number": "1234",
"payor_id": null,
"payor_name": null,
"last_used": "2026-03-28"
}
]
Attributes
| Attribute | Type | Description |
|---|---|---|
| card_number | string | The payment card number (typically the last four digits as printed on receipts) |
| payor_id | integer or null | The business partner ID of the card holder. null indicates a company card with no assigned payor |
| payor_name | string or null | The resolved name of the payor business partner. null when payor_id is null |
| last_used | date | The most recent document date where this card number appeared with this payor |
Error Responses
Errors use the standard v2 envelope ({"error": {"code", "message", "request_id"}}).
| Status | Code | Description |
|---|---|---|
| 403 | common.forbidden |
client_account_id is missing or not an integer, or you have no access to the client account |
Business Rules
- Payment cards are derived from the
payment_card_numberfield on supplier invoices and receipts — they are not stored as a separate entity. Documents with an empty card number are skipped - Cards are scoped to a client account
- A card with
payor_id: nullis a company card; a card with apayor_idis an employee or personal card - The
payor_nameis resolved from the business partner record at query time - This resource is read-only — card data is populated when documents are created or updated
Related Resources
- Documents — source documents that contain payment card numbers
- Business Partners — payors linked to payment cards
- Bank Accounts — company bank accounts