POST
Simulate a test deposit
Creates a simulated test deposit transaction for a wallet in non-production environments. Requires the calling user to be an owner or member of the wallet's enterprise. Blocked in production.
Header Params
-
user-idstring requiredThe authenticated user's ID (set by auth-service).
Body Params
object
Request body for creating a simulated test deposit transaction. Only testnet currencies are accepted. Non-production only.
-
walletIdstring requiredThe Go Account wallet ID to create the deposit for. -
currencystring requiredA testnet backing fiat currency (e.g., tfiatusd, tfiateur, tfiatsgd). -
amountstringThe deposit amount in cents as a string. Defaults to "1000" (i.e., $10.00) if not provided. -
typestring enumThe transaction type. Defaults to "wire". ACH transactions are created in an incomplete/delayed state with a 1-day clearing window.wireach -
instantCreditEligiblebooleanWhether the transaction is eligible for instant credit. Only relevant for ACH transactions. When true and type is ach, the platform is notified immediately. -
withdrawHoldReleaseAtstring date-timeOptional ISO 8601 datetime for when a withdraw hold should be released. -
descriptionstringOptional custom description for the simulated deposit. When provided, replaces the default description. When omitted, defaults to "Test Deposit for {currency} wallet {walletId}".
Responses
200
OK
Response Body
string
400
Bad Request – invalid or missing parameters
Response Body
object
-
errorNamestring required -
errorstring required
403
Forbidden – missing user-id header or user does not have access to the wallet's enterprise
Response Body
object
-
errorNamestring required -
errorstring required
500
Internal Server Error
Response Body
object
-
errorNamestring required -
errorstring required