- Introduction
- Process Flow
- Error Codes
- Common APIs
- Payout APIs
- Add NEFT/IMPS BeneficiaryPOST
- Add UPI BeneficiaryPOST
- Delete BeneficiaryPOST
- Get Beneficiary ListPOST
- NEFT/IMPS Validate BeneficiaryPOST
- Validate UPI BeneficiaryPOST
- Payout Transaction RequestPOST
- Direct Payout Transaction RequestPOST
- Transaction StatusPOST
- Transaction Status By Request IDPOST
- Payout Transaction ComplainPOST
- Payout CallbackPOST
- Virtual Account Wallet Credit CallbackPOST
- Service Bank ListPOST
- Service ListPOST
- Payin APIs
Generate Merchant PG Order
Testing
POST
/Payin/Action/generateMerchantPgOrder
Request
Body Params application/json
requestid
string
required
api_key
string
required
api_secret
string
required
amount
string
required
lat
string
optional
long
string
optional
mode
string
optional
payment_mobile
string
required
payment_email
string
required
payment_description
string
optional
redirection_url
string
required
webhook_url
string
optional
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-04-10 11:30:22