v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Banking > CardPayment

Reads all Card payments

Reads all Card payments

get/api/2026-07-01/resources/banking/card_payments

Query parameters

ids[]string[]

An array of card payment IDs to filter by.

An array of card payment IDs to filter by.

[
  "135"
]
account_ids[]string[]

An array of banking accounts ID to filter

An array of banking accounts ID to filter

[
  "123"
]
status'pending' | 'closed' | 'reversed' | 'rejected'

The status of the card payment.

Example:closed

The status of the card payment.

fromstring

Date from which the card payment was created in factorial.

Example:2021-01-01

Date from which the card payment was created in factorial.

tostring

Date until which the card payment was created in factorial.

Example:2025-01-01

Date until which the card payment was created in factorial.

Response

OK

Example response

{
  "data": [
    {
      "id": "135",
      "card_id": "123",
      "amount_cents": -1000,
      "currency": "EUR",
      "merchant_name": "Test Merchant",
      "merchant_amount_cents": -1000,
      "merchant_currency": "EUR",
      "approved": true,
      "external_created_at": "2025-01-01T00:00:00.000Z",
      "status": "closed",
      "type": "payment",
      "exchange_rate": 1,
      "rejected_reason": "insufficient_funds",
      "created_at": "2025-01-01T00:00:00.000Z"
    }
  ]
}