Cancel a payout that has not been sent
https://api.radom.com/payout/{id}/cancelOnly a payout that has not been sent can be cancelled: one awaiting confirmation (or already expired), or one held for a recipient's review before it was confirmed. It reads Expired from now on, nothing is debited for it, and it is not sent later on its own. A confirmed payout, or one whose stablecoin purchase or funding conversion has already started, is refused.
Authorization
Send your API key in the Authorization header. Scheme: radomToken.
Parameters
unlessHeldbooleanqueryLeave the payout as it is when one of its recipients is held for a compliance review. For clients that cancel quotes their user walked away from: abandoning a quote does not withdraw it from review.
idstring<uuid>pathrequiredResponses
200Payout cancelled
idstring<uuid>requiredstatusPayoutStatusrequiredAwaitingConfirmationPendingProcessingCompleteExpiredInReviewConvertingFailedisTestModebooleanrequiredaccountTypePayoutAccountTypenullablebusinessindividualdeductFeesbooleanrequiredsendEmailReceiptsbooleanrequiredtotalAmountUsdnumber<float>requiredestimatedFeeUsdnumber<float>requiredactualFeeUsdnumber<float>nullableentryCountinteger<int32>requiredfundingCurrencystringnullablefundingAssetradom_common_rust.db.PayoutFundingAssetnullablefundingWithdrawalIdsstring[]fundingConversionIdsstring[]fundingConversionErrorstringnullableprocessingStagestringnullablecryptoEntriesCryptoPayoutEntryResponse[]required
idstring<uuid>requiredstatusPayoutEntryStatusrequiredPendingProcessingCompleteInReviewFailedamountnumber<float>requiredcustomerIdstring<uuid>nullablenetworkNetworkrequiredBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetOpBnbFiattokenstringnullablepayoutAddressstringrequiredtxHashstringnullableexternalAccountIdstring<uuid>nullablefundingCurrencyPayoutFundingCurrencynullablefailureReasonstringnullablehedgePayoutEntryHedgeResponsenullable
fundingCurrencyPayoutFundingCurrencyrequiredfundingNetworkNetworkrequiredBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetOpBnbFiatfundingTokenstringnullablelockedRatenumber<float>requiredmidPricenumber<float>requiredguaranteedAmountnumber<float>requiredfeeBuffernumber<float>requiredproviderWithdrawalFeenumber<float>requiredtotalCryptoToAcquirenumber<float>requiredstableForTradenumber<float>requiredconversionFeenumber<float>requiredstablecoinCostnumber<float>requiredswapIdstring<uuid>nullabledeliveryWithdrawalIdstring<uuid>nullablefiatEntriesFiatPayoutEntryResponse[]required
idstring<uuid>requiredstatusPayoutEntryStatusrequiredPendingProcessingCompleteInReviewFailedamountnumber<float>requiredcustomerIdstring<uuid>nullablecurrencyCurrencyrequiredUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATICibanstringnullablesortCodestringnullablebankCodestringnullablebbanstringnullablebeneficiaryNamestringnullablebeneficiaryEmailstringrequiredbeneficiaryCountrystringnullablebeneficiaryDobstringnullablebeneficiaryCompanyNamestringnullablebeneficiaryAddressLine1stringnullablebeneficiaryAddressLine2stringnullablebeneficiaryCitystringnullablebeneficiaryPostalCodestringnullablebeneficiaryStatestringnullableexternalAccountIdstring<uuid>nullablefailureReasonstringnullableautoConfirmbooleanrequiredThe merchant asked for the payout to go out (created with `autoConfirm`, or confirmed while a recipient was still being checked). While such a payout is still awaiting confirmation it is waiting on screening, not on the merchant.
createdAtstring<date-time>requiredconfirmedAtstring<date-time>nullablecompletedAtstring<date-time>nullableexpiresAtstring<date-time>required400Bad Request
errorstringrequired401Unauthorized
errorstringrequired500Internal server error
errorstringrequired