SellAuth

Crypto Wallet

Get Payouts

Retrieves the crypto wallets payout history.

GET
/v1/shops/{shopId}/payouts

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/payouts" \
  -H "Authorization: Bearer <token>"

{
  "current_page": 1,
  "data": [],
  "first_page_url": "https://api.sellauth.com/v1/shops/38/payouts?page=1",
  "from": null,
  "last_page": 1,
  "last_page_url": "https://api.sellauth.com/v1/shops/38/payouts?page=1",
  "links": [
    {
      "url": null,
      "label": "&laquo; Previous",
      "active": false
    },
    {
      "url": "https://api.sellauth.com/v1/shops/38/payouts?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next &raquo;",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "https://api.sellauth.com/v1/shops/38/payouts",
  "per_page": 20,
  "prev_page_url": null,
  "to": null,
  "total": 0
}

Get Balances

Retreive the current balances of the crypto wallets.

GET
/v1/shops/{shopId}/payouts/balances

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/payouts/balances" \
  -H "Authorization: Bearer <token>"

{
  "btc": {
    "btc": 0,
    "usd": 0
  },
  "ltc": {
    "ltc": null,
    "usd": null
  },
  "addresses": {
    "btc": "",
    "ltc": null
  }
}

Payout

Payout the crypto from the wallet.

POST
/v1/shops/{shopId}/payouts/payout

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

application/jsonRequired
currencyRequiredstring
Value in: "btc" | "ltc"
addressRequiredstring
amountRequirednumber
passwordstring

Must not be greater than 255 characters.

otpstring

Must not be greater than 6 characters.

tfa_codestring

Must not be greater than 8 characters.

remember_mfaboolean

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/payouts/payout" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "currency": "ltc",
    "address": "culpa",
    "amount": 6.5279,
    "password": "rc~qhvY2Z^@FxLpH>?R4",
    "otp": "owtz",
    "tfa_code": "mixko",
    "remember_mfa": false
  }'

Get Transactions

Retrieves the transaction history for the crypto wallets.

GET
/v1/shops/{shopId}/payouts/transactions

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/payouts/transactions" \
  -H "Authorization: Bearer <token>"

{
  "data": [],
  "per_page": 10,
  "total": -1
}