UPI Onboarding and Pay
The following parameters are to be passed in request if it is a pay flow i.e., merchantRequestId, merchantVpa, amount.
Unique uuid-v4 string
Example: abcd-12345-abcd-12345
Value: in.juspay.hyperapi
Parameters required to call Hyper SDK API
Operation to be performed in the SDK. Should be onboardingAndPay for this call.
Example:- Value: onboardingAndPay
Customer mobile number. Device binding will take place via this number if the parameter is passed.
Example:- 12 digits mobile number string
Protected payload is a stringified JSON of the details mentioned in the below table.
Key ID to identify the public-private key pair used for signature generation.It will be provided to you by the Juspay team.
Example: uat833359804655gg748702e324111
Algorithm to generate JWS signature in respect to base 64.
Example:- RS256
Generated by base 64 encoding of signaturePayload and Protected.
Base 64 encoded stringified signature payload
Unique identifier associated with an account created by juspay.
Example: stock
As provided by Juspay.
Example: ABC123
VPA of the merchant.
Example: abc@xyz
Amount to be paid. Numeric String with two decimals. If it's use for mutual funds then total amount of the mutual fund would be considered.
Example: 2.00
Merchant generated unique request Id for the transaction.
Example: ABC123456789
Any unique reference associated with your customer.
Example: abcde12345
Mutual funds details payload. If Mutual funds opted then all the parameters inside it are mandatory.
Member Id required for the customer
Example: DECIMLON
User id for the customer.
Example: DECIML
Amount to be passed in mutual fund.
Example: 13.00
Folio number for the particular mutual fund.
Example: 977584255500
Code value of that particular mutual fund
Example: MCGPG
Type of the investment.
Example:- Value: LUMPSUM/SIP
PAN number of the customer
Example: AJJPM7414Q
The asset management company code of the mutual funds.
Example: PLF
Mutual fund partner.
Example:- value: CAMS/NSE/BSE/KFIN
Mutual fund's order number
Example:- 32158
Time when request is created in milliseconds.
Example: 1665996901100
Array of bank account hashes generated using below method:
bankAccountHashes = sha256( account Number + first 4 digit of account IFSC)
From account Number the leading zeros should be removed and then the hash should be calculated.
Eg: accNo = 0000123456789 ifsc = ABCD0000345
Hash will be calculated on 123456789ABCD
Example: ["fejgfvhef67t376", "gryiu349rewiufdhsy8934"]
Reference Id of the account to be used for pay if user is onboarded.
Example: A1234
Pass false to hide payment status screen. Default value: true
Example:- Possible values: true/false
Array of bank codes for the respective bank accounts.
Example: ["550055", "551100"]
Stringified JSON for udf parameters.
Unique uuid-v4 string
Example: abcd-12345-abcd-12345
Value: in.juspay.hyperapi
Response Parameters
Operation performed in the SDK.
Example:- Value: onboardingAndPay
Status of the Operation. Possible values : SUCCESS, PENDING, FAILURE, Pay_Failure, BACKPRESS, USER_ABORTED
Example: SUCCESS
Account selected for payment
UPI ID linked to account
Example: abc@xyz
Account Details
Bank Code
Example: 123456
Bank Name
Example: YES Bank
Account Number with last few digits visible
Example: XXXXXXXXX1234
Is MPIN set?
Example:- Value: true/false
Unique Identifier for the account
Example: abcd1234xyz
Is the account primary?
Example:- Value: true/false
IFSC Code
Example: ABCD0123456
Order Id of the transaction.
Example: ABC123456789
Mutual funds details payload. If Mutual funds opted then all the parameters inside it are mandatory.
Member Id required for the customer
Example: DECIMLON
User id for the customer.
Example: DECIML
Amount to be passed in mutual fund.
Example: 13.00
Folio number for the particular mutual fund.
Example: 977584255500
Code value of that particular mutual fund
Example: MCGPG
Type of the investment.
Example:- Value: LUMPSUM/SIP
PAN number of the customer
Example: AJJPM7414Q
The asset management company code of the mutual funds.
Example: PLF
Mutual fund partner.
Example:- value: CAMS/NSE/BSE/KFIN
Mutual fund's order number
Example:- 32158
Unique reference number for the transaction
Example: ABC123456789
Reference Id for selected for the account.
Example: abcd12345abcde
As passed in request
Possible values :- true/false
Error Message
Error Code
Value: process_result
For more calls refer this section Additional Processes

