Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.
Chargebeechargebee API

Create a voucher payment method

Idempotency Supported

Create a voucher payment method for the payment source.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/payment_sources/create_voucher_payment_source

Input Parameters

customer_id
required, string, max chars=50

Identifier of the customer with whom this payment source is associated.

voucher_payment_source
Parameters for voucher_payment_source
pass parameters as voucher_payment_source[<param name>]

Returns

Customer object
Resource object representing customer
Payment source object
Resource object representing payment_source