Skip to main content

UPI

Quick Start
  1. Sign up at npci.org.in and obtain API credentials
  2. Create a terminal in the Admin Console with the parameters below
  3. Start processing — the adapter is pre-built and ready to use

Go to UPI →

Overview

UPI payment integration

Provider IDupi
CategoryBank Transfers
Websitenpci.org.in

Authentication

  • Method: Basic Auth (Base64)

Configuration

Required Parameters

ParameterDescription
psp_idPSP ID
merchant_idMerchant ID
merchant_vpaMerchant VPA
api_keyAPI Key
api_secretAPI Secret
base_urlBase URL

Example Configuration

{
"provider": "upi",
"provider_params": {
"psp_id": "your_psp_id_here",
"merchant_id": "your_merchant_id_here",
"merchant_vpa": "your_merchant_vpa_here",
"api_key": "your_api_key_here",
"api_secret": "your_api_secret_here",
"base_url": "your_base_url_here"
}
}

Status Mapping

Provider Status4pay StatusDescription
successcharged
completedcharged
deemedcharged
SUCCESScharged
COMPLETEDcharged
DEEMEDcharged
pendingcharging
PENDINGcharging
failedfailed
expiredfailed
FAILEDfailed
EXPIREDfailed
declinedrejected
DECLINEDrejected

Resources