BananaTech
  1. Card related APIs
BananaTech
  • API Security Implementation Guide
  • Guides
    • 01-README
    • 02-Getting-Started
    • 03-Virtual-Cards
    • 04-Physical-Cards
    • 05-Card-Operations
  • Webhook
    • Integration Guide
    • Event Types
  • Merchant related APIs
    • Get Account Balance
      POST
    • Get Card Templates
      POST
    • Set Webhook URL
      POST
    • Get Webhook Records
      POST
  • User related APIs
    • Register
      POST
    • Get Users
      POST
  • Card related APIs
    • Apply
      POST
    • Recharge
      POST
    • Update Status
      POST
    • Get Balance
      POST
    • Get Information
      POST
    • Get Transactions
      POST
    • Assign (for Physical cards only)
      POST
    • Set PIN (for Physical cards only)
      POST
    • 3DS Confirm
      POST
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Card related APIs

Get Transactions

POST
/card/get_transactions
Used to get the transaction records of a specified filters.

Request

Header Params

Body Params application/json

Example
{
    "skip": 0,
    "limit": 10,
    "search": "string",
    "start_date": "string",
    "end_date": "string",
    "card_id": 0,
    "user_id": 0,
    "status": "string",
    "type": "string",
    "order_by": "string",
    "desc": true
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/card/get_transactions' \
--header 'Merchant-ID;' \
--header 'X-HMAC;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "skip": 0,
    "limit": 10,
    "search": "string",
    "start_date": "string",
    "end_date": "string",
    "card_id": 0,
    "user_id": 0,
    "status": "string",
    "type": "string",
    "order_by": "string",
    "desc": true
}'

Responses

🟢200Success
application/json
Body

Example
{
  "data": [
    {
      "id": 98765,
      "card_id": 12345,
      "user_id": 678,
      "type": "PURCHASE",
      "status": "APPROVED",
      "billing_currency": "USD",
      "billing_amount": 29.99,
      "billing_transaction_fee": 0.5,
      "transaction_currency": "USD",
      "transaction_amount": "30.49",
      "merchant": {
        "name": "Amazon.com",
        "country": "US",
        "mcc": "5411",
        "description": "Online Retail"
      },
      "description": "Purchase at Amazon.com",
      "card_balance_before": 250.75,
      "card_balance_after": 220.76,
      "occur_time": "2024-01-15T14:30:00Z",
      "failure_reason": null
    }
  ],
  "total": 250
}
Modified at 2025-12-23 12:52:07
Previous
Get Information
Next
Assign (for Physical cards only)
Built with