Skip to main content

Get subscription

GEThttps://api.radom.com/subscription/{id}

Authorization

Send your API key in the Authorization header. Scheme: radomToken.

Parameters

idstring<uuid>pathrequired

Responses

200Subscription retrieved successfully
idstring<uuid>required
organizationIdstring<uuid>required
associatedEntityTypeAssociatedEntityTyperequired
AllowedPaymentLinkOrderCheckoutSessionInvoicePaymentSessionSubscriptionDonationLinkOrder
associatedEntityIdstring<uuid>required
subscriptionTypeSubscriptionTyperequired
automatedEVMSubscriptionAutomatedEVMSubscriptionrequired
buyerAddressstringrequired
subscriptionContractAddressstringrequired
recommendedAllowanceDurationinteger<int64>nullable>= 0
emailAddressstringnullable
emailInvoiceSubscriptionEmailInvoiceSubscriptionrequired
emailAddressstringrequired
statusSubscriptionStatusrequired
Allowedactivecancelledexpired
networkNetworkrequired
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
tokenstringnullable
amountnumber<float>required>= 0
currencyCurrencyrequired
AllowedUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATIC
periodManagedSubscriptionPeriodrequired
Alloweddailyweeklymonthlyquarterlyannuallycustom
periodCustomDurationinteger<int64>nullable>= 86400
tagsobjectnullable
nextBillingDateAtstring<date-time>required
createdAtstring<date-time>required
cancelledAtstring<date-time>nullable
expiredAtstring<date-time>nullable
productProductEntitynullable
idstring<uuid>required
organizationIdstring<uuid>required
namestringrequired
descriptionstringrequired
chargingIntervalSecondsinteger<int64>required
currencyCurrencyrequired
AllowedUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATIC
pricenumber<float>required>= 0
imageUrlstringrequired
isArchivedbooleanrequired
sendSubscriptionEmailsbooleannullable
productTypeProductTypenullable
PresalePresalerequired
TokenTokenPresalerequired
tickerstringrequired
decimalsinteger<int32>required>= 0
createdAtstring<date-time>required
updatedAtstring<date-time>required
customizationsCheckoutCustomizationsnullable
leftPanelColorstringnullable

Left panel background color.

primaryButtonColorstringnullable

Pay button color.

slantedEdgebooleannullable

Left panel slanted edge style.

allowDiscountCodesbooleannullable

Whether discount codes are allowed

displayQrCodebooleannullable

Whether to display a QR code on the checkout page.

allowFreeInputAmountbooleannullable

allow user free input money amount

paymentsSubscriptionPayment[]required
datestring<date-time>required
networkNetworkrequired
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
tokenstringnullable
amountnumber<float>required
netAmountnumber<float>required
feeAmountnumber<float>required
networkFeenumber<float>required
transactionHashesstring[]required
customerIdstring<uuid>nullable
404Not Found
errorstringrequired
500Internal server error
errorstringrequired