API v1FiatPe Home
FiatPeDocs
SERVER 2 SERVER

Server-to-Server Payments

Create and control payment flows directly from your secure backend using FiatPe’s S2S APIs.

How Server-to-Server payments work

With a Server-to-Server integration, your backend creates the order, securely sends the payment details to FiatPe, and handles the action returned in the next array. Your server must confirm the final payment status before fulfilling the order.

  1. Create a FiatPe order from your backend.
  2. Initiate the payment using the required payment method and customer details.
  3. Handle the Native, Redirect, or HTML Form action returned by FiatPe.
  4. Verify the final result on your backend and process webhooks idempotently.

Supported response flows

Test every response flow in UAT before going live.

Your integration must successfully handle Native, Redirect, and HTML Form flows in the UAT environment. The flow returned for a transaction can vary based on the configured TID, acquiring bank, issuing bank, payment network, payment method, and other transaction parameters.

Do not hardcode a flow for a card, bank, wallet, or PayLater provider. Always inspect the returned next[].action value and process otp_submit, resend_otp, redirect, or html_form as instructed by the API response.

FlowResponse actionHow to handle it
Nativeotp_submit and resend_otpCollect the OTP in your interface and use the returned action endpoints to submit or resend it.
RedirectredirectNavigate the customer’s browser to the URL returned in next[0].url.
HTML Formhtml_formRender the returned html_content as a complete HTML document in the customer’s browser.

PCI DSS certificate is required

Server-to-Server access is enabled after compliance review.

To use FiatPe Server-to-Server payments, submit your valid PCI DSS certificate to FiatPe for verification. The feature remains disabled until the certificate and your integration setup are approved.

Your systems must protect payment credentials and sensitive customer data throughout collection, transmission, processing, and storage. Never log or store CVVs, card OTPs, full card numbers, API secrets, or other authentication data unless explicitly permitted by PCI DSS.

Available payment methods

Use the method-specific guides to implement and test each supported integration.

Payment methodGuideSupported flows
UPI CollectOpen guideCollect
UPI IntentOpen guideIntent
CardOpen guideNative, Redirect, HTML Form
Card TokenisationOpen guideNetwork Token, Native, Redirect, HTML Form
Net BankingOpen guideRedirect, HTML Form
WalletOpen guideRedirect, HTML Form
PayLaterOpen guideRedirect, HTML Form
Cardless EMIOpen guideRedirect, HTML Form
EMIOpen guideNative, Redirect, HTML Form

Supported card networks

FiatPe Server-to-Server card payments support the following card networks, subject to your account configuration and acquiring setup.

Card networkAvailability
VisaSupported
MastercardSupported
American ExpressSupported
BajajSupported
MaestroSupported
RuPaySupported
DinersAvailable only to private limited companies and registered businesses.