POST
/
account
curl --request POST \
  --url https://staging-api.getpartna.com/v4/account \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-user: <api-key>' \
  --data '{
  "accountName": "john_joe",
  "type": "crypto"
}'
{
  "message": "success",
  "data": {
    "BNB": {
      "balance": 0,
      "pendingDebit": 0,
      "accountName": "account11",
      "asset": [
        {
          "id": "0xF35DfBc358cb8A81E2Be209f46eF6d277154280D",
          "type": "crypto",
          "meta": null
        }
      ]
    },
    "BTC": {
      "balance": 0,
      "pendingDebit": 0,
      "accountName": "account11",
      "asset": [
        {
          "id": "tb1qehhmedtvzt00et5juvlytzfkn90a4ryvfffmv0",
          "type": "crypto",
          "meta": null
        }
      ]
    },
    "ETH": {
      "balance": 0,
      "pendingDebit": 0,
      "accountName": "account11",
      "asset": [
        {
          "id": "0xF35DfBc358cb8A81E2Be209f46eF6d277154280D",
          "type": "crypto",
          "meta": null
        }
      ]
    },
    "USD": {
      "balance": 0,
      "pendingDebit": 0,
      "accountName": "account11",
      "asset": [
        {
          "id": "0xF35DfBc358cb8A81E2Be209f46eF6d277154280D",
          "type": "crypto",
          "meta": null
        },
        {
          "id": "TYA1nkwKWWak1qE6V7zcnrQVUfJHWaL1Yh",
          "type": "crypto",
          "meta": null
        }
      ]
    }
  }
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Body

application/json
accountName
string
type
enum<string>
Available options:
crypto,
dollar,
naira

Response

201
application/json
create account
data
object
message
string