Skip to main content

Get a checkout session

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

Authorization

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

Parameters

idstring<uuid>pathrequired

Unique identifier for the checkout session.

refreshOpenBankingStatusbooleanquery

Refresh open-banking provider status from Ivy/Augustus before returning the checkout session. Defaults to false so ordinary checkout page loads do not depend on a live provider read.

Responses

200Checkout session retrieved successfully
idstring<uuid>required

Unique identifier for the checkout session.

sessionStatusCheckoutSessionStatusrequired
AllowedpendingsuccesscancelledexpiredrefundedrefundFailed
organizationIdstring<uuid>required

Product's owning organization ID.

productsCheckoutProduct[]nullable
idstring<uuid>required

Unique identifier for the product.

organizationIdstring<uuid>required

Product's owning organization ID.

namestringrequired

Name of the product.

descriptionstringrequired

Product description.

chargingIntervalSecondsinteger<int64>required

Frequency of subscription payments.

currencyCurrencyrequired
AllowedUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATIC
pricenumber<float>required

Price of product (either one time payment or subscription charge).

imageUrlstringrequired

URL of image to use for the product.

sendSubscriptionEmailsbooleannullable
productTypeProductTypenullable
PresalePresalerequired
TokenTokenPresalerequired
tickerstringrequired
decimalsinteger<int32>required>= 0
nextBillingDateAtstring<date-time>nullable
itemsCheckoutItemData[]nullable
namestringrequired

Name of the product.

descriptionstringnullable

Product description.

chargingIntervalSecondsinteger<int64>nullable

Frequency of subscription payments.

pricenumber<float>required

Price of product (either one time payment or subscription interval charge).

imageUrlstringnullable

An optional image URL of the line item

isMeteredbooleannullable

Whether product has metered billing enabled.

currencyCurrencyrequired
AllowedUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATIC
sendSubscriptionEmailsbooleannullable

If subscription email reminders should be sent out

nextBillingDateAtstring<date-time>nullable
totalnumber<float>nullable>= 0

Total price of checkout

currencyCurrencynullable
AllowedUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATIC
gatewayPaymentGatewayrequired
managedobjectrequired
methodsManagedPaymentMethod[]required
networkNetworkrequired
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
tokenstringnullable
discountPercentOffnumber<float>nullable>= 0
selfCustodialobjectrequired
tokensAcceptedToken[]required
tokenAddressstring<address>required

Seller's default token selection.

chainIdinteger<int64>required>= 1

Seller's default EVM-based chain ID.

sellerPaymentAddressstring<address>nullable
openBankingobjectrequired
emailstringrequired
kycDataKycDataRequestnullable
namestringrequired
dateOfBirthstring<date>required
addressstringrequired
residenceCountrystringrequired
phonestringrequired
passportFilestringnullable
idCardFilestringnullable
selfieFilestringnullable
openBankingCheckoutUrlstringnullable
bankIdstringnullable

Radom bank identifier returned by GET /open_banking/banks.

marketCountryCodenullable
AllowedACADAEAFAGAIALAMANAOAPAQARASATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBUBVBWBXBYBZCACCCDCFCGCHCICKCLCMCNCOCPCQCRCSCUCVCWCXCYCZDEDGDJDKDMDODYDZEAECEEEFEGEHEMEPERESETEUEVEWEZFIFJFKFLFMFOFRFXGAGBGCGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHMHNHRHTHUIBICIDIEILIMINIOIQIRISITJAJEJMJOJPKEKGKHKIKMKNKPKRKWKYKZLALBLCLFLILKLRLSLTLULVLYMAMCMDMEMFMGMHMKMLMMMNMOMPMQMRMSMTMUMVMWMXMYMZNANCNENFNGNINLNONPNRNTNUNZOAOMPAPEPFPGPHPIPKPLPMPNPRPSPTPWPYQARARBRCRERHRIRLRMRNRORPRSRURWSASBSCSDSESFSGSHSISJSKSLSMSNSOSRSSSTSUSVSXSYSZTATCTDTFTGTHTJTKTLTMTNTOTPTRTTTVTWTZUAUGUMUNUSUYUZVAVCVEVGVIVNVUWFWGWLWOWSWVYEYTYUYVZAZMZRZW
localeLocalenullable
Alloweddenlenfresitptsvplsk
instantPaymentStatusbooleannullable
destinationCryptoAddressstringnullable
onrampAmountstringnullable
existingUserPaidSuccessbooleannullable
successUrlstringrequired

Redirect URL after checkout is completed.

cancelUrlstringnullable

Redirect URL if checkout fails.

subscriptionBackButtonUrlstringnullable

URL for subscription cancel/back button.

metadataMetadata[]nullable
keystringrequired
valuestringrequired
expiresAtstring<date-time>nullable

Time at which the checkout session expires.

createdAtstring<date-time>required

Time at which the checkout session was created.

updatedAtstring<date-time>required

Time at which the checkout session was last updated.

customizationsCheckoutCustomizationsrequired
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

paymentPaymentDetailsnullable
managedobjectrequired
idstring<uuid>required
paymentEventIdstring<uuid>nullable
networkNetworkrequired
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
tokenstringnullable
amountnumber<float>required>= 0
networkFeenumber<float>required>= 0
transactionsManagedTransaction[]required
networkNetworkrequired
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
transactionHashstringrequired
tokenstringnullable
amountnumber<float>required>= 0
blockTimestampstring<date-time>required
tickerstringnullable
senderAddressesSenderAddress[]required
addressstringrequired
conversionRatesConversionRate[]required
fromstringrequired
tostringrequired
ratenumber<float>required>= 0
managedTokenDelegatePaymentobjectrequired
networkNetworkrequired
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
tokenstringnullable
amountnumber<float>required>= 0
transactionsManagedTransaction[]required
networkNetworkrequired
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
transactionHashstringrequired
tokenstringnullable
amountnumber<float>required>= 0
blockTimestampstring<date-time>required
tickerstringnullable
senderAddressesSenderAddress[]required
addressstringrequired
conversionRatesConversionRate[]required
fromstringrequired
tostringrequired
ratenumber<float>required>= 0
openBankingobjectrequired
idstring<uuid>required
paymentEventIdstring<uuid>nullable
networkNetworkrequired
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
tokenstringnullable
amountnumber<float>required>= 0
onrampStatusOnrampStatusrequired
AllowedAwaitingFundsFundsReceivedPaymentSubmittedCompleteCancelled
onrampGrossAmountstringnullable
onrampNetAmountstringnullable
onrampNetworkNetworknullable
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
onrampTokenstringnullable
onrampFeestringnullable
openBankingPaymentDataOpenBankingPaymentDatanullable
statusstringnullable

Provider payment lifecycle status for open-banking payments. This is optional and remains a string so Radom can pass through future provider statuses without breaking clients.

Allowedprocessingwaiting_for_paymentauthorizedfinalizingpaidfailedcanceledcancelledin_refundpartially_refundedrefundedrefund_failed
bankStatementReferencestringrequired
onrampStatusOnrampStatusrequired
AllowedAwaitingFundsFundsReceivedPaymentSubmittedCompleteCancelled
payerFinancialAddressPayerFinancialAddressnullable
ibanIbannullable
ibanstringrequired
accountHolderNamestringnullable
bicstringnullable
sortCodeSortCodenullable
sortCodestringrequired
accountNumberstringrequired
accountHolderNamestringnullable
bankCodeBankCodenullable
codestringrequired
accountNumberstringrequired
accountHolderNamestringnullable
bbanBbannullable
bbanstringrequired
accountHolderNamestringnullable
bicstringnullable
bankIdstringnullable
bankNamestringnullable
bankMarketstringnullable
paymentSchemestringnullable
instantPaymentSchemebooleannullable
statusHistoryListOrderStatusHistoryEntry[]nullable
currentStatusstring
reasonstring
createdAtstring
updatedAtstring
previousStatusstringnullable
shopperShoppernullable
emailstringnullable
phoneNumberstringnullable
paymentReferencestringnullable
endToEndIdstringnullable
remittanceInformationstringnullable
senderNamestringnullable
senderIbanstringnullable
senderBicstringnullable
senderSortCodestringnullable
senderAccountNumberstringnullable
senderBankCodestringnullable
senderBbanstringnullable
refundsRefundDetails[]required

If a refund is issued, this field will be populated with the refund details.

statusRefundStatusrequired
Allowedpendingsuccesscancelledfailed
networkNetworkrequired
AllowedBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
tokenstringnullable
amountnumber<float>nullable>= 0
chargeCustomerNetworkFeebooleanrequired
recipientAddressstringrequired
transactionHashstringnullable
createdAtstring<date-time>required
chargeCustomerNetworkFeebooleanrequired

Whether or not to pass the network fee to the customer to pay, in addition to the total supplied. If this is false, the network fee is subtracted from the supplied total, otherwise, it's added to the total. Defaults to true.

travelRuleFieldsTravelRuleFieldsCollectionStatusrequired
countryOfResidenceCollectedbooleanrequired
dateOfBirthCollectedbooleanrequired
emailAddressCollectedbooleanrequired
nameCollectedbooleanrequired
companyNameCollectedbooleanrequired
accountTypeCustomerAccountTypenullable
AllowedIndividualBusiness
travelRuleEmailstringnullable
associatedSubscriptionsManagedSubscriptionSummary[]required

Zero or more subscriptions associated with orders created from this checkout session.

idstring<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
tagsobjectnullable
nextBillingDateAtstring<date-time>required
createdAtstring<date-time>required
cancelledAtstring<date-time>nullable
expiredAtstring<date-time>nullable
sendSubscriptionEmailsbooleanrequired
chargeCustomerNetworkFeebooleanrequired
metadataJsonnullable
customerIdstring<uuid>nullable
openBankingPaymentDataCheckoutSessionOpenBankingDatanullable
statusstringrequired

Provider payment lifecycle status for the open-banking checkout session.

Allowedprocessingwaiting_for_paymentauthorizedfinalizingpaidfailedcanceledcancelledin_refundpartially_refundedrefundedrefund_failed
paymentSchemestringnullable
instantPaymentSchemebooleannullable
payerFinancialAddressPayerFinancialAddressnullable
ibanIbannullable
ibanstringrequired
accountHolderNamestringnullable
bicstringnullable
sortCodeSortCodenullable
sortCodestringrequired
accountNumberstringrequired
accountHolderNamestringnullable
bankCodeBankCodenullable
codestringrequired
accountNumberstringrequired
accountHolderNamestringnullable
bbanBbannullable
bbanstringrequired
accountHolderNamestringnullable
bicstringnullable
statusHistoryListOrderStatusHistoryEntry[]nullable
currentStatusstring
reasonstring
createdAtstring
updatedAtstring
previousStatusstringnullable
shopperShoppernullable
emailstringnullable
phoneNumberstringnullable
404Not Found
errorstringrequired
500Internal server error
errorstringrequired
502Bad Gateway
errorstringrequired
504Gateway Timeout
errorstringrequired