---
title: "Fund a sandbox account"
method: POST
path: "/v1/sandbox/account-funding"
tags: ["Sandbox"]
---

# Fund a sandbox account

`POST /v1/sandbox/account-funding`

## Request

- Base URL: `https://hyperscale0.ai`
- URL: `https://hyperscale0.ai/v1/sandbox/account-funding`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Posts a settled credit into a sandbox account from a system funding source so developers can seed test balances themselves. Self-serve with a product API key or portal session and confined to the sandbox environment; it never moves live money.

## Headers

- `X-Hyperscale-Environment` 'sandbox' | 'live'
- `Idempotency-Key` string, required

## Request body

- object
  - `transferId` string: Hyperscale transfer ID
  - `destinationAccountId` string, required: Hyperscale account ID
  - `amount` string, required: Positive minor-unit integer amount serialized as a string, capped at 15 digits per call
  - `currency` 'SAR', required

## Response `201`

Success

- SandboxAccountFundOutput
  - `transferId` string, required: Hyperscale transfer ID
  - `tenantId` string, required: Organization tenant ID
  - `sourceAccountId` string, required: Hyperscale account ID
  - `destinationAccountId` string, required: Hyperscale account ID
  - `amount` string, required: Positive minor-unit integer amount serialized as a string (at most 18 digits)
  - `currency` 'SAR', required
  - `transferStatus` 'posted', required

## Other responses

- `default`: ErrorResponse. See x-error-codes and x-errors for codes, HTTP statuses and retry guidance.

---

[API](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api.md) · [All operations](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/revisions/e9e8faa044d5?raw)
