Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.Try now
ChargebeeAPI

Export payment source

Idempotency Supported

Copies this payment source information to the gateway specified in the API.

This is useful if you want to port your customer's card details into another gateway.

This operation does not support copying of cards from Stripe and Braintree gateways. If you need help using this API, contact support@chargebee.com.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/payment_sources/{cust-payment-source-id}/export_payment_source

Input Parameters

gateway_account_id
required, string, max chars=50

The gateway account you want to copy the card.

Returns

Third party payment method object
Resource object representing third_party_payment_method