This resource represents the transaction event that has happened in your account.
{
"amount": 1000,
"amount_capturable": 1000,
"authorization_reason": "blocking_funds",
"currency_code": "USD",
"customer_id": "__test__KyVnHhSBWltgF2p6",
"date": 1600968316,
"deleted": false,
"exchange_rate": 1,
"fraud_reason": "Payment complete.",
"gateway": "stripe",
"gateway_account_id": "gw___test__KyVnGlSBWltbL2AB",
"id": "txn___test__KyVnHhSBWltv42pB",
"id_at_gateway": "ch_1HUyC0Jv9j0DyntJiR6W37yv",
"linked_payments": [],
"masked_card_number": "************1111",
"object": "transaction",
"payment_method": "card",
"payment_source_id": "pm___test__KyVnHhSBWltu42p7",
"resource_version": 1517505917000,
"status": "success",
"type": "authorization",
"updated_at": 1517505917
}payment_method = check. 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. transaction. This is always the same as the business entity of the customer. Authorizes a specific amount in customer's Credit card, which can be collected within a span of time. Read more on authorization and capture here.
This API voids the specific authorization transaction in order to release the blocked funds from the customer's card. Voiding an already captured or voided transaction is not possible.
Records a refund made offline. Applicable only for transactions of type = payment.
amount_unused. If not passed then all of amount_unused is recorded as refunded. Update selected attributes of the transaction resource: status, id_at_gateway, and customer_id. Use this API for reconciliation purposes where the status of a transaction is in needs_attention that can be updated to either success or failure status.
id_at_gateway can only be updated when the transaction status is in needs_attention. needs_attention to success. It is recommended to pass this value if available in the gateway.id_at_gateway value does not match the id_at_gateway value stored against the transaction in Chargebee.customer_id value does not match the customer_id value stored against the transaction in Chargebee.needs_attention state. amount_unused. If not passed then all of amount_unused is refunded. Lists all the transactions.
payment_method = check. updated_at. This attribute will be present only if the resource has been updated after 2016-09-28. It is advisable when using this filter, to pass the sort_by input parameter as updated_at for a faster response. Retrieves the payments for an invoice with the recent ones on top. This returns all the payment attempts(manual & automatic) made for this invoice.
Retrieve a transaction identified by its unique id.
This API deletes an offline transaction. However, to delete an offline transaction all payment allocations associated with the transaction must be removed.