- You want to sell subscriptions to consumers you don’t already bill directly.
- You want card payments handled by a provider that already holds your PCI compliance and tax obligations and is acting as teh Merchant of Record on your behalf
- You want Bango to keep owning the subscription lifecycle, plans, phases, renewals, entitlements, rather than splitting it across multiple systems.
Before you start
Payment Gateway charging is enabled by Bango, Talk to your Bango account contact to:- Choose your provider. Bango integrates with a set of supported Payment service providers. Your account contact will confirm which providers are available for your market.
- Connect your account. You hold the commercial relationship with the PSP. Bango needs credentials to create checkouts and submit charges on your behalf.
- Map your product categories. Some providers require a product category on every checkout for tax purposes. Bango passes this through.
- Agree your redirect URLs. You’ll supply success and failure URLs per request (see below), but Bango needs to allow-list the domains.
The purchase journey
1. Create the consumer offer
CallPOST /consumerOffers as you do today, with one addition: redirectionParameters, telling Bango where to send the consumer after checkout.
2. Redirect the consumer to checkout
Where an add-to-bill offer would return a created offer, a payment gateway offer returns an action for you to perform:action.url. Do not embed it in an iframe — providers block this, and some journeys require full-page redirects for strong customer authentication.
At this point nothing has been provisioned. No entitlements exist, no plan has started, and no money has moved.
3. Wait for the offer to complete
When the consumer finishes checkout, the payment gateway notifies the DVM directly and returns the consumer to yoursuccessUrl. Bango then creates the entitlements and starts the billing plan.
4. Activate
Present the activation URLs to the consumer as normal. Depending on your offer’s start trigger, the first charge is taken when the offer is fully created or when it is fully activated.When checkout doesn’t complete
Two things can go wrong, and they look different to you. The consumer abandons. They close the tab, or never finish. The payment is refused. The payment Gateway rejects the card, returns the consumer to yourfailureUrl, and tells teh DVM . The offer moves to status: "REQUESTED", subStatus: "ACTION_FAILED".
In life
Renewals, phase changes and price changes need nothing from you. The DVM notifies the Payment Gateway ahead of each renewal, then submits the charge on the due date. Your existing reseller notifications are unaffected. Payment method updates are handled by the Payment Gateway, not by the DVM. Providers require this for compliance. After checkout, the consumer receives details from the provider for managing their payment method.Cancellations and refunds
Your cancellation APIs are unchanged.- Soft cancellation: The DVM tells the payment gateway the subscription is ending, stops further renewals at end of term, and confirms when it has ended.
- Hard cancellation: The DVM tells the Payment Gateway to stop charging immediately, then submits a pro-rated refund against the original payment.

