Pay3 Unity Integration

Transactions

2min

TriggerOpenCheckout

The application can use TriggerOpenCheckout to receive payments from the users. Here the Pay3 modal will guide user through fiat payment services and deposit the payment to the app's Fiat account.

checkoutPayload : JSON string with following parameters

  1. requestId (Type string): App needs to generate a unique identifier for every checkout call. This ID will be provided in the events and Webhooks callbacks. This ID can be used by the App to identify and update state in App's backend.
  2. user (Type Object): User details can be passed to Pay3 in this object.
    1. email (Type string): Provide valid email address of user. This data will be passed to paymen partner during the Fiat checkout flow. Payment Partner might send mails to user updating them status of their transaction.
  3. payment (Type Object): 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.
    1. amount (Type string): String representing currency amount in two decimal precision. The amount is provided separately for each supported currency.
    2. name (Type string): Name of the currency supported in the purchase flow. The name will be provided by Pay3 during Onboarding.
  4. userMessage (Type string): Short meaningful name of the asset user is about to purchase
Pay3Helper.cs




Updated 08 Feb 2024
Doc contributor
Doc contributor
Did this page help you?