Build payments into your product with TPE virtual. Start integrating →
Logo

Plan your integration

Decide the order to build in, and which form, amount and usage settings each payment needs.

Build in this order

  1. Submit KYC.
  2. Request a payment instance.
  3. Optional: build a form.
  4. Create a payment link for a payment anyone with the URL can make, or a payment plan to split a total into instalments for one customer.
  5. Receive webhooks.

Make three decisions for each payment

Choose the amount mode

You wantamount_modeSet
A set pricefixedamount
The payer to chooseopenOptional: min_amount, max_amount
The payer to pick from preset amountsoptionsamount_options, optional allow_custom_amount

Choose the usage mode

Scenariousage_modeNotes
One customer pays one invoiceone_shotBecomes exhausted after the first payment.
You sell a fixed quantitylimitedSet max_uses.
A permanent "pay us" linkreusableWorks until you archive it.
You collect up to a targetcapped_amountSet target_amount.
Payable only during a sale or eventtime_windowSet starts_at and ends_at.
Only specific people may paywhitelistSet allowed_payers.

Examples

Use caseFormamount_modeusage_mode
Store order with delivery detailsYesfixedone_shot
Bill-payment link used by every clientNoopenreusable
100 event tickets, with the attendee's nameYesfixedlimited
Donation drive with a goalOptionalopencapped_amount
Private invoice for two named clientsYesfixedwhitelist

Keep your own IDs mapped

Store the UUID of each MyTPE resource against your own record, so you can match webhooks and reads later. Use a payment link's metadata to carry your own reference.

You never handle card data. MyTPE handles the card entry and the gateway.

On this page