BatchTransaction
Transaction event and its lifecycle history. Amounts are integer minor currency units. metadata belongs to this event; retain event_id for outcome recovery.
- accountType: string
_id required - appleType: string
_transaction _id required - cardType: stringrequired
- cardType: string
_brand requiredCard brand label reported for the payment, such as Visa or Mastercard. Casing and wording differ by processor, so treat it as display text and do not match on exact values.
- cardType: string
_type requiredCard label reported for the payment, such as Credit or Debit. Wording differs by processor, so treat it as display text.
- createdType: integer
_at requiredInteger numbers.
- currencyType: stringrequired
- eventType: string
_id required - midType: stringrequired
- paymentType: string
_method requiredHow the card was read, for example contactlessIcc for a contactless tap. Treat it as a label; new values can be added.
- processorType: string
_mid requiredMerchant ID assigned by the payment processor.
- processorType: string
_tid required - readerType: string
_identifier required - subtotalType: integerrequired
Integer numbers.
- tidType: stringrequired
- totalType: integer
_amount requiredInteger numbers.
- transactionType: string
_id required - Properties: 1additionalType: Additional Detailsnullable
_details - batchType: stringnullable
_id Settlement batch that contains this transaction, when one has been assigned.
- batchType: integer
_refunded _amount min:0Sum of successful refund operations for this transaction in the requested batch only, in minor currency units. Unlike refunded, this excludes refunds in other batches.
- deviceType: stringnullable
_id - deviceType: stringenumnullable
_type Device family that captured the transaction.
valuesiphoneipadandroid_phoneandroid_tabletother - gatewayType: stringnullable
- gatewayType: stringnullable
_transaction _id - Properties: 1gatewayType: Gateway Transaction Responsenullable
_transaction _response - Properties: 1historyType: array of objectnullable
- locationType: stringnullable
_id - merchantType: stringnullable
_name - metadataType: MetadatanullableProperties: 1
Your own key and value pairs attached to this transaction event.
- ownerType: stringnullable
_id Owner account recorded for the transaction, usually the parent PSP or partner.
- parentType: array of stringnullable
_account _ids Ancestors of the merchant account, nearest parent first.
- processorType: stringnullable
Name of the payment processor that handled the transaction.
- processorType: stringnullable
_response _code - processorType: stringnullable
_response _message - pspType: stringnullable
- refundType: integer
_amount min:0Successful refund amount for this event, in minor currency units. Zero for non-refund, failed, and settlement-only events. History events also include this field.
- refundedType: integernullable
Integer numbers.
- reversedType: integernullable
Integer numbers.
- statusType: stringenumnullable
Current transaction status. See the Payment Lifecycle guide for what each value means.
valuespendingauthorizedcapturedsettleddeclinedrefundedreversedcancelederrorsurcharge_pending - statusType: stringenumnullable
_reason Why the transaction has its current status.
values- approved
- declined
- surcharge
_expired - surcharge
_pending - surcharge
_declined _by _payer - merchant
_blocked - merchant
_not _found - unauthorized
_terminal
- surchargeType: integernullable
_amount Integer numbers.
- surchargeType: boolean
_applied - surchargeType: stringnullable
_basis - surchargeType: booleannullable
_confirmation _required - surchargeType: numbernullable
_rate - surchargeType: stringenumnullable
_source valuestransactionlocationterminalaccount - taxType: integernullable
_amount Integer numbers.
- taxType: stringnullable
_basis - taxType: integernullable
_rate Tax rate in basis points; 850 means 8.5%.
- taxType: stringenumnullable
_source valuestransactionlocationterminalaccount - Properties: 1terminalType: Terminal Detailsnullable
_details - tipType: integernullable
_amount Integer numbers.
- tipType: "tip_at_sale" or "tip_adjust"enumnullable
_capture _mode - tipType: "fixed" or "percentage"enumnullable
_type How the tip was entered.
- transactionType: stringenumnullable
_type Operation that created this transaction event.
valuessaleauthcapturerefundreversetip_adjustincremental_authmanually_keyed_sale

