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

Create a hosted page to view Boleto vouchers

Idempotency Supported

Creates a hosted_page resource of type, view_voucher . When your end customers choose the Boleto payment method, you can generate a voucher for their pending invoice. Using this API, you can create a voucher_detail hosted page for your customers and email them a link to this hosted page. Your customers can review the voucher details on the page by clicking the link in the email.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/hosted_pages/view_voucher

Input Parameters

payment_voucher
Parameters for payment_voucher
pass parameters as payment_voucher[<param name>]
customer
Parameters for customer
pass parameters as customer[<param name>]

Returns

Hosted page object
Resource object representing hosted_page