{
"amount": 1000,
"amount_capturable": 1000,
"authorization_reason": "blocking_funds",
"base_currency_code": "USD",
"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 transaction
s 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. Refunds an online payment. Applicable only for transaction
s of type
= payment
. You can only refund a transaction
whose status
is success
.
amount_unused
. If not passed then all of amount_unused
is refunded. 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.