POST
/
api
/
v1
/
merchants
/
payout
/
create
curl --request POST \
  --url https://payvra.com/api/v1/merchants/payout/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "currency": "<string>",
  "network": "<string>",
  "amount": 1,
  "address": "<string>"
}'
{
  "id": "<string>",
  "wallet": {
    "merchantId": "<string>",
    "currency": {
      "symbol": "<string>"
    }
  },
  "network": {
    "network": "<string>"
  },
  "status": "PROCESSING",
  "address": "<string>",
  "txHash": "<string>",
  "amount": 123,
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
currency
string
required

Cryptocurrency symbol

network
string
required

Network for the cryptocurrency

amount
number
required

Amount to withdraw

Required range: x >= 0Must be a multiple of 1e-8
address
string
required

Destination address for the payout

Response

200
application/json
Payout created successfully
id
string

Unique identifier of the payout

wallet
object
network
object
status
enum<string>
Available options:
PROCESSING,
CONFIRMING,
COMPLETED,
REJECTED
address
string
txHash
string | null
amount
number
createdAt
string