Create a payment link
https://api.radom.com/payment_link/createAuthorization
Send your API key in the Authorization header. Scheme: radomToken.
Request body
productsstring[]requiredProduct identifiers associated with the payment link.
gatewayPaymentGatewayrequired
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.
marketCountryCodenullableACADAEAFAGAIALAMANAOAPAQARASATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBUBVBWBXBYBZCACCCDCFCGCHCICKCLCMCNCOCPCQCRCSCUCVCWCXCYCZDEDGDJDKDMDODYDZEAECEEEFEGEHEMEPERESETEUEVEWEZFIFJFKFLFMFOFRFXGAGBGCGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHMHNHRHTHUIBICIDIEILIMINIOIQIRISITJAJEJMJOJPKEKGKHKIKMKNKPKRKWKYKZLALBLCLFLILKLRLSLTLULVLYMAMCMDMEMFMGMHMKMLMMMNMOMPMQMRMSMTMUMVMWMXMYMZNANCNENFNGNINLNONPNRNTNUNZOAOMPAPEPFPGPHPIPKPLPMPNPRPSPTPWPYQARARBRCRERHRIRLRMRNRORPRSRURWSASBSCSDSESFSGSHSISJSKSLSMSNSOSRSSSTSUSVSXSYSZTATCTDTFTGTHTJTKTLTMTNTOTPTRTTTVTWTZUAUGUMUNUSUYUZVAVCVEVGVIVNVUWFWGWLWOWSWVYEYTYUYVZAZMZRZWlocaleLocalenullabledenlenfresitptsvplskinstantPaymentStatusbooleannullabledestinationCryptoAddressstringnullableonrampAmountstringnullableexistingUserPaidSuccessbooleannullablecustomizationsCheckoutCustomizationsnullable
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
successUrlstringnullableURL to direct to upon successful checkout.
cancelUrlstringnullableURL to direct to upon cancelled/failed checkout.
inputFieldsInputField[]nullable
Optional list of input fields to accept on checkout.
inputLabelstringrequiredisRequiredbooleanrequireddataTypeInputFieldDataTyperequiredStringNumberEmailAddressEthereumAddressSolanaAddressCountryOfResidenceDatesendEmailReceiptbooleannullablechargeCustomerNetworkFeebooleannullableWhether 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.
presaleDataPresaleRequestDatanullable
totalRaiseAmountnumber<float>nullable>= 0startsAtstring<date-time>nullableendsAtstring<date-time>nullableminimumPurchaseAmountnumber<float>nullable>= 0pricingStrategiesPricingStrategynullable
timeBasedTimeBasedStrategynullable
startsAtstring<date-time>requiredroundDurationSecondsnumber<float>requiredpriceIncreasePercentagenumber<float>requiredamountBasedAmountBasedStrategy[]nullable
namestringrequiredpriceIncreaseTonumber<float>requiredtargetAmountnumber<float>requiredcustomizationsTokenPresaleCustomizationsnullable
titlestringnullablebonusTitlenumber<float>nullable>= 20titleFontSizenumber<float>nullable>= 10titleFontColorstringnullabletitleFontFamilystringnullablehideTotalRaiseGoalbooleannullablebonusTokenPresaleBonusLevels[]nullable
greaterThaninteger<int32>requiredlessThaninteger<int32>requiredbonusinteger<int32>requiredResponses
200Payment link created successfully
idstring<uuid>requiredUnique identifier for the payment link.
urlstringrequiredURL of the payment link.
organizationIdstring<uuid>requiredOrganization ID.
sellerNamestringnullableProduct seller's name.
sellerLogoUrlstringnullableProduct seller's logo URL.
productsProductSummary[]required
Products associated with the payment link.
idstring<uuid>requiredUnique identifier for the product.
organizationIdstring<uuid>requiredProduct's owning organization ID.
namestringrequiredName of the product.
descriptionstringrequiredProduct description.
chargingIntervalSecondsinteger<int64>requiredFrequency of subscription payments.
currencyCurrencyrequiredUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATICpricenumber<float>requiredPrice of product (either one time payment or susbcription charge).
imageUrlstringrequiredURL of image to use for the product.
createdAtstring<date-time>requiredTime at which product was created.
updatedAtstring<date-time>requiredTime at which product was last updated.
isArchivedbooleannullableTrue if product is archived on dashboard
sendSubscriptionEmailsbooleannullableproductTypeProductTypenullable
PresalePresalerequired
TokenTokenPresalerequired
tickerstringrequireddecimalsinteger<int32>required>= 0gatewayPaymentGatewayrequired
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.
marketCountryCodenullableACADAEAFAGAIALAMANAOAPAQARASATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBUBVBWBXBYBZCACCCDCFCGCHCICKCLCMCNCOCPCQCRCSCUCVCWCXCYCZDEDGDJDKDMDODYDZEAECEEEFEGEHEMEPERESETEUEVEWEZFIFJFKFLFMFOFRFXGAGBGCGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHMHNHRHTHUIBICIDIEILIMINIOIQIRISITJAJEJMJOJPKEKGKHKIKMKNKPKRKWKYKZLALBLCLFLILKLRLSLTLULVLYMAMCMDMEMFMGMHMKMLMMMNMOMPMQMRMSMTMUMVMWMXMYMZNANCNENFNGNINLNONPNRNTNUNZOAOMPAPEPFPGPHPIPKPLPMPNPRPSPTPWPYQARARBRCRERHRIRLRMRNRORPRSRURWSASBSCSDSESFSGSHSISJSKSLSMSNSOSRSSSTSUSVSXSYSZTATCTDTFTGTHTJTKTLTMTNTOTPTRTTTVTWTZUAUGUMUNUSUYUZVAVCVEVGVIVNVUWFWGWLWOWSWVYEYTYUYVZAZMZRZWlocaleLocalenullabledenlenfresitptsvplskinstantPaymentStatusbooleannullabledestinationCryptoAddressstringnullableonrampAmountstringnullableexistingUserPaidSuccessbooleannullablecreatedAtstring<date-time>requiredTime at which product was created.
updatedAtstring<date-time>requiredTime at which product was last updated.
customizationsCheckoutCustomizationsrequired
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
successUrlstringnullableURL to direct to upon successful checkout.
cancelUrlstringnullableURL to direct to upon cancelled/failed checkout.
inputFieldsInputField[]nullable
JSON object containing an array of 0 or more custom inputs
inputLabelstringrequiredisRequiredbooleanrequireddataTypeInputFieldDataTyperequiredStringNumberEmailAddressEthereumAddressSolanaAddressCountryOfResidenceDatesendEmailReceiptbooleanrequiredchargeCustomerNetworkFeebooleanrequiredWhether 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.
isPresalebooleanrequiredisArchivedbooleanrequiredpresaleDataPresaleDatanullable
tokenPresaleDataTokenPresaleEntityrequired
idstring<uuid>requiredorganizationIdstring<uuid>requiredpaymentLinkIdstring<uuid>requiredcurrencyCurrencyrequiredUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATICtotalRaiseAmountnumber<float>nullable>= 0totalAmountRaisednumber<float>required>= 0startsAtstring<date-time>nullableendsAtstring<date-time>nullableminimumPurchaseAmountnumber<float>nullable>= 0pricingStrategiesPricingStrategynullable
timeBasedTimeBasedStrategynullable
startsAtstring<date-time>requiredroundDurationSecondsnumber<float>requiredpriceIncreasePercentagenumber<float>requiredamountBasedAmountBasedStrategy[]nullable
namestringrequiredpriceIncreaseTonumber<float>requiredtargetAmountnumber<float>requiredcustomizationsTokenPresaleCustomizationsnullable
titlestringnullablebonusTitlenumber<float>nullable>= 20titleFontSizenumber<float>nullable>= 10titleFontColorstringnullabletitleFontFamilystringnullablehideTotalRaiseGoalbooleannullablecreatedAtstring<date-time>requiredbonusJsonnullable400Bad Request
errorstringrequired401Unauthorized
errorstringrequired500Internal server error
errorstringrequired