Skip to main content
POST
Creates a deposit on a virtual account you own. A successful outcome credits the wallet and sends virtual_account.deposit. Sandbox simulations do not charge virtual-account fees.
Sandbox only. Call https://smtp.yativo.com/api/v1. Production returns 404 with Not found.
{accountId} is the virtual account’s account_id or account_number.
See every sandbox simulation endpoint in Sandbox.

Authorizations

X-Api-Key
string
header
required

Your API key (yativo_pk_...) from Developers → API Keys. Send together with X-Api-Secret.

X-Api-Secret
string
header
required

Your API secret (yativo_sk_...), shown once when the key is created.

Path Parameters

accountId
string
required

The virtual account's account_id or account_number.

Body

application/json
amount
number
required

Major units in the account's currency.

Required range: 0.01 <= x <= 1000000
Example:

250

outcome
enum<string>
default:success

success credits the wallet and sends virtual_account.deposit. fail creates a failed deposit.

Available options:
success,
fail
sender
object

Response

Deposit simulated

status
string
Example:

"failed"

status_code
integer
message
string
Example:

"Request failed."

data
object | null
error_details
object

Included on every failed response, with the same shape for every endpoint.