This resource represents the transaction event that has happened in your account.
Sample TransactionJSON
API Index URL
Transactions attributes
Identifier of the customer for which this transaction is made
Identifier of the subscription for which this transaction is made.
The payment method of this transaction
Card
Cash
Check
Only applicable for a transaction of type
= refund.
This value is set by Chargebee when an automated chargeback
occurs. You can also set this explicitly when recording a refund
.
Bank Transfer
Amazon Payments
Paypal Express Checkout
Direct Debit
Payment Methods other than the above types
The reference number for this transaction. For example, the check number when payment_method
= check
.
Gateway through which this transaction was done. Applicable only for 'Card' Payment Method
Chargebee test gateway.
Stripe is a payment gateway.
Braintree is a payment gateway.
Authorize.net is a payment gateway
PayPal Pro Account is a payment gateway.
Type of the transaction.
The transaction represents an authorization for capturing the amount
from the customer's payment_source
.
The transaction represents capture of amount
from the customer's payment_source
.
The transaction represents a refund of amount
to the customer's payment_source
.
Indicates a reversal transaction.
The id with which this transaction is referred in gateway.
The status of this transaction.
Transaction is being processed by the gateway. This typically happens for direct debit transactions or, in case of cards, refund transactions. Such transactions can take 2-7 days to complete, depending on the gateway and payment method.
The transaction is successful.
The transaction got voided or authorization expired at gateway.
Transaction failed. Refer the 'error_code' and 'error_text' fields to know the reason for failure
Transaction failed because of Gateway not accepting the connection.
Connection with Gateway got terminated abruptly. So, status of this transaction needs to be resolved manually
Indicates that a successful payment transaction has failed now due to a late failure notification from the payment gateway, typically caused by issues like insufficient funds or a closed bank account.
Marker for on-session payments (3DS). null indicates 'merchant'.
Customer initiated 3DS payment
Payment initiated on stored payment method by the merchant
Indicates whether this transaction has gone through 3DS. Applicable only for 'on-session' payments & verifications.If 3DS is not enforced by the gateway/bank or if the customers' card is not enrolled, this will be false.
Error message received from the payment gateway on failure.
Timestamp indicating when the payment was voided or authorization expired at gateway.
This is the part of the amount
which has not been invoiced yet and is therefore added to excess_payments
for the customer. Applicable only for a transaction of type
= payment
.
The masked card number used for this transaction. Applicable only for 'Card' Payment Method
This is the id
of the offline transaction that is being refunded or reversed. Applicable only for transaction of type
= refund
or payment_reversal
.
This is the id
of the transaction (always of type
= payment
) being refunded. Applicable only for transaction of type
= refund
.
Reversal transaction id. Applicable only for payment transactions.
Applicable only for 'Payment' transactions. The list of invoices this 'payment' transaction is applied to.