Introducing OpenTelemetry for Chargebee SDKs — trace every API call in any telemetry tool.

Third party payment methods

Used when you want to copy card information between two gateways (such as copying cards between Authorize.Net and Stripe). Will contain details of the payment method type (card, Amazon Payments, etc.), name of the gateway, and the reference ID that the gateway uses to identify the specific card.

Sample Third party payment methodJSON

Third party payment methods attributes

type
required, enumerated string, default=card

Type of the payment method.

Enum Values
card

Card based payment including credit cards and debit cards. Details about the card can be obtained from the card resource.

paypal_express_checkout

Payments made via PayPal Express Checkout.

amazon_payments

Payments made via Amazon Payments.

direct_debit

Represents bank account for which the direct debit or ACH agreement/mandate is created.

generic

Payments made via Generic Payment Method.

gateway
required, enumerated string

Name of the gateway this card is stored with.

Enum Values
chargebee

Chargebee test gateway.

chargebee_payments

Chargebee Payments gateway

adyen

Adyen is a payment gateway.

stripe

Stripe is a payment gateway.

wepay

WePay is a payment gateway.

gateway_account_id
optional, string, max chars=50

The gateway account this payment method is stored with.

reference_id
required, string, max chars=100

Identifier provided by the gateway to reference that specific card.

network_transaction_reference
optional, jsonobject

The network transaction reference that the vault the card was copied from holds for this card. It is returned only when that vault holds one; otherwise it is omitted. Contains original_network_transaction_id, the identifier the card scheme issued for this card.

Pass that identifier to the destination gateway when you store the card there, to keep the card's stored credential chain intact. This lets the card scheme continue to recognize later merchant-initiated transactions as part of the same series.