Wallet Payment

Create a payment transaction for paying from a prepaid Wallet. Once you have the response, depending on the “method” attribute, you will have to take the next step. If you receive GET, then take the value in the “URL” attribute and redirect the user to this location. If you receive POST, then “params” attribute will hold a map containing key-value pairs.

For Web, you can create a form with these parameters as hidden variables and auto submit the form. Example code in Javascript: Serialize Parameterslink icon.

For Android, serialize this data such that it can be loaded to WebView directly via postData. Example code in Java: Serialize Parameterslink icon.

Scroll inside to view more
payment_method
Wallet name
ALIPAY
ALIPAY Wallet
APPLEPAY
APPLEPAY
GOOGLEPAY
Googlepay Wallet
GRABPAY
GRABPAY WALLET
WECHATPAY
WeChat Pay
ALIPAY
ALIPAY Wallet
GOPAY
GOPAY WALLET
GRABPAY
GRABPAY WALLET
GOOGLEWALLET
Google Wallet
APPLEPAY
APPLEPAY
ZALOPAY
ZaloPay Wallet
VNPAY
VNPAY Wallet
SHOPEEPAY
SHOPEEPAY WALLET
QR_SHOPEEPAY
SHOPEEPAY QR WALLET
QR_GOPAY
GOPAY QR WALLET
GOPAY
GOPAY WALLET
SHOPEEPAY_QR
Shopeepay QR
GOPAY_QR
GoPay QR
DANA
Dana Wallet
DANA_QR
Dana QR
LINKAJA
Linkaja Wallet
LINKAJA_QR
Linkaja QR
OVO_COLLECT
Ovo Collect
GOOGLEWALLET
Google Wallet
LAZADAPAY
LAZADAPAY
LINEPAY
LinePay
WECHATPAY
WeChat Pay
PAOTANGPAY
PAOTANGPAY
GOOGLEWALLET
Google Wallet
GRABPAY
GRABPAY WALLET
APPLEPAY
APPLEPAY
TRUEMONEY
TrueMoney
PAYPAL
PayPal
KBANK_CARD
KBANK Card
FIB
FIB
PAYME
PAYME wallet
STCPAY
StcPay wallet
MWALLET_QR
MWALLET QR wallet

HANDLING POST

When you get POST as the authentication method in the response, then the customer must be redirected using a form. Example HTML code is given to you. Depending on your client language, choose the appropriate way to create the form.

HANDLING GET

When you get GET as the authentication method in the response, you may load the URL directly into the customer’s browser. You can easily achieve this by sending HTTP 302 from your server. However, if the API call was made from the browser, then you can utilize the code snippet provided.

API Endpoints
Production Link
POST
https://api.juspay.in/txns
Authorization Header
Headers
Body
200 : Success
400 : Invalid Input data
Last updated 9 months ago