MelonsRun
Api referenceControl

Credit sandbox balance through the ledger for local/test self-serve smoke

POST
/v2/control/sandbox/recharge

Authorization

sessionBearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Idempotency-Key?string
Lengthlength <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/control/sandbox/recharge" \  -H "Content-Type: application/json" \  -d '{    "amount": "string"  }'
{  "operation_id": "string",  "amount": "string",  "currency": "USD",  "account": {    "account_id": "string",    "balance": "string",    "held_total": "string",    "available_balance": "string",    "tier": {}  }}