Skip to main content
OpenCard ships embeddable JS plugins for partner sites. These are optional UI helpers. For the full API path (billing → TPA → organization → webhook → card holders), start with Customer onboarding — you can integrate without these plugins.

ocTPA — TPA onboarding wizard

Self-service wizard that mirrors customer onboarding steps 1–4:
  1. Pick payment product (GET .../payment-products on the account)
  2. Pick add-ons (transactions + optional enrichment)
  3. Invoice email / reference
  4. Signatory combination + emails (GET .../publicrecords)
  5. Hand payload to you via onDataSend
Load:
Init:
The plugin stops at the TPA. It never creates the organization or the webhook — there is nothing in the onDataSend payload for them, because the webhook URL is your endpoint, not client input. You must create both in your onDataSend handler (or immediately after) using the ids returned from the billing and TPA calls. A client with a TPA but no webhook will fail at PDPC signing. See The order matters.

onDataSend payload


Lightweight modal that opens the PDPC signing URL in a new tab.
Display-only. No API calls.