Skip to content
Dashboard

Authentication

All requests to the DanDanPay Reseller API are protected and require passing your workspace API key in the standard HTTP Authorization header:

Authorization: Bearer <YOUR_API_KEY>
Accept: application/json
Content-Type: application/json

  1. Navigate to the management dashboard at dash.dandanpay.net.
  2. Open Workspace Settings → API Keys.
  3. Create a new key and store it in a secure location.

If the Authorization header is missing, invalid, or expired, the API returns a standard ErrorResponseDto with HTTP status 401 Unauthorized:

{
"code": "API_KEY_MISSING",
"message": "API key missing"
}
{
"code": "API_KEY_INVALID",
"message": "Invalid API key"
}
{
"code": "API_KEY_EXPIRED",
"message": "API key expired"
}

Terminal window
curl -X GET "https://api.dandanpay.net/v1/accounts" \
-H "Authorization: Bearer sk_live_your_api_key_here" \
-H "Accept: application/json"