Skip to main content
POST
/
accounts
Create an account
curl --request POST \
  --url https://sandbox.api.reap.global/accounts/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Reap-Version: <reap-version>' \
  --header 'idempotency-key: <idempotency-key>' \
  --data '
{
  "ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "signers": {}
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "ACTIVE",
  "ownerType": "USER",
  "ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "chainAddresses": [
    {
      "chainId": "ETHEREUM_MAINNET",
      "address": "<string>"
    }
  ],
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

API key as Bearer token

Headers

Reap-Version
enum<string>
required

API version (YYYY-MM-DD)

Available options:
2025-02-14
Example:

"2025-02-14"

Idempotency-Key
string

Unique key for safely retrying this request. Up to 255 characters; we recommend a UUIDv4. The first request executes and its response is cached; subsequent requests with the same key replay the cached response (24h retention).

Required string length: 1 - 255
idempotency-key
string
required

Unique key for safely retrying this request. Up to 255 characters; we recommend a UUIDv4. The first request executes and its response is cached; subsequent requests with the same key replay the cached response (24h retention).

Required string length: 1 - 255

Body

ownerId
string<uuid>
required

Owner entity ID. Must be a user ID or company ID, depending on the project's account ownership mode.

signers
object

Signer configurations per protocol. Required for projects that provision user wallets (USER_FUNDED funding model); omitted for projects without user wallets (PROGRAM_FUNDED). The signer authorizes withdrawals from the account. Use GET /accounts/auth-message to get the message to sign.

Response

Response for status 200

id
string<uuid>
required

Unique account identifier

status
enum<string>
required

Current account status

Available options:
ACTIVE,
RESTRICTED
Example:

"ACTIVE"

ownerType
enum<string>
required

Type of entity that owns this account

Available options:
USER,
COMPANY,
PROJECT
Example:

"USER"

ownerId
string<uuid> | null
required

Owner entity ID (user or company). Null for PROJECT-owned master accounts.

chainAddresses
object[]
required

Deposit addresses by chain. Empty for accounts without provisioned wallets (user accounts on PROGRAM_FUNDED projects).

createdAt
string
required

ISO 8601 timestamp of creation

Example:

"2024-01-15T10:30:00Z"

updatedAt
string
required

ISO 8601 timestamp of last update

Example:

"2024-01-15T10:35:00Z"