Create a checkout session
https://api.radom.com/checkout_sessionAuthorization
Send your API key in the Authorization header. Scheme: radomToken.
Request body
lineItemsCheckoutSessionItem[]nullable
Line items to be purchased.
productIdstring<uuid>nullableUnique identifier of a product
itemDataCheckoutItemDatanullable
namestringrequiredName of the product.
descriptionstringnullableProduct description.
chargingIntervalSecondsinteger<int64>nullableFrequency of subscription payments.
pricenumber<float>requiredPrice of product (either one time payment or subscription interval charge).
imageUrlstringnullableAn optional image URL of the line item
isMeteredbooleannullableWhether product has metered billing enabled.
currencyCurrencyrequiredUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATICsendSubscriptionEmailsbooleannullableIf subscription email reminders should be sent out
nextBillingDateAtstring<date-time>nullablenextBillingDateAtstring<date-time>nullableIf this line item is a subscription, optionally set the subscription's next billing date
totalnumber<float>nullable>= 0Total price of checkout.
currencyCurrencynullableUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATICgatewayPaymentGatewaynullable
managedobjectrequired
methodsManagedPaymentMethod[]required
networkNetworkrequiredBitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiattokenstringnullablediscountPercentOffnumber<float>nullable>= 0selfCustodialobjectrequired
tokensAcceptedToken[]required
tokenAddressstring<address>requiredSeller's default token selection.
chainIdinteger<int64>required>= 1Seller's default EVM-based chain ID.
sellerPaymentAddressstring<address>nullableopenBankingobjectrequired
emailstringrequiredkycDataKycDataRequestnullable
namestringrequireddateOfBirthstring<date>requiredaddressstringrequiredresidenceCountrystringrequiredphonestringrequiredpassportFilestringnullableidCardFilestringnullableselfieFilestringnullableopenBankingCheckoutUrlstringnullablebankIdstringnullableRadom bank identifier returned by GET /open_banking/banks.
marketCountryCodenullableACADAEAFAGAIALAMANAOAPAQARASATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBUBVBWBXBYBZCACCCDCFCGCHCICKCLCMCNCOCPCQCRCSCUCVCWCXCYCZDEDGDJDKDMDODYDZEAECEEEFEGEHEMEPERESETEUEVEWEZFIFJFKFLFMFOFRFXGAGBGCGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHMHNHRHTHUIBICIDIEILIMINIOIQIRISITJAJEJMJOJPKEKGKHKIKMKNKPKRKWKYKZLALBLCLFLILKLRLSLTLULVLYMAMCMDMEMFMGMHMKMLMMMNMOMPMQMRMSMTMUMVMWMXMYMZNANCNENFNGNINLNONPNRNTNUNZOAOMPAPEPFPGPHPIPKPLPMPNPRPSPTPWPYQARARBRCRERHRIRLRMRNRORPRSRURWSASBSCSDSESFSGSHSISJSKSLSMSNSOSRSSSTSUSVSXSYSZTATCTDTFTGTHTJTKTLTMTNTOTPTRTTTVTWTZUAUGUMUNUSUYUZVAVCVEVGVIVNVUWFWGWLWOWSWVYEYTYUYVZAZMZRZWlocaleLocalenullabledenlenfresitptsvplskinstantPaymentStatusbooleannullabledestinationCryptoAddressstringnullableonrampAmountstringnullableexistingUserPaidSuccessbooleannullablesuccessUrlstringrequiredRedirect URL after checkout is completed.
cancelUrlstringnullableRedirect URL if checkout is cancelled by the user.
subscriptionBackButtonUrlstringnullableRedirect URL for subscription back button.
metadataMetadata[]nullable
keystringrequiredvaluestringrequiredexpiresAtinteger<int64>nullable>= 0Unix UTC timestamp (in seconds) of when the checkout session expires.
customizationsCheckoutCustomizationsnullable
leftPanelColorstringnullableLeft panel background color.
primaryButtonColorstringnullablePay button color.
slantedEdgebooleannullableLeft panel slanted edge style.
allowDiscountCodesbooleannullableWhether discount codes are allowed
displayQrCodebooleannullableWhether to display a QR code on the checkout page.
allowFreeInputAmountbooleannullableallow user free input money amount
chargeCustomerNetworkFeebooleannullableWhether 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.
travelRuleFieldsOptionalTravelRuleFieldsnullable
Travel rule fields, not required for Open Banking checkout sessions.
namestringnullableemailAddressstringnullablecountryOfResidencestringnullabledateOfBirthstringnullableAccepted date formats are YYYY-MM-DD, YYYY/MM/DD, DD-MM-YYYY or DD/MM/YYYY
companyNamestringnullableIf populated, the account_type will always be set to `Business`
addressLine1stringnullablePrimary address line
addressLine2stringnullableSecond address line
townOrCitystringnullableTown or city
postalCodestringnullablePostal or ZIP code
stateOrProvincestringnullableState or province
accountTypeCustomerAccountTypenullableIndividualBusinessResponses
200Checkout session created successfully
checkoutSessionIdstring<uuid>requiredUnique identifier of the checkout session.
checkoutSessionUrlstringrequiredURL of the checkout session.
400Bad Request
errorstringrequired401Unauthorized
errorstringrequired500Internal server error
errorstringrequired502Bad Gateway
errorstringrequired504Gateway Timeout
errorstringrequired