API Version
Product Catalog
Library

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 method [ JSON ]

{ "gateway": "stripe", "gateway_account_id": "gw___dev__3Nl9BTsQ8Uqmnt5l", "type": "card", "reference_id": "cus_9wYGZiAzAyXJ6f/card_9wYGfoGHogX7Lk", "object": "third_party_payment_method" }

API Index URL GET

https://{site}.chargebee.com/api/v2/third_party_payment_methods

Model Class

type
enumerated string, default=card
Type of the payment method.
Possible values are
cardCard based payment including credit cards and debit cards. Details about the card can be obtained from the card resource.paypal_express_checkoutPayments made via PayPal Express Checkout.amazon_paymentsPayments made via Amazon Payments.direct_debitRepresents bank account for which the direct debit or ACH agreement/mandate is created.
Show all values[+]
gateway
enumerated string
Name of the gateway this card is stored with.
Possible values are
chargebeeChargebee test gateway.chargebee_paymentsChargebee Payments gatewayadyenAdyen is a payment gateway.stripeStripe is a payment gateway.
Show all values[+]
gateway_account_id
optional, string, max chars=50
The gateway account this payment method is stored with.
reference_id
string, max chars=100
Identifier provided by the gateway to reference that specific card.

This is a list of the event types we currently support. We will continue to add more events moving forward. All events follow a uniform pattern - <resource>_<event_name>. The resources that will be present in the event content are provided beneath each event type's description.

Note: If consolidated invoicing is enabled, the attributes invoice.subscription_id and credit_note.subscription_id should not be used (as it will not be present if the invoice / credit note has lines from multiple subscriptions). Instead to know the related subscriptions, their line_items' subscription_id attribute should be referred.

type type
enumerated string, default=card
Type of the payment method.
Possible values are
cardCard based payment including credit cards and debit cards. Details about the card can be obtained from the card resource.paypal_express_checkoutPayments made via PayPal Express Checkout.amazon_paymentsPayments made via Amazon Payments.direct_debitRepresents bank account for which the direct debit or ACH agreement/mandate is created.
Show all values[+]
gateway gateway
enumerated string
Name of the gateway this card is stored with.
Possible values are
chargebeeChargebee test gateway.chargebee_paymentsChargebee Payments gatewayadyenAdyen is a payment gateway.stripeStripe is a payment gateway.
Show all values[+]
gateway_account_id gateway_account_id
optional, string, max chars=50
The gateway account this payment method is stored with.
reference_id reference_id
string, max chars=100
Identifier provided by the gateway to reference that specific card.