Create a payout
POST
https://api.radom.com/payoutAuthorization
Send your API key in the Authorization header. Scheme: radomToken.
Request body
payoutsCreatePayoutEntity[]required
namestringnullableemailstringaccountTypeCustomerAccountTypenullableAllowed
IndividualBusinesscountryOfResidencestringnullabledateOfBirthstringnullablecompanyNamestringnullableaddressLine1stringnullableaddressLine2stringnullabletownOrCitystringnullablepostalCodestringnullablestateOrProvincestringnullablepayoutAddressstringnullablenetworkNetworknullableAllowed
BitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetOpBnbFiattokenstringnullableexternalAccountIdstring<uuid>requiredgatewaystringrequiredAllowed
fiatWithdrawalAccountwithdrawalAccountIdstring<uuid>requiredamountnumber<float>required>= 0amountModePayoutAmountModeAllowed
recipientsourcesidePayoutQuoteSidenullableAllowed
tofromcustomerIdstring<uuid>nullablefundingCurrencyPayoutFundingCurrencynullablefundingAssetcrate.db.PayoutFundingAssetnullableaccountTypePayoutAccountTypenullableAllowed
businessindividualisTestModebooleannullabledeductFeesbooleannullablesendEmailReceiptsbooleannullableautoConfirmbooleannullableidempotencyKeystringnullableClient-generated key (e.g. a UUID) making creation retry-safe: a request resubmitted with the same key returns the already-created payout instead of creating and debiting a second one.
allowDuplicatebooleannullableA payout to the same destination for the same amount as one created in the last few minutes is refused with 409 unless this is set: it is the shape of a client retry or a double submission, not of a new order.
Responses
200Payout successfully created
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
BitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetOpBnbFiattokenstringnullablepayoutAddressstringrequiredtxHashstringnullableexternalAccountIdstring<uuid>nullablefundingCurrencyPayoutFundingCurrencynullablefailureReasonstringnullablehedgePayoutEntryHedgeResponsenullable
fundingCurrencyPayoutFundingCurrencyrequiredfundingNetworkNetworkrequiredAllowed
BitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetOpBnbFiatfundingTokenstringnullablelockedRatenumber<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