VyomPay
  1. Payin APIs
VyomPay
  • Introduction
  • Process Flow
  • Error Codes
  • Common APIs
    • Wallet Balance Check
      POST
  • Payout APIs
    • Add NEFT/IMPS Beneficiary
      POST
    • Add UPI Beneficiary
      POST
    • Delete Beneficiary
      POST
    • Get Beneficiary List
      POST
    • NEFT/IMPS Validate Beneficiary
      POST
    • Validate UPI Beneficiary
      POST
    • Payout Transaction Request
      POST
    • Direct Payout Transaction Request
      POST
    • Transaction Status
      POST
    • Transaction Status By Request ID
      POST
    • Payout Transaction Complain
      POST
    • Payout Callback
      POST
    • Virtual Account Wallet Credit Callback
      POST
    • Service Bank List
      POST
    • Service List
      POST
  • Payin APIs
    • Generate Merchant Payment Link
      POST
    • Generate Merchant PG Order
      POST
    • Generate Merchant UPI PG QR
      POST
    • Merchant UTR Process
      POST
    • Check Order Status
      POST
    • Payin Callback
      POST
  1. Payin APIs

Generate Merchant PG Order

Testing
POST
/Payin/Action/generateMerchantPgOrder

Request

Body Params application/json
requestid
string 
required
A unique id referencing the current request
api_key
string 
required
api_key
api_secret
string 
required
api_secret
amount
string 
required
Amount
lat
string 
optional
long
string 
optional
mode
string 
required
"MERCHANTQR", "UPIINT"
payment_mobile
string 
required
Mobile Number
payment_email
string 
required
Email
payment_description
string 
optional
Description of the Payin
redirection_url
string 
required
Where to redirect after Payin
webhook_url
string 
optional
URL where we can send status
Example
{
    "requestid": "{{request_id}}",
    "api_key": "f68db941819657a1434b9bce0cd9811e",
    "api_secret": "cabfc6c85d2c1ec57905d6f230784ca8",
    "amount": "100.00",
    "lat": "28.5392731",
    "long": "77.2822805",
    "mode": "MERCHANTQR",
    "payment_mobile": "9865327410",
    "payment_email": "test@test.com",
    "payment_description": "",
    "redirection_url": "http://google.com/testPaymentPgReturn/",
    "webhook_url": "http://google.com/testPaymentPgWebhook/"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://uat.nandishatech.com/WS/v1/Payin/Action/generateMerchantPgOrder' \
--header 'Content-Type: application/json' \
--data-raw '{
    "requestid": "{{request_id}}",
    "api_key": "f68db941819657a1434b9bce0cd9811e",
    "api_secret": "cabfc6c85d2c1ec57905d6f230784ca8",
    "amount": "100.00",
    "lat": "28.5392731",
    "long": "77.2822805",
    "mode": "MERCHANTQR",
    "payment_mobile": "9865327410",
    "payment_email": "test@test.com",
    "payment_description": "",
    "redirection_url": "http://google.com/testPaymentPgReturn/",
    "webhook_url": "http://google.com/testPaymentPgWebhook/"
}'

Responses

🟢200Generate Merchant PG Order
application/json
Body
Resp_code
string 
required
Resp_desc
string 
required
requestid
string 
required
data
object 
required
order_id
string 
required
payment_url
string 
required
link_created_on
string 
required
Example
{
    "Resp_code": "RCS",
    "Resp_desc": "Payment link generated successfully!!",
    "requestid": "7b86f4a9fa844cf09cb3a",
    "data": {
        "order_id": "POR240923152558FWNVSANA",
        "payment_url": "http://localhost/git/HostedPayin/PgPayment/z2jDtyAsUFYdrK9wvt56brxf77tWPA7UZ96zs6xhkEbnqhZ%2FL%2BTNWILHsRbiUvKpCMoBo3oEHWw1ecrQVZfNM1RMK4Aic%2Facy7r1EHcHRg2yrauKNabjlPc0TgikibjYXGiHn4p4V3UKEUatR50sWqrfskM%2BYsoRsmfaaTcxDJacSsYMp2zPVD0pJ%2FK%2B6CMThgNyJT9pVjrvmn9L9BbCxPNi%2FzofphvGlI4NrulaJaQCsFUM%2BzJ4mSc5iwe2TfbAl99O34VasjLHn74MB5mmiexh5Doe2hHAlcGMfphwLgHdjqo1uBpXB%2BPCsOUBTo7O",
        "link_created_on": "2024-09-23 15:25:58"
    }
}
Modified at 2025-06-17 07:57:28
Previous
Generate Merchant Payment Link
Next
Generate Merchant UPI PG QR
Built with