Cancel a payout that has not been sent
POST
https://api.radom.com/payout/{id}/cancelOnly a payout awaiting confirmation (or an expired one) can be cancelled. It reads Expired from now on and nothing is debited for it. A payout whose stablecoin purchase or funding conversion has already started is refused.
Authorization
Send your API key in the Authorization header. Scheme: radomToken.
Parameters
idstring<uuid>pathrequiredResponses
200Payout cancelled
idstring<uuid>requiredstatusPayoutStatusrequiredAllowed
AwaitingConfirmationPendingProcessingCompleteExpiredInReviewConvertingFailedisTestModebooleanrequiredaccountTypePayoutAccountTypenullableAllowed
businessindividualdeductFeesbooleanrequiredsendEmailReceiptsbooleanrequiredtotalAmountUsdnumber<float>requiredestimatedFeeUsdnumber<float>requiredactualFeeUsdnumber<float>nullableentryCountinteger<int32>requiredfundingCurrencystringnullablefundingAssetradom_common_rust.db.PayoutFundingAssetnullablefundingWithdrawalIdsstring[]fundingConversionIdsstring[]fundingConversionErrorstringnullableprocessingStagestringnullablecryptoEntriesCryptoPayoutEntryResponse[]required
idstring<uuid>requiredstatusPayoutEntryStatusrequiredAllowed
PendingProcessingCompleteInReviewFailedamountnumber<float>requiredcustomerIdstring<uuid>nullablenetworkNetworkrequiredAllowed
BitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiattokenstringnullablepayoutAddressstringrequiredtxHashstringnullableexternalAccountIdstring<uuid>nullablefundingCurrencyPayoutFundingCurrencynullablefailureReasonstringnullablehedgePayoutEntryHedgeResponsenullable
fundingCurrencyPayoutFundingCurrencyrequiredfundingNetworkNetworkrequiredAllowed
BitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiatfundingTokenstringnullablelockedRatenumber<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>requiredstatusPayoutEntryStatusrequiredAllowed
PendingProcessingCompleteInReviewFailedamountnumber<float>requiredcustomerIdstring<uuid>nullablecurrencyCurrencyrequiredAllowed
USDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATICibanstringnullablesortCodestringnullablebankCodestringnullablebbanstringnullablebeneficiaryNamestringnullablebeneficiaryEmailstringrequiredbeneficiaryCountrystringnullablebeneficiaryDobstringnullablebeneficiaryCompanyNamestringnullablebeneficiaryAddressLine1stringnullablebeneficiaryAddressLine2stringnullablebeneficiaryCitystringnullablebeneficiaryPostalCodestringnullablebeneficiaryStatestringnullableexternalAccountIdstring<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