---
updatedAt: 2026-08-09T10:20:29.000Z
agentTools:
  projectIndex: https://mifinity.readme.io/llms.txt
---

# iFrame

Integrate the MiFinity iFrame to offer your clients multiple payment options — eWallet balance, card payments, and local banking — directly from your site.

## How It Works

<Cards>
  <Card title="1. Registration" icon="fa-user-plus">
    The client provides an email address and confirms the pre-filled details passed by your integration. No lengthy sign-up required.
  </Card>

  <Card title="2. Payment" icon="fa-credit-card">
    The client chooses a payment method — enter card details or select a local banking option — and completes the transaction.
  </Card>

  <Card title="3. Done" icon="fa-circle-check">
    The client is redirected back to your site. Funds are credited to your merchant account immediately.
  </Card>
</Cards>

## Prerequisites

<Callout icon="🔑" theme="info">
  Obtain your **API Key** and **AccountHolderID** before making API calls. These are the only credentials you need to get started.
</Callout>

## Initialize the iFrame

Use the endpoint below to receive an initialization token for the SGPG iFrame.

<Callout icon="⏱️" theme="warning">
  The initialization token expires after **30 minutes**. Generate a new token if yours has expired.
</Callout>

<Tabs>
  <Tab title="Endpoint">
    **POST**` https://demo.mifinity.com/pegasus-ci/api/gateway/init-iframe/`
  </Tab>
</Tabs>

<br />

<Callout icon="📘" theme="info">
  ### See the full [Deposit API Reference](https://mifinity.readme.io/reference/deposit-api#/) for request parameters and response details.
</Callout>