Transaction Object


You can expect the below object when you register a webhook for the following events:

  • card_transaction.create

Raw sample

{
  "kind": "purchase",
  "merchant_name_formatted": "ACQUIRER NAME",
  "amount_currency": "AED",
  "billing_amount_currency": "AED",
  "status": "success",
  "card_last4": "3143",
  "id": "CTX-3D15615361",
  "merchant_name": null,
  "amount": 150.0,
  "billing_amount": 150.0,
  "card_name": "Phu's card test",
  "card_holder_name": "Tola Test",
  "created_at": "08 Aug 2025, 11:25AM",
  "updated_at": "08 Aug 2025, 11:25AM",
  "expense": {
    "status": "pending_review",
    "description": "Expense submitted via Whatsapp",
    "invoice_number": null,
    "id": "EXP-C88EA7F9D3",
    "category": "Visa",
    "tax_code": null,
    "payment_account": null,
    "expense_account": null,
    "vendor": null,
    "receipt_uploaded": false,
    "created_at": "08 Aug 2025, 11:25AM",
    "updated_at": "08 Aug 2025, 12:00PM"
  },
  "event_type": "card_transaction.create"
}

Field Descriptions

FieldTypeDescription
kindStringTransaction type (purchase-refund-withdrawal)
merchant_name_formattedStringFormatted merchant name
amount_currencyStringTransaction currency
billing_amount_currencyStringBilling currency
statusStringTransaction status (success-declined-pending)
card_last4StringLast 4 digits of the card
idStringTransaction ID
merchant_nameStringRaw merchant name
amountNumberTransaction amount
billing_amountNumberBilling amount
card_nameStringCard name/label
card_holder_nameStringCard holder name
created_atStringTransaction creation date
updated_atStringTransaction last update date
expenseObjectAssociated expense details
expense.statusStringExpense status (incomplete-pending_review-ready-synced)
expense.descriptionStringExpense description
expense.invoice_numberStringInvoice number
expense.idStringExpense ID
expense.categoryStringExpense category
expense.tax_codeStringTax code
expense.payment_accountStringPayment account
expense.expense_accountStringExpense account
expense.vendorStringVendor information
expense.receipt_uploadedBooleanWhether receipt is uploaded
expense.created_atStringExpense creation date
expense.updated_atStringExpense last update date
event_typeStringCorresponding Webhook Event