TOKEN_SUCCESS event to capture the customer_account_token.
You’ll need your username, secret, and participant_id to follow this guide. These are provisioned by your Ingo integration manager at onboarding. See Authentication for the signing guide.
Environments
| Environment | Base URL (Session API) |
|---|---|
| Sandbox | https://iip-session-management-uat.ingo.money |
| Production | https://iip-session-management.ingo.money |
Step 1 — Create a session
Step 1 — Create a session
Your server calls the Session Management API with the recipient’s details. This is
the only step that requires HMAC-SHA512 signing. The response returns an
Successful response:
authorized_url that your client uses to mount the SDK.Step 2 — Include the SDK
Step 2 — Include the SDK
Add the Ingo Instant Payments SDK script to your page:Add a container element in your HTML where the iFrame will be mounted:
Step 3 — Initialize and mount the SDK
Step 3 — Initialize and mount the SDK
Create an SDK instance attached to your container element, then mount it using the
Available funding destinations:
authorized_url from step 1 and the desired funding destination:| Constant | Payment Type |
|---|---|
FUNDING_DESTINATIONS.DEBIT | Debit card |
FUNDING_DESTINATIONS.CREDIT | Credit card |
FUNDING_DESTINATIONS.ACH | Bank account (ACH) |
FUNDING_DESTINATIONS.BILLPAY | BillPay |
FUNDING_DESTINATIONS.PAYPAL | PayPal |
Step 4 — Handle the TOKEN_SUCCESS event
Step 4 — Handle the TOKEN_SUCCESS event
Register an event listener for The full event payload:Once you have the token, pass it into any IngoPay process call to push funds or any IngoPay debit call to pull funds. If your product mix includes the Banking Platform, include the ledger routing object in the IngoPay call to direct the transaction to the correct entity’s ledger; otherwise no additional fields are required. See Push Funds to an Account and Pull Funds from an Account for the complete payment type reference.
TOKEN_SUCCESS before or immediately after mounting.
This event fires when the recipient has successfully entered and confirmed their
account details — it contains the customer_account_token you’ll use for all
future IngoPay calls.Also register listeners for
TERMINAL_FAILURE and MAX_VERIFICATION_ATTEMPTS_EXCEEDED to handle cases where the recipient cannot be verified. See SDK Events for the full event reference.What’s next
Session Management
Idempotency, locale configuration, and session lifecycle.
SDK Reference
Full SDK method reference — create, mount, and addEventListener.
SDK Events
All event types, payloads, and error codes.
Authentication
HMAC-SHA512 signing for the Session Create API.