Repeat User Direct Transaction
This operation retrieves all the linked enrollments with provided customerId from particular device. All the returned enrollments (containers) should be shown to the user on your payment page. On Selection of the listed container, a process should be made with and service as in.juspay.hyperpay and action as pixBiometricTxn
Create Payload to call Process API for Direct Biometric transaction. Refer code snippets on the right for reference.
Once the SDK Process Functions are invoked, the JUSPAY SDK takes care of invoking the FIDO authentication and complete the payment with the most seamless User experience.
Unique uuid-v4 string
Example: abcd-12345-abcd-12345
Value: in.juspay.hyperpay
Parameters required to call Hyper SDK
This is mandatory parameter and should be pixBiometricTxn for repeat enrollment transaction.
order id pertaining to the order for which the payment is started.
Required for client side authentication
Mandatory for BRL transactions
This is the date when user first registered on your application in the format of YYYY-MM-DD.
Example: 2020-12-09
Amount that the customer has to pay. Will accept stringified double or integer values with upto two decimal places. For example, "100.15" and "100" are valid input but "100.1532" is not valid.
Example:-
1.00
It is the ID with which merchant refers to a customer object. This id is used to access the stored payment methods, allow instalment transactions and setup subscriptions.
In case of guest login it should be an empty string.
Example:-
customer-id-007
Email address of the customer. If the backend gateway requires it, then you must send this value.
Constraints : You are allowed to use alphanumeric characters and the following special characters:!#$%&'*+-/=?^_.{|}~`@
_ and . cannot appear at the beginning or end of the local part of the email address (before and after the @ symbol).
Example:-
test@gmail.com
Mobile number or fixed line number of the customer. If the backend gateway requires it, then you must send this value. We recommend passing a 10-digit number without including the "+55" or any mobile country code at the beginning.
Example:-
9999999912
A unique identifier of merchant for all client-side requests. This is available in welcome e-mail shared by Juspay
Example:-
sampleMerchantId
A fully qualified URL on which the customer will be redirected after payment completion. It is also required to provide the control back to SDK after the completion of transaction. This URL takes higher precedence over the common return URL configured in your account settings.
NOTE:
URL shouldn't contain any query parameters or Ip address.
URL should be a valid HTTPS endpoint that is reachable from Juspay servers.
Return URL should not redirect to a different URL.
Please ensure to pass a valid return URL in the session API call or configure it on the Juspay Dashboard. Not doing the same will lead the SDK not being closed post transaction completion.
Example:-
https://shop.merchant.com
First Name of customer. This value will be used for customer identification.
Constraints : You are allowed to use alphanumeric characters and the following special characters: ().-_
Example:-
John
Last name of customer. This value will be used for customer identification.
Constraints : You are allowed to use alphanumeric characters and the following special characters: ().-_
Example:-
Wick
Description for order to be displayed to the user on amountBar.
Example:-
Complete your payment
value of containerId received in list container api.
Example : cont_s6uaHVnTNmSp2KBm

