first_name
last_name
email
country_code
phone_number
id
. For additional information, see the Metadata documentation page. In addition, you can later update the user account using the Update a User endpoint.
The following code block presents request and response examples of creating a user.
id
in the response upon successful creation.
user_id
, which is the same id
received in step 1.
manage-payouts
step. In addition, you must inform the user_id
you received in Step 1. The following code block presents request and response examples of creating a Flow with the described configurations.
link
to embed the Flow into an iframe within your application or redirect the user.
fund: true
to transfer the funds from the app wallet to the user wallet and automatically create a payout from the user wallet using the default payment method.amount
and the user_id
, which you received in Step 1. The following code block presents request and response examples of creating a transfer.
amount
, user_id
, and platform
. For the amount
, you can inform a value different from the one used when creating the transfer, however, if the user doesn’t have enough funds the transaction will fail. Regarding the platform
, if the user has a default payout method, you can set platform: default
. If the user hasn’t defined a default payout method, you must collect their preferences and payout information and include the information in the request to the Create a Payout endpoint. The following code block presents request and response examples of creating a payout.
amount
: Inform the payout amount the user will receive.user_id
: The user identification you received in Step 1.platform
: If the user has a default payout method, you can set platform: default
. If the user hasn’t defined a default payout method, you must collect their preferences and payout information.fund
: It must be set equal to true
to enable Dots to create a transfer for the amount to the user before creating the payout. The funds are returned if the payout does not succeed.