ChargebeeAPI

Export payment source

Idempotency Supported
Try in API Explorer

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

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_methodThird party payment method object

Resource object representing third_party_payment_method