Skip to content
Dashboard

Workspace Accounts & Balance

All financial settlements for orders in the DanDanPay Reseller API are conducted in USD. To create an order, your workspace balance must have sufficient available funds.


Returns a list of all financial balance accounts associated with your workspace:

Terminal window
curl -X GET "https://api.dandanpay.net/v1/accounts" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
{
"results": [
{
"id": "019818ab-1000-7c55-9477-5020aebf7001",
"workspace_id": "019818ab-0000-7c55-9477-5020aebf7000",
"slug": "reseller_balance_usd",
"available": "1250.75",
"frozen": "15.5",
"currency": "USD",
"created_at": "2026-08-01T10:00:00.000Z",
"updated_at": "2026-09-13T12:00:00.000Z"
}
]
}
Field Type Description
id UUID Unique balance account identifier
workspace_id UUID Identifier of your workspace
slug string System account slug (e.g. reseller_balance_usd)
available string Available funds for placing new orders (decimal string, up to 6 decimal places without trailing zeros)
frozen string Frozen funds held for in-progress orders (decimal string, up to 6 decimal places without trailing zeros)
currency string Account currency (USD)
updated_at string Last balance change timestamp

  1. Order Creation (POST /v1/orders):
    The total price of the offer (price) is immediately moved from available to frozen. Available purchasing balance is deducted accordingly.
  2. Successful Completion (completed):
    The order amount is permanently deducted from frozen.
  3. Cancellation or Fulfillment Failure (failed):
    The order amount is released from frozen directly back into available. You incur zero financial losses for undelivered goods.

If the workspace balance lacks sufficient funds in the order’s currency:

HTTP/1.1 402 Payment Required
Content-Type: application/json
{
"code": "INSUFFICIENT_FUNDS",
"message": "Insufficient funds on reseller account"
}