Skip to main content
POST
/
api
/
v1
/
treasury
/
users
/
{id}
/
wallets
/
{walletId}
/
sandbox-credit
Sandbox-only: credit a wallet for integration testing
curl --request POST \
  --url http://localhost:3001/api/v1/treasury/users/{id}/wallets/{walletId}/sandbox-credit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "10.50",
  "currency": "USDC",
  "reference": "<string>"
}
'
{
  "success": true,
  "data": {
    "walletId": "<string>",
    "amount": "<string>",
    "currency": "<string>",
    "newBalance": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Partner end-user id

walletId
string
required

Partner wallet id

Body

application/json
amount
string
required

Credit amount (wallet currency)

Example:

"10.50"

currency
string
required

Must match the wallet currency

Example:

"USDC"

reference
string

Optional client reference (stored on ledger metadata)

Response

Sandbox credit applied

success
boolean
required
Example:

true

data
object
required