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

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
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.

Show all values[+]
gateway
enumerated string

Name of the gateway this card is stored with.


Possible values are
chargebee

Chargebee test gateway.

chargebee_payments

Chargebee Payments gateway

adyen

Adyen is a payment gateway.

stripe

Stripe 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.


type type
enumerated string, default=card

Type of the payment method.


Possible values are
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.

Show all values[+]
gateway gateway
enumerated string

Name of the gateway this card is stored with.


Possible values are
chargebee

Chargebee test gateway.

chargebee_payments

Chargebee Payments gateway

adyen

Adyen is a payment gateway.

stripe

Stripe 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.