Introducing the Chargebee CLI

Create a voucher payment method

Open in Postman

Create a voucher payment method for the payment source.

Sample Request

Open in Postman

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