Skip to main content
PATCH
Change the destination of the funds

Authorizations

Authorization
string
header
required

API key (sk_test_... or sk_live_...)

Path Parameters

code
string<uuid>
required

Code of the virtual account

Body

application/json
destination
object
required

Where the net amount of each deposit is sent, always in USDC on Solana. Two options:

  • wallet: a KemyCard wallet of the customer, identified by its wallet_code. No on-chain transfer: the net amount is credited to the balance of this wallet, as for a wallet deposit. You withdraw it with POST /wallets/{code}/withdrawals.
  • external_address: an address outside KemyCard (for example your own custody wallet). The net amount is sent on-chain to this address.

Response

Destination changed

success
boolean
Example:

true

data
object
meta
object