v1

latestOpenAPI 3.0.02026-07-1412039.8 KB
Transactions

Fetch Transaction Details

Fetches detailed information for a specific card transaction<br><br>

get/cards/transactions/{transactionId}

Path parameters

transactionIdstring required

Transaction ID

Headers

Content-Typestring
Authorizationstring

Response

Successful response

kindstring

Type of transaction

merchant_name_formattedstring

Formatted merchant name

amount_currencystring

Transaction amount currency

billing_amount_currencystring

Billing amount currency

status'success' | 'reversed' | 'declined' | 'refunded'

Transaction status

card_last4string

Last 4 digits of card

idstring

Transaction identifier

merchant_namestring nullable

Raw merchant name

amountnumber

Transaction amount

billing_amountnumber

Billing amount

card_namestring

Name of the card

card_holder_namestring

Card holder name

created_atstring

Transaction creation date

updated_atstring

Transaction last update date

Example response

{
  "kind": "purchase",
  "merchant_name_formatted": "ACQUIRER NAME",
  "amount_currency": "USD",
  "billing_amount_currency": "AED",
  "status": "success",
  "card_last4": "9315",
  "id": "CTX-4584B3DEC9",
  "merchant_name": null,
  "amount": 30,
  "billing_amount": 114.05,
  "card_name": "Phu's card test2",
  "card_holder_name": "MCS integration",
  "created_at": "03 Mar 2025, 01:41PM",
  "updated_at": "03 Mar 2025, 01:41PM",
  "expense": {
    "status": "incomplete",
    "description": null,
    "invoice_number": null,
    "id": "EXP-CCC03C324C",
    "category": null,
    "tax_code": null,
    "payment_account": null,
    "expense_account": null,
    "vendor": null,
    "receipt_uploaded": false,
    "created_at": "03 Mar 2025, 01:41PM",
    "updated_at": "03 Mar 2025, 01:41PM"
  }
}