Create invoice UPI (POST)
POST
REQUEST
The query is an HTTP POST request where your provided api key will be used as an http header.
API-KEY (Use the api key we’ve sent to you here).
“API-KEY: 0d8d8e89a6cdcd”
amount (Mandatory)
15.04 or 42
point “.” is a decimal symbol
devise (Mandatory)
USD
This is the currency to be used. Set it to USD. You’ll need to do the exchange on your side to USD if you use another currency
name (Optional)
Jaya James
The name of your customer
personal_id (Optional)
45861024531
Payer's Identity ID (11 digits)
success_url (Optional)
After successful payment.. we will redirect the payment page to the page of this URL
cancel_url (Optional)
After canceled payment. we will redirect the payment page to the page of this URL
pending_url (Optional)
After payment, if its status is still pending, we will redirect the payment page to the page of this URL
failure_url (Optional)
String | null
After failed or decline payment.. we will redirect the payment page to the page of this URL
callbackJson (Optional)
Data type : json
Eg : {txId : qktr12eqzg, status : sfrt}
Merchant Data. After successful or canceled payment. we send it to you through the callback url.
payment_solution_type (optional)
CARD or UPI or CRYPTO You can see how to retrieve them via this menu: Get available payment solution type (GET)
To be completed only with the agreement of technical support
payment_solution_name (optional)
List of available payment solutions you can use You can see how to retrieve them via this menu: Get available payment solution name (GET)
To be completed only with the agreement of technical support
RESPONSE
Our service will return a JSON object.
For Errors :
50001 : API-KEY required
50002 : email required
50003 : amount required
50004 : devise required
50005 : invalid email address
50006 : this API-KEY can not use this API from this IP address
50007 : invalid API-KEY
50008 : You cannot create a sale because your wallet is being validated and activated.You will receive a confirmation email as soon as the treatment process is completed.While waiting for the final activation, you can still change it from https://usdc.nonstopay.net/client/profile the profile page
50009 : invalid devise
50010 : No IP is linked to your account. Please enter them in your profile page and API block
50011 : Your amount is ABOVE the allowed maximum amount
50012 : Your amount is BELOW the allowed minimum amount
Example :
Success Response :
0 :
- redirectUrl : URL_TO_PAY
Use this url if you plan an automated redirection and with S2S direct to valid 3D secure
- html :
Use this to integrate as an html link on your page. It does not exists in S2S direct
With S2S direct integration we also send :
- status : Transaction Status
- ID : Transation ID
Example :
Last updated