Sandbox Topup
sandbox_topupAdd fake credit to a Porkbun sandbox account when funds run out, so paid operations like registration, renewal, and transfer remain testable. Requires a sandbox API key; returns new balance.
Instructions
SANDBOX ONLY. Grant fake account credit to the sandbox account so paid operations (register/renew/transfer) can keep being exercised after funds run out. Requires a sandbox API key (pk1_sb_…). Optional amount_cents (integer US cents) (default 100000 = $1000; capped 1,000,000). Returns the new balance. With a live key this endpoint is not available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Deprecated alias of `amount_cents`, same unit (integer US cents). Send `amount_cents` instead. | |
| amount_cents | No | Fake credit to add (default 100000 = $1000; max 1000000). Integer US cents: 803 means $8.03, not $803. |