Pay3 React Native SDK
Transactions
2min
The application can use getCheckoutWebView, which returns a WebView component from react-native-webviewnpm package. Here the Pay3 modal will guide user through fiat payment services and deposit the payment to the app's Fiat account.
Parameters
- requestId (Type string): App needs to generate a unique identifier for every checkout call. This id will be provided in the Javascript events and Webhooks callbacks. This id can be used by the App to identify and update state in App's backend.
- user : User details can be passed to Pay3 in this object.
- email (Type string): Provide valid email address of user. This data will be passed to partner service during the Fiat checkout flow. Payment partner may send mails to user updating them status of their transaction.
- payment : This section provides is the amount payable by the user of your platform. It could be cost price of your digital asset user wishes to checkout.
- amount (Type string): String representing currency amount in two decimal precision. The amount is provided separately for each supported currency.
- name (Type string): Name of the currency supported in the purchase flow. The name will be provided by Pay3 during Onboarding.
- userMessage (Type string): Short meaningful name of the asset user is about to purchase.
Updated 08 Feb 2024
Did this page help you?