PUT
Confirm fiat withdrawal
Approve or reject a pending fiat withdrawal. If approving, the state updates to pendingApproval,
enabling BitGo Trust to wire transfer the funds. If rejecting, the state updates to rejected,
canceling the pending withdrawal.
Path Params
-
walletIdstring requiredThe wallet ID -
transferIdstring requiredThe transfer ID of the fiat withdrawal to confirm
Body Params
object
Confirm Fiat Withdrawal Request Body
The action to take on a pending fiat withdrawal, with optional validation fields to verify the transfer details before confirming.
-
actionstring enum requiredThe action to take on a wire withdrawal confirmation. "approve" to confirm the withdrawal, "reject" to reject it.approvereject -
coinstring enumtfiatusdtfiateurotfiatgbptfiatinrtfiataedtfiatsgdfiatusdfiateurofiatgbpfiataedfiatsgd -
amountstringString representation of the amount to send in base units of the currency. -
addressstringThe address to send to.
Responses
200
OK
Response Body
object
-
baseValuenumberThe value (in base units) sent by this transfer, excluding network fees. BitGo is deprecating this field in the future. -
baseValueStringstringThe value (in base units) sent by this transfer, excluding network fees represented as a string. BitGo is deprecating this field in the future. -
coinstring requiredA cryptocurrency symbol or token ticker symbol -
commentstring nullableA comment from the user -
datestring date-time requiredThe date this Transfer was last updated -
enterprisestring -
organizationstring -
bitgoOrgstring enumBitGo TrustBitGo New YorkBitGo GermanyBitGo SwitzerlandBitGo Europe ApSFrankfurt DE TrustBitGo SingaporeBitGo KoreaBitGo Custody MENA FZEBitGo IndiaBitGo Sister Trust 1BitGo Inc -
entriesarray of objects requiredentries object
-
addressstring requiredAn address affected by this Transfer -
valueStringstringThe change (in base units) in the address' balance represented as a string -
isChangebooleanTrue if this address is a change address (only exists for UTXO coins) and if this is a "send" transfer -
walletstringOnly visible when the user has access to the wallet -
walletLabelstringThe label of the wallet referenced bywallet. Only visible when the user has access to that wallet. Useful for displaying a human-readable destination name (e.g. for sibling enterprise wallets) instead of a generic external-address fallback. -
valuenumberThe change (in base units) in the address' balance -
nftSymbolstring -
typestring enumflushForwarderTokenswalletFundingwalletInitializationaddressInitializationimportedOutputonchainidWalletLinkedonchainidClaimAddedonchainidClaimRemovedAccountCreateContract -
isPayGobooleanTrue if this address is the BitGo PayGo wallet -
tokenstringIf this is a token entry, the token's symbol -
failedbooleanTrue if this entry is failed -
associatedNativeCoinAddressstringThe native coin receive address associated with the solana ATA address. This is currently present only for BitGo addresses. This change was done so that there is a mapping between the two addresses in the transfer entries. -
isFeebooleanIndicates if this entry is a fee -
isInternalbooleanIndicates if this entry is internal -
memostringMemo associated with this entry -
rewardAddressstringReward address associated with this entry -
subtypestringSubtype of this entry -
backingFeeStringstringBacking fee represented as a string -
nftIdstringNFT ID associated with this entry -
tokenContractHashstringToken contract hash associated with this entry -
isRewardbooleanIndicates if this entry is a reward -
activityMetadatamap of objectsCosmos group governance metadata (e.g. MsgSubmitProposal details) emitted by the Generic IndexeractivityMetadata object
-
<key>object
-
-
-
historyarray of objects requiredhistory object
-
actionstring enum requiredcreatedapprovedrejectedsignedunconfirmedconfirmedremovedcommentedfailedregeneratedreplacedreplacingreversedabandoned -
commentstring nullableIf this history object is of action "commented", this is the comment from the user -
datestring date-time requiredThe date of this history object -
transferIdstringThe ID of the transfer that this history object is associated with -
txidstringThe transaction ID of the transaction that this history object is associated with -
userstring
-
-
idstring required -
pendingApprovalstring -
statestring enum requiredThe state of the transfer. Includes the following:
confirmed: The transfer is confirmed on chain.failed: BitGo failed to confirm the transfer on chain. You must retry the transaction.initialized: The initial state when creating a transfer.pendingApproval: The transfer requires admin approval to proceed.rejected: The transfer was rejected by an admin.removed: A network re-org occurred, causing the confirmed transfer to be removed from the blockchain.replaced: The transfer was stuck due to having a low fee and was replaced by a new transfer with a higher fee.reversed: The transfer was reversed (e.g., when a withdrawal offer is rejected in multi-step transfers).signed: The transfer was approved by an admin (if required) and then signed by BitGo.unconfirmed: The signed transaction was sent to the network, and is pending on-chain validation.
initializedpendingApprovalrejectedsignedunconfirmedconfirmedremovedfailedreplacedreverseddeleted -
stakingParamsobjectstakingParams object
-
actionTypestring required -
amountstring -
coreDaoobjectcoreDao object
-
amountstring number required -
expirationstring date-time required -
feenumber required -
rewardAddressstring required -
validatorstring required -
versionnumber required
-
-
receiverAddressstring -
requestIdstring required -
resourcestring -
sourcestring enumexternalinternal -
validatorstring
-
-
txidstringThe on-chain transaction id -
typestring enum requiredDefines whether or not this Transfer was sent or received by the usersendreceive -
usdnumberThe amount of USD of this Transfer (will be negative if it's a send) -
usdRatenumberThe USD rate at the time this Transfer was created -
medianUsdValuenumberThe median USD value of this Transfer -
medianUsdRatenumberThe median USD rate at the time this Transfer was created -
feeUsdnumberThe fee USD value for token transfers -
feeUsdRatenumberThe fee coin USD rate for token transfers -
valuenumberThe total value (in base units) sent by this Transfer (may be approximate for ETH and other coins where amounts in base units can exceed 2^53 - 1) -
valueStringstring requiredThe total value (in base units) sent by this Transfer represented as a String -
walletstring required -
walletTypestring enumWallet typebackingcoldcustodialcustodialPairedhotadvancedtrading -
replacesarray of strings -
replacedByarray of strings -
replacedByTransferIdarray of strings -
riskIndicatorsarray of string enumsSELFDESTRUCT -
baseValueWithoutFeesStringstringThe value (in base units) sent by this transfer, excluding network fees, represented as a string -
baseValueWithoutFeesnumberThe value (in base units) sent by this transfer excluding network fees. -
coinSpecificobjectTransfer fields specific to each coin type -
confirmationsnumberThe number of blocks that have been confirmed since this Transfer's block was confirmed -
consolidateIdstringConsolidation ID if this transfer is part of a consolidation -
feeStringstring nullableThe Transfer's fee (in base units) represented as a String -
feeCoinstringThe coin used to pay the fee (for cross-chain transactions) -
sequenceIdstringUnique wallet identifier for preventing double-spends -
subTypestring enumTransfer subtypeofc_depositofc_withdrawalofc_book_transferofc_exchangeofc_bn_settlement_transferofc_bn_allocationofc_trading_orderofc_trading_settlementofc_margin_collateralofc_margin_positionofc_direct_tradeofc_routedofc_feeofc_otherofc_unstakeofc_financing_liquidationreceive_from_gastankreserved_amountutxo_message_signingpending_depositpending_deposit_activityinternal_transferpending_withdrawal_offerpending_deposit_offeroffer_acceptedoffer_rejectedconfirmed_depositconfirmed_withdrawaldeposit_offer_expiredwithdrawal_offer_expiredwithdrawal_offer_rejectedutxo_expiredoffer_cancelledcancel_withdrawal_offermint_requestmint_offermint_acceptmint_depositmint_rejectburn_requestburn_offerburn_acceptburn_withdrawburn_rejectpending_participant_onboarding_requestparticipant_onboarding_acceptedcash_dvp_settledrepo_dvp_open_leg_settledrepo_dvp_close_leg_settledstaking_eth_withdrawalstaking_eth_partial_withdrawalstaking_eth_full_withdrawalstaking_eth_mev_rewardstaking_eth_block_rewardstaking_bera_withdrawalstaking_bera_block_rewarddefi_deposit -
txRequestIdstringAssociated transaction request ID -
goStakingRequestIdstringAssociated GO staking request ID -
heightnumberThe height of the block this Transfer was confirmed in (999999999 if unconfirmed) -
heightIdstringThe unique height id of the block -
instantbooleanWhether this is an instant transaction -
instantIdstringThe instant transaction ID if applicable -
isFeebooleanWhether this transfer represents a fee -
isRewardbooleanWhether this transfer represents a staking reward -
isUnlockbooleanWhether this transfer represents an unlock operation -
nSegwitInputsnumberDEPRECATED. Number of segwit inputs on the transfer. -
outputsarray of objectsoutputs object
-
addressstringThe address of the UTXO -
blockHeightnumberThe block this Unspent was created in -
chainnumberThe chain of the UTXO -
coinbasebooleanTrue if this unspent came from the coinbase transaction -
idstringThe ID of the UTXO -
indexnumberThe index of the UTXO -
redeemScriptstringThe redeem script of the UTXO -
valuenumberThe value of the UTXO -
witnessScriptstringThe witness script of the UTXO
-
-
payGoFeenumberThe Transfer's BitGo fee (in base units) -
payGoFeeStringstringThe Transfer's BitGo fee (in base units) represented as a String -
inputsarray of objectsinputs object
-
addressstringThe address of the UTXO -
blockHeightnumberThe block this Unspent was created in -
chainnumberThe chain of the UTXO -
coinbasebooleanTrue if this unspent came from the coinbase transaction -
idstringThe ID of the UTXO -
indexnumberThe index of the UTXO -
redeemScriptstringThe redeem script of the UTXO -
valuenumberThe value of the UTXO -
witnessScriptstringThe witness script of the UTXO
-
-
intendedValueStringstringA string representation (in base units) of the initial value for the transfer. This is present because when a transaction fails on chain, its value is mutated to be zero. This string is immutable and will always be the intended value of the initial transfer regardless of the final state of the transaction. -
labelstringAddress labels (if any) from entries concatenated. -
metadataarray of objectsmetadata object
-
keystring required -
valuestring required
-
-
sendAccountingarray of objectssendAccounting object
-
amountnumber -
amountStringstring required -
idstring -
nOutsnumber required -
typestring required
-
-
tagsarray of strings -
txidTypestringThe type of the transaction id -
usersNotifiedbooleanWhether BitGo already sent notifications to the users of the transfer wallet -
vSizenumberThe size of the transaction -
walletLabelstringLabel of the wallet associated with this transfer -
enterpriseNamestringName of the enterprise associated with this transfer -
ellipticstringElliptic risk score information (trust transfers) -
senderInformationVerifiedbooleanWhether sender information has been verified (trust transfers) -
buildParamsmap of objectsParameters used to build the transactionbuildParams object
-
<key>object
-
-
createdTimestring date-timeThe time this transfer was created -
approvedTimestring date-timeThe time this transfer was approved -
rejectedTimestring date-timeThe time this transfer was rejected -
signedTimestring date-timeThe time this transfer was signed -
unconfirmedTimestring date-timeThe time this transfer became unconfirmed -
confirmedTimestring date-timeThe time this transfer was confirmed -
removedTimestring date-timeThe time this transfer was removed -
commentedTimestring date-timeThe time this transfer was commented on -
failedTimestring date-timeThe time this transfer failed -
regeneratedTimestring date-timeThe time this transfer was regenerated -
replacedTimestring date-timeThe time this transfer was replaced -
replacingTimestring date-timeThe time this transfer started replacing another -
abandonedTimestring date-timeThe time this transfer was abandoned -
signedDatestring date-timeThe date this transfer was signed (legacy field) -
customerApprovedTimestring date-timeThe time this transfer was approved by the customer (trust transfers) -
idVerificationTimestring date-timeThe time identity verification was completed (trust transfers) -
trustSignedTimestring date-timeThe time this transfer was signed by trust (trust transfers) -
trustFinalApprovalTimestring date-timeThe time this transfer received final trust approval (trust transfers)
400
Bad Request
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
401
Unauthorized
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
403
Forbidden
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
404
Not Found
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
500
Internal Server Error
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id