Skip to main content
POST
/
api
/
v1
/
staking
/
orders
Create staking order
curl --request POST \
  --url https://api.example.com/api/v1/staking/orders \
  --header 'Content-Type: application/json' \
  --data '
{
  "buildId": "build_20260511_0001",
  "productId": "base_usdc_nexfi_vault",
  "orderType": "subscribe",
  "walletAddress": "0xabc1230000000000000000000000000000000000",
  "amount": "1000",
  "txHash": "0x123"
}
'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "orderId": "stk_20260511_0001",
    "status": "pending_chain"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Platform staking order creation request.

buildId
string
required

Transaction build ID.

Example:

"build_20260511_0001"

productId
string
required

Product ID.

Example:

"base_usdc_nexfi_vault"

orderType
enum<string>
required

Order type.

Available options:
subscribe,
redeem
Example:

"subscribe"

walletAddress
string
required

Wallet address.

Example:

"0xabc1230000000000000000000000000000000000"

amount
string
required

Order amount.

Example:

"1000"

txHash
string
required

Submitted chain transaction hash.

Example:

"0x123"

Response

200 - application/json

Order creation response

Standard response envelope.

code
integer
required

Business status code. 0 means success.

Example:

0

msg
string
required

Human-readable response message.

Example:

"ok"

data
object

Initial staking order creation result.