Skip to main content

Overview

For a paid card Purchase, the response includes card and authorization metadata under transaction_data.extra and transaction_data.attempts[].extra, plus fee information under payment.fee_amount and at the per-attempt level. This page documents those fields.
The same transaction_data shape is delivered in the purchase.paid webhook payload, so everything on this page applies to webhook consumers as well.

Card fields

The following fields appear in transaction_data.extra (and again in transaction_data.attempts[].extra for each attempt) when a card payment is made. All fields are read-only and reported by the acquirer.

Fee fields

Fees are exposed at two levels: per-Purchase and per-attempt. All amounts are in the smallest currency unit (e.g. sen for MYR, cents for USD).
The top-level payment.fee_amount equals the fee_amount of the most recent successful attempt. For a single-attempt paid Purchase, all four values describe the same transaction.