API v1FiatPe Home
ONLINE PAYMENTS

Payment Gateway

Compare Hosted Checkout and Embedded Checkout, then choose the FiatPe payment integration that best fits your customer journey and engineering needs.

Accept and manage online payments

FiatPe Payment Gateway connects your website or application with supported payment methods through a secure checkout. Choose Hosted Checkout for the quickest redirect-based integration, or Embedded Checkout when the payment experience should open from your own page. In both cases, your backend controls the payment context and verifies the final result.

Multiple payment methods

Offer eligible cards, UPI experiences, net banking, and wallets from a unified checkout.

cards ยท UPI ยท banks ยท wallets

Test and Live modes

Validate complete payment journeys with Test credentials before activating Live processing.

Test โ†’ validate โ†’ Live

Server-side security

Create orders, protect credentials, verify signatures, and confirm final status on your backend.

order โ†’ signature โ†’ status

Reliable updates

Use callbacks and status reconciliation to handle delayed, duplicate, or interrupted customer journeys.

callback โ†’ reconcile โ†’ fulfil

Choose your checkout experience

Both options support secure online payments. Choose based on where you want customers to complete checkout and how much control your frontend team needs over the surrounding experience.

Not sure which one to choose?

Start with Hosted Checkout when speed and minimal frontend work are the priority. Choose Embedded Checkout when keeping customers in your website experience is more important and your team can manage the additional browser integration.

Hosted Checkout vs Embedded Checkout

ConsiderationHosted CheckoutEmbedded Checkout
Customer journeyCustomer is redirected to a FiatPe-hosted page.Checkout opens from your own website page.
Integration effortLower; create a Checkout Session and redirect.Moderate; create an order and integrate Checkout.js.
Frontend ownershipFiatPe manages the checkout-page experience.You control the page, trigger, placement, and surrounding content.
Best suited forQuick launches, simple websites, and teams with limited frontend work.Product-led journeys that need a closer fit with the merchant website.
Backend responsibilityCreate the session, validate the result, and process callbacks securely.Create the order, verify the result, and process callbacks securely.

Never expose secret credentials in browser code. Regardless of the checkout type, confirm the final payment status on your server before delivering goods or services.

How the Payment Gateway works

01

Create the payment context

Your backend creates an order or Checkout Session for the payable amount. Keep secret credentials on the server.

02

Open the selected checkout

Redirect to Hosted Checkout or launch Embedded Checkout from your website using Checkout.js.

03

Payment is authenticated

The customer completes the required bank, card, UPI, net-banking, or wallet authentication.

04

FiatPe returns the result

The checkout flow returns payment identifiers while server callbacks provide durable payment updates.

05

Merchant verifies and fulfils

Your backend verifies the signature and final status before updating the order exactly once.

Explore more integration resources