Register Business
POST https://api-sandbox.coinflow.cash/api/withdraw/kyb Content-Type: application/json
Performs a Know-Your-Business check for a particular user. Will create a withdrawer record for the user if one does not exist. If the user has previously used coinflow to withdraw, the wallet will be added to the withdrawer record.
Reference: /api-reference/api-reference/withdraw/create-kyb
Authentication
x-coinflow-auth-walletheader (required) — The web3 wallet of the end user - see /api-reference/api-reference/authentication/get-session-keyx-coinflow-auth-blockchainheader (required) — The blockchain associated with the end user - see /api-reference/api-reference/authentication/get-session-keyx-coinflow-auth-user-idheader (required) — The external identifier of the end user - see /api-reference/api-reference/authentication/get-session-keyAuthorizationheader (required) — The API key of the merchant - see /api-reference/api-reference/authentication/get-session-keyx-coinflow-auth-session-keyheader (required) — The session key generated for the end user - see /api-reference/api-reference/authentication/get-session-key
Request
Body (application/json)
object or object- KybDocVRequestBody
merchantId(string, required) — The merchant the business is interacting withcountry(string, required)email(string, required)additionalWallets(list of object, optional) — Additional wallets to add to the newly created users KYC recordblockchain(enum, required)- Allowed values:
solana,eth,polygon,base,user,arbitrum,stellar,monad,tempo
- Allowed values:
wallet(string, required)
redirectLink(string, optional) — (optional): The URL to which the user will be redirected after successfully completing verification via verificationLink. This applies when the API responds with a 451 status code, instructing the caller to direct the user to verificationLink first.
- KybPassiveRequestBody
merchantId(string, required) — The merchant the business is interacting withinfo(object, required)name(string, required) — Name of the businesstin(string, required) — Tax ID Number of the business. - In the US this is the 9 digital TIN - In Canada this is the 9 digit business id - In the rest of the world it varyswebsite(string, required) — Main website to the landing page of the businessbusiness(object, required)country(string, required) — Main business countryzip(string, required) — Main business zip codestate(string, required) — Main business state/providencecity(string, required) — Main business cityaddress1(string, required) — Main business street addressaddress2(string, optional)
person(object, required)email(string, required) — Email of the main business contactlastName(string, required) — Last name of the main business contactfirstName(string, required) — First name of the main business contact
dateFormed(string, optional)phoneNumber(string, optional) — Business contact phone number, when the KYB vendor collected oneentityType(string, optional) — Type of businessmerchantId(string, optional) — The merchant the business is interacting with
additionalWallets(list of object, optional) — Additional wallets to add to the newly created users KYC recordblockchain(enum, required)- Allowed values:
solana,eth,polygon,base,user,arbitrum,stellar,monad,tempo
- Allowed values:
wallet(string, required)
redirectLink(string, optional) — (optional): The URL to which the user will be redirected after successfully completing verification via verificationLink. This applies when the API responds with a 451 status code, instructing the caller to direct the user to verificationLink first.ubos(list of object, optional)ssn(string, required)dob(string, required)country(string, required) — ISO 3166-1 alpha-2 country codeszip(string, required)state(string, required)city(string, required)physicalAddress(string, required)surName(string, required)firstName(string, required)
- KybDocVRequestBody
Response
200
Ok
withdrawer(object, required)_id(string, required)wallet(string, required)blockchain(enum, required)- Allowed values:
solana,eth,polygon,base,user,arbitrum,stellar,monad,tempo
- Allowed values:
wallets(list of object, required)wallet(string, required)blockchain(enum, required)- Allowed values:
solana,eth,polygon,base,user,arbitrum,stellar,monad,tempo
- Allowed values:
email(string, required)availability(object, required)status(enum, required)- Allowed values:
Functional,Blocked,Override
- Allowed values:
reason(string, required)editor(string, required)updatedAt(datetime, required)
currency(enum, required)- Allowed values:
USD,AED,AFN,ALL,AMD,ANG,AOA,ARS,AUD,AWG,AZN,BAM,BBD,BDT,BGN,BHD,BIF,BMD,BND,BOB,BRL,BSD,BTN,BWP,BYN,BZD,CAD,CHF,CLF,CLP,CNY,COP,CRC,CUP,CVE,CZK,DJF,DKK,DOP,DZD,EGP,ETB,EUR,FJD,GBP,GEL,GHS,GMD,GNF,GTQ,GYD,HKD,HNL,HTG,HUF,IDR,ILS,INR,IQD,IRR,ISK,JMD,JOD,JPY,KES,KGS,KHR,KMF,KRW,KWD,KYD,KZT,LAK,LBP,LKR,LRD,LSL,LYD,MAD,MDL,MGA,MKD,MMK,MNT,MOP,MRU,MUR,MWK,MVR,MXN,MYR,MZN,NAD,NGN,NIO,NOK,NPR,NZD,OMR,PAB,PEN,PGK,PHP,PKR,PLN,PYG,QAR,RON,RSD,RWF,SAR,SCR,SDG,SEK,SGD,SLE,SLL,SOS,SRD,STN,SVC,SYP,SZL,THB,TJS,TMT,TND,TOP,TRY,TTD,TWD,TZS,UAH,UGX,UYU,UZS,VND,VUV,WST,XAF,XCD,XOF,XPF,YER,ZAR,ZMW,ZWL,CDF,ERN,FKP,KPW,RUB,SBD,SHP,SSP,VES
- Allowed values:
merchant(string or object, required)- IMerchant_string_
_id(string, required)merchantId(string, required)verification(object, required)reference(string, required)status(enum, required)- Allowed values:
pending,partial-approval,approved,rejected,expired
- Allowed values:
vendor(enum, required)- Allowed values:
middesk,sumsub,sumsub_docv,persona,persona_kyb
- Allowed values:
name(string, optional)attested(boolean, optional)shareToken(string, optional)shareTokenStatus(string, optional)sessionToken(string, optional)rejectionReasons(list of string, optional)
withdrawFees(object, required)firstParty(object, required) — Make all properties in T optionalasap(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
same_day(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
standard(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
card(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
iban(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
pix(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
eft(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
venmo(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
paypal(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
wire(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
interac(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
swift(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
business(object, required) — Make all properties in T optionalasap(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
same_day(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
standard(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
card(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
iban(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
pix(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
eft(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
venmo(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
paypal(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
wire(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
interac(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
swift(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
user(object, required) — Make all properties in T optionalasap(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
same_day(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
standard(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
card(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
iban(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
pix(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
eft(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
venmo(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
paypal(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
wire(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
interac(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
swift(object, optional)fixed(object, required)variableBps(double, required)minimum(object, required)maximum(object, optional)limit(object, optional) — Make all properties in T optional
swapBps(double, required)
wallets(object, required)stellar(object, required)usdcPayer(string, required)
evm(object, required)usdcPayer(string, required)feePayer(string, required)
solana(object, required)usdcPayer(string, required)feePayer(string, required)
apiKey(string, required)apiKeys(list of object, required)ips(list of string, required)privateUuid(string, required)publicUuid(string, required)scope(enum, optional) — Which monthly-minimum model bills the merchant, selectable in merchant settings.Offassesses no minimum;LegacyandTieredread their numbers from the merchant’s MonthlyMinimum MerchantFeeSchedule row.- Allowed values:
admin,editor,chargeback,chargeback_analyst,viewer,seller,pos_device
- Allowed values:
disabled(boolean, optional)
kycType(enum, required)- Allowed values:
person,business,both
- Allowed values:
settlementToken(enum, required)- Allowed values:
USDC,SBC,EUROe,FXUSD,HSUSD,CFUSD,YPUSD
- Allowed values:
users(list of object, required)email(string, required)scope(enum, required) — Which monthly-minimum model bills the merchant, selectable in merchant settings.Offassesses no minimum;LegacyandTieredread their numbers from the merchant’s MonthlyMinimum MerchantFeeSchedule row.- Allowed values:
admin,editor,chargeback,chargeback_analyst,viewer,seller,pos_device
- Allowed values:
password(string, optional)secret(string, optional)resetNonce(string, optional)resetNonceUsed(boolean, optional)ssoProvider(enum, optional)- Allowed values:
google
- Allowed values:
ssoId(string, optional)
ubos(list of object, required)reference(string, required)status(enum, required)- Allowed values:
pending,partial-approval,approved,rejected,expired
- Allowed values:
vendor(enum, required)- Allowed values:
middesk,sumsub,sumsub_docv,persona,persona_kyb
- Allowed values:
name(string, optional)attested(boolean, optional)shareToken(string, optional)shareTokenStatus(string, optional)sessionToken(string, optional)rejectionReasons(list of string, optional)ownershipPct(double, optional)isControllingPerson(boolean, optional)
goLiveChecklist(object, required)acceptedToS(boolean, optional)programWhitelistRequests(list of object, optional)programId(string, required)blockchain(enum, required)- Allowed values:
solana,eth,polygon,base,user,arbitrum,stellar,monad,tempo
- Allowed values:
status(enum, required)- Allowed values:
approved,pending,rejected
- Allowed values:
rfis(list of object, optional)name(string, required)status(enum, required)- Allowed values:
pending,completed
- Allowed values:
url(string, required)assignmentFormId(string, optional)
onboardingFormSubmitted(boolean, optional)applicationSubmitted(boolean, optional)applicationSubmittedAt(datetime, optional)lockIndustry(boolean, optional)
cardSettings(object, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)avsCheck(boolean, required)threeDsChallengePreference(enum, required)- Allowed values:
NoPreference,Frictionless,Challenge
- Allowed values:
enforce3DSWhenProtectionExempt(boolean, required)processor(enum, optional)- Allowed values:
payarc,mock,shift4,merchant_warrior,greenlight,nmi_direct,mvb,fifththird,natwest,crb,highnote,nuveiv1,koard,fallback_payarc_shift4,fallback_shift4_payarc,fallback_shift4_nuvei,fallback_nuvei_payarc,fallback_payarc_nuvei,fallback_shift4_greenlight,fallback_greenlight_shift4,fallback_natwest_shift4,fallback_natwest_nuvei,fallback_natwest_shift4_payarc,fallback_natwest_shift4_nuvei,fallback_shift4_natwest_payarc,fallback_nuvei_natwest_payarc,fallback_natwest_nuvei_payarc,fallback_mvb_fifththird_shift4_payarc,fallback_fifththird_mvb_shift4_payarc,fallback_mvb_nuvei,fallback_nuvei_fifththird,fallback_fifththird_nuvei
- Allowed values:
orchestrationRuleId(string, optional)applePayProcessor(enum, optional)- Allowed values:
payarc,mock,shift4,merchant_warrior,greenlight,nmi_direct,mvb,fifththird,natwest,crb,highnote,nuveiv1,koard,fallback_payarc_shift4,fallback_shift4_payarc,fallback_shift4_nuvei,fallback_nuvei_payarc,fallback_payarc_nuvei,fallback_shift4_greenlight,fallback_greenlight_shift4,fallback_natwest_shift4,fallback_natwest_nuvei,fallback_natwest_shift4_payarc,fallback_natwest_shift4_nuvei,fallback_shift4_natwest_payarc,fallback_nuvei_natwest_payarc,fallback_natwest_nuvei_payarc,fallback_mvb_fifththird_shift4_payarc,fallback_fifththird_mvb_shift4_payarc,fallback_mvb_nuvei,fallback_nuvei_fifththird,fallback_fifththird_nuvei
- Allowed values:
googlePayProcessor(enum, optional)- Allowed values:
payarc,mock,shift4,merchant_warrior,greenlight,nmi_direct,mvb,fifththird,natwest,crb,highnote,nuveiv1,koard,fallback_payarc_shift4,fallback_shift4_payarc,fallback_shift4_nuvei,fallback_nuvei_payarc,fallback_payarc_nuvei,fallback_shift4_greenlight,fallback_greenlight_shift4,fallback_natwest_shift4,fallback_natwest_nuvei,fallback_natwest_shift4_payarc,fallback_natwest_shift4_nuvei,fallback_shift4_natwest_payarc,fallback_nuvei_natwest_payarc,fallback_natwest_nuvei_payarc,fallback_mvb_fifththird_shift4_payarc,fallback_fifththird_mvb_shift4_payarc,fallback_mvb_nuvei,fallback_nuvei_fifththird,fallback_fifththird_nuvei
- Allowed values:
creditCardFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
chargebackProtectionFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
gasFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fxFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
networkFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fixedFee(object, optional)cents(integer, required)
variableFeeBps(double, optional)networkFeeBps(double, optional)supportsGooglePay(boolean, optional)supportsApplePay(boolean, optional)saveCardDefault(boolean, optional)ignoreProcessorLimit(boolean, optional)nameMatchThreshold(double, optional)verificationSettings(object, optional)threshold3DS(object, optional)cents(integer, required)
verificationLimit(object, optional)cents(integer, required)
greenlightMerchantArgs(object, optional)securityKey(string, required)mid(string, required)
nuveiV1MerchantArgs(object, optional)merchantId(string, required)merchantSiteId(string, required)conversionAffiliateCountryCode(string, optional)
crbMerchantArgs(object, optional) — The merchant’s CRB banking identity. CRB is onboarded manually in CRB’s dashboard — these values are pasted into our merchant dashboard and verified live against CRB before being persisted.customerId(string, required)cifNumber(string, optional)subledgerAccountNumber(string, optional)controllingPersonId(string, optional)environment(enum, optional)- Allowed values:
sandbox,production
- Allowed values:
highnoteMerchantArgs(object, optional)businessId(string, required)primaryAuthorizedPersonId(string, optional) — Highnote id of the primary business person, captured from the createBusiness response — onboardBusiness attributes its consent to it.merchantAcceptorId(string, optional)applicationSubmittedAt(datetime, optional) — Set when onboardBusiness (the ProductApplication submission) succeeded. A re-run while underwriting is still Pending must not re-submit the application — Highnote rejects duplicates, which would overwrite a healthy Pending status with an error.
payarcMerchantArgs(object, optional)apiKey(string, required)merchantId(string, optional)
threeDSArgs(object, optional) — Construct a type with a set of properties K of type TVISA(object, required)merchantId(string, required)bin(string, required)name(string, required)mcc(string, optional)
MSTR(object, required)merchantId(string, required)bin(string, required)name(string, required)mcc(string, optional)
AMEX(object, required)merchantId(string, required)bin(string, required)name(string, required)mcc(string, optional)
DISC(object, required)merchantId(string, required)bin(string, required)name(string, required)mcc(string, optional)
allowAttempts(boolean, required)mcc(string, required)scaOnly(boolean, optional)
statementDescriptor(string, optional)tokenizationProvider(enum, optional)- Allowed values:
bt,tokenex
- Allowed values:
applePayIntegratorRegistration(object, optional)domainNames(list of string, required)partnerMerchantName(string, required)partnerMerchantValidationURI(string, required)partnerInternalMerchantIdentifier(string, required)
applePayMerchantDecryption(boolean, optional)applePayCertificates(object, optional)merchantIdCert(string, required)privatePem(string, required)certPem(string, required)merchantDisplay(string, required)merchantIdentifier(string, required)
aftSettings(object, optional)enabled(boolean, required)type(enum, required)- Allowed values:
disbursement,personToPerson,accountToAccount,topUp,purchase,cash,walletLoad
- Allowed values:
purpose(enum, required)- Allowed values:
businessToBusiness,creditCardRepayment,crypto,crowdLending,debitCard,education,emergency,familySupport,gift,giftCard,gaming,highRiskSecurities,liquidAssets,medical,payroll,prepaidCard,salary,savings,travel,other
- Allowed values:
merchantA2AMastercardAftRecipient(object, optional)walletReference(string, required)countryCode(string, required)state(string, required)postalCode(string, required)city(string, required)address1(string, required)lastName(string, required)firstName(string, required)
customStatementDescriptor(boolean, optional)cardOnFileSettings(object, optional)enabled(boolean, required)period(double, required)maxCount(double, required)maxMultiple(double, required)expiration(double, required)maxZeroAuthAmount(object, optional)cents(integer, required)
maxAmountLookback(double, optional)amountLimitThreshold(object, optional)cents(integer, required)
mitSettings(object, optional)enabled(boolean, required)period(double, required)maxCount(double, required)maxMultiple(double, required)expiration(double, required)maxZeroAuthAmount(object, optional)cents(integer, required)
maxAmountLookback(double, optional)amountLimitThreshold(object, optional)cents(integer, required)
blockCardReuseAcrossCustomers(boolean, optional) — When true, blocks a card payment if the same card token has been used by a different customer for this merchant.allowedCardNetworks(list of enum, optional)- Allowed values:
VISA,MSTR,AMEX,DISC
- Allowed values:
allowServerToServerTokenization(boolean, optional)visaFraudMonitoringProgram(boolean, optional)debitOnly(boolean, optional)refundFeeSettings(object, optional)feeBps(double, optional)fixedFee(object, optional)cents(integer, required)
minFee(object, optional)cents(integer, required)
maxFee(object, optional)cents(integer, required)
achSettings(object, required)allowDelayedTransactions(boolean, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)instantSettle(boolean, required)processor(enum, optional)- Allowed values:
mock,aptpay,coinfx,braid
- Allowed values:
feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
maxAmount(object, optional)cents(integer, required)
nameMatchThreshold(double, optional)requireKycBeforePurchase(boolean, optional)withdrawNameMatchThreshold(double, optional)minFee(object, optional)cents(integer, required)
maxFee(object, optional)cents(integer, required)
feeBps(double, optional)fixedFee(object, optional)cents(integer, required)
settlementDays(double, optional)refundFeeSettings(object, optional)feeBps(double, optional)fixedFee(object, optional)cents(integer, required)
minFee(object, optional)cents(integer, required)
maxFee(object, optional)cents(integer, required)
allowedOrderTypes(list of enum, optional) — If set and non-empty,achCheckoutrequiresorderTypeto be one of these values.- Allowed values:
one_time_purchase,recurring_subscription,recurring_balance_top_up,limit_order,fair_market_value
- Allowed values:
wireSettings(object, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)processor(enum, optional)- Allowed values:
braid,mock
- Allowed values:
feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fxFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
minFee(object, optional)cents(integer, required)
maxFee(object, optional)cents(integer, required)
feeBps(double, optional)fixedFee(object, optional)cents(integer, required)
dailyLimit(object, optional)cents(integer, required)
refundFeeSettings(object, optional)feeBps(double, optional)fixedFee(object, optional)cents(integer, required)
minFee(object, optional)cents(integer, required)
maxFee(object, optional)cents(integer, required)
pixSettings(object, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)processor(enum, optional)- Allowed values:
brla,mock
- Allowed values:
feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fxFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fixedFee(object, optional)cents(integer, required)
feeBps(double, optional)refundFeeSettings(object, optional)feeBps(double, optional)fixedFee(object, optional)cents(integer, required)
minFee(object, optional)cents(integer, required)
maxFee(object, optional)cents(integer, required)
ibanSettings(object, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)processor(enum, optional)- Allowed values:
merge,ivy,mock
- Allowed values:
feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fxFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fixedFee(object, optional)cents(integer, required)
feeBps(double, optional)minFee(object, optional)cents(integer, required)
refundFeeSettings(object, optional)feeBps(double, optional)fixedFee(object, optional)cents(integer, required)
minFee(object, optional)cents(integer, required)
maxFee(object, optional)cents(integer, required)
cryptoPayinSettings(object, required)stables(object, required)feeBps(double, required)enabled(boolean, required)feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
majors(object, required)feeBps(double, required)enabled(boolean, required)feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
volatile(object, required)feeBps(double, required)enabled(boolean, required)feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
enabled(boolean, required)maxGasFeePayment(object, required)cents(integer, required)
coinbaseDisabled(boolean, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
transferOnly(boolean, optional)fixedFee(object, optional)cents(integer, required)
enableStableDepositAddresses(boolean, optional)maxActivePassiveAddresses(double, optional) — Cap on the number of simultaneously-active customer pay-in passive deposit addresses for this merchant. Undefined = no cap. Paused addresses don’t count against the cap.
cashAppSettings(object, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)processor(enum, optional)- Allowed values:
mock,flashnet
- Allowed values:
feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fxFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fixedFee(object, optional)cents(integer, required)
feeBps(double, optional)minFee(object, optional)cents(integer, required)
paypalSettings(object, required)fixedFee(object, required)cents(integer, required)
feeBps(double, required)minFee(object, required)cents(integer, required)
customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)processor(enum, optional)- Allowed values:
mock,paypal
- Allowed values:
feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fxFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
maxFee(object, optional)cents(integer, required)
refundFeeSettings(object, optional)feeBps(double, optional)fixedFee(object, optional)cents(integer, required)
minFee(object, optional)cents(integer, required)
maxFee(object, optional)cents(integer, required)
requireLogin(boolean, optional) — When set, new PayPal payout accounts must be linked via the verified “Log in with PayPal” flow — raw phone/email adds are rejected. Not retroactive: already-linked accounts remain payable.blockPayerReuseAcrossCustomers(boolean, optional) — When true, blocks a PayPal payment if the same PayPal payer identity (payerId/email) has been used by a different customer for this merchant.nameMatchThreshold(double, optional) — 0–100 fuzzy-match floor for the PayPal buyer name vs. the customer’s name; below it the payment is failed before authorizing. Unset = disabled.
venmoSettings(object, required)fixedFee(object, required)cents(integer, required)
feeBps(double, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)processor(enum, optional)- Allowed values:
mock,paypal
- Allowed values:
feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fxFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
maxFee(object, optional)cents(integer, required)
minFee(object, optional)cents(integer, required)
refundFeeSettings(object, optional)feeBps(double, optional)fixedFee(object, optional)cents(integer, required)
minFee(object, optional)cents(integer, required)
maxFee(object, optional)cents(integer, required)
blockPayerReuseAcrossCustomers(boolean, optional) — When true, blocks a Venmo payment if the same Venmo payer identity (payerId/email) has been used by a different customer for this merchant.nameMatchThreshold(double, optional) — 0–100 fuzzy-match floor for the Venmo buyer name vs. the customer’s name; below it the payment is failed before authorizing. Unset = disabled.
apaSettings(object, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)processor(enum, optional)- Allowed values:
apa,mock
- Allowed values:
feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fxFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fixedFee(object, optional)cents(integer, required)
feeBps(double, optional)minFee(object, optional)cents(integer, required)
hideBranding(boolean, required)onlyShowTotal(boolean, required)skipSendWithdrawEmail(boolean, required)sendInvoiceNotifications(boolean, required)advancedAnalytics(boolean, required)riskInsights(boolean, required) — Gates the Risk Insights dashboard. Admins see it regardless.requireAniCheck(boolean, required)interacSettings(object, required)customerEmailNotifications(boolean, required)merchantEmailNotifications(boolean, required)processor(enum, optional)- Allowed values:
mock,aptpay
- Allowed values:
feeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fxFeeMode(enum, optional)- Allowed values:
user,merchant,invoice
- Allowed values:
fixedFee(object, optional)cents(integer, required)
feeBps(double, optional)minFee(object, optional)cents(integer, required)
refundBalanceLimit(object, required)cents(integer, required)
creditSeed(string, required)withdrawSettlementLocation(enum, required)- Allowed values:
circle,brale,paper,brale_youpay,bastion
- Allowed values:
enforceJwt(boolean, required)delayedSettlementDays(double, required) — Number of business days to delay stablecoin settlement after payment capture. Only applies to USDC settlements. 0 means no delay (immediate settlement). Maximum value is 5 days.interchangeFees(object, required)settings(object, required)useType(boolean, required)useRegion(boolean, required)useScheme(boolean, required)useBrand(boolean, required)useDurbin(boolean, required)
rates(object, optional) — Construct a type with a set of properties K of type T
pushToCardEnabled(boolean, required, deprecated)brand(object, optional)portalBrand(enum, optional)- Allowed values:
approvely,seamlesschex,coinflow,yourbrandhere,Plan2Play,tango,interlace,tapvia,decal
- Allowed values:
logo(string, optional)displayName(string, optional)
colors(object, optional)showCardIcon(boolean, optional)placeholderColor(string, optional)expirationPlaceholder(string, optional)cvvPlaceholder(string, optional)cardNumberPlaceholder(string, optional)fontWeight(string, optional)fontSize(string, optional)style(enum, optional)- Allowed values:
rounded,sharp,pill
- Allowed values:
font(string, optional)ctaColor(string, optional)textColorAction(string, optional)textColorAccent(string, optional)textColor(string, optional)backgroundAccent2(string, optional)backgroundAccent(string, optional)cardBackground(string, optional)background(string, optional)primary(string, optional)
url(string, optional)customWithdrawFees(object, optional) — Make all properties in T optionalglobal(object or object, required)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
lineItemLabel(string, required)isBundled(boolean, required)asap(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
same_day(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
standard(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
card(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
iban(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
pix(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
eft(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
venmo(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
paypal(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
wire(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
interac(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
swift(object or object, optional)- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
maxFeeCents(double, required, nullable)minFeeCents(double, required, nullable)coverProcessingFees(boolean, required)cents(double, required, nullable)percent(double, required)isFixed(boolean, required)currency(enum, optional, nullable)
- object
customPayInFees(list of object, optional)fee(object or object, required)- object
cents(double, required)currency(enum, required)percent(double, required, nullable)isFixed(boolean, required)
- object
cents(double, required, nullable)currency(double, required, nullable)percent(double, required)isFixed(boolean, required)
- object
lineItemLabel(string, required)
webhookValidationKey(string, optional)nmiWebhookValidationKey(string, optional)settlementAddresses(object, optional)solana(string, optional)eth(string, optional)polygon(string, optional)base(string, optional)user(string, optional)arbitrum(string, optional)stellar(string, optional)monad(string, optional)tempo(string, optional)directVendor(enum, optional)- Allowed values:
brale
- Allowed values:
mpcWalletProvider(enum, optional)- Allowed values:
metakeep,brale
- Allowed values:
recipientAddresses(list of object, optional)createdAt(datetime, required)recipient(string, required)info(object, optional) — Construct a type with a set of properties K of type T
verification(object, optional)reference(string, required)status(enum, required)- Allowed values:
pending,partial-approval,approved,rejected,expired
- Allowed values:
vendor(enum, required)- Allowed values:
middesk,sumsub,sumsub_docv,persona,persona_kyb
- Allowed values:
name(string, optional)attested(boolean, optional)shareToken(string, optional)shareTokenStatus(string, optional)sessionToken(string, optional)rejectionReasons(list of string, optional)
webhookSettings(object, optional)webhookUrls(list of string, required)version(enum, required)- Allowed values:
Legacy,Version 1,Version 2,Version 3
- Allowed values:
subscriptions(list of enum, required)- Allowed values:
Card Payment Authorized,Card Payment Declined,Card Payment Voided,Credits Minted,ACH Initiated,ACH Success,ACH Returned,ACH Failed,ACH Chargeback,ACH Batched,PIX Failed,PIX Expiration,Payment Authorized,Payment Expiration,Settled,Wire Initiated,USDC Payment Received,Subscription Created,Subscription Canceled,Subscription Expired,Subscription Failure,Subscription Concluded,Card Payment Chargeback Opened,Card Payment Chargeback Won,Card Payment Chargeback Lost,Card Payment Suspected Fraud,Payment Pending Review,KYC Created,KYC Success,KYC Failure,Sub-merchant KYB Created,Sub-merchant KYB Success,Sub-merchant KYB Failure,Withdraw Pending,Withdraw Success,Withdraw Failure,Seller Blocked,Refund,Refund Complete,Refund Failure,Refund Returned,Wire Failure,Iban Failure,Interac Failure,CashApp Failure,PayPal Failure,Venmo Failure,Reserve Released,Crypto Overpayment,Crypto Underpayment,Iban RFI Created,Iban RFI Submitted,Crypto Deposit Funds Received,Customer Override Limit Threshold,Crypto Payin Funds Received,PayPal Payment Authorized,PayPal Payment Voided,PayPal Payment Chargeback Opened,PayPal Payment Chargeback Won,PayPal Payment Chargeback Lost,Venmo Payment Authorized,Venmo Payment Voided,Venmo Payment Chargeback Opened,Venmo Payment Chargeback Won,Venmo Payment Chargeback Lost,Disbursed Funds,Unknown Wire Payment Received
- Allowed values:
disableAuthorizationHeader(boolean, optional)disableSubmerchantToParentWebhooks(boolean, optional)
citconSettings(object, optional)fundPurpose(enum, required)- Allowed values:
goods,services,prizes,rebates,others
- Allowed values:
apiKey(string, optional)apiKeyPreview(string, optional)
aptPayCanadaSettings(object or object, optional)- AptpayCanadaMerchantSettings
id(string, required)
- AptpayCanadaCoinflowSettings
coinflow(boolean, required)
- AptpayCanadaMerchantSettings
passiveWithdrawSettings(object, optional) — Merchant-level settings for the withdrawer-side passive deposit address flow (CryptoWithdrawService). Independent from CryptoPayInSettings.enabled(boolean, required)maxActiveAddresses(double, optional) — Cap on the number of simultaneously-active withdraw passive deposit addresses for this merchant. Undefined = no cap.
rainCompanyCards(object, optional)enabled(boolean, optional)rainCompanyId(string, optional)externalId(string, optional)applicationStatus(enum, optional)- Allowed values:
approved,pending,needsInformation,needsVerification,manualReview,denied,locked,canceled
- Allowed values:
applicationReason(string, optional)completionLink(string, optional)submittedAt(datetime, optional)lastSyncedAt(datetime, optional)contract(object, optional)contractId(string, required)chainId(double, required)depositAddress(string, required)createdAt(datetime, required)lastSyncedAt(datetime, required)programAddress(string, optional)proxyAddress(string, optional)controllerAddress(string, optional)contractVersion(double, optional)adminAddresses(list of string, optional)onramp(object, optional)wire(object, optional)rtp(object, optional)ach(object, optional)
autoTopUp(object, optional)enabled(boolean, required)targetUsdc(double, required)cadence(enum, required)- Allowed values:
transaction,hour,day,week,month
- Allowed values:
lastRunAt(datetime, optional)updatedAt(datetime, optional)updatedBy(string, optional)
pendingTopUps(list of object, optional)amount(double, required)queuedAt(datetime, required)transactionId(string, required)
processedSpendTxnIds(list of string, optional)
verisoulSettings(object, optional)enabled(boolean, required)riskThresholds(object, required)device_risk(double, optional)proxy(double, optional)vpn(double, optional)tor(double, optional)spoofed_ip(double, optional)datacenter(double, optional)recent_fraud_ip(double, optional)impossible_travel(double, optional)device_network_mismatch(double, optional)account_score(double, optional)risk_signals(double, optional)email_score(double, optional)
chargebackFightSettings(object, optional) — Per-merchant chargeback-fight enrollment. This is the only per-merchant dimension of theshouldFightflag: whenenabledis false (or the settings are absent)shouldFightis always false for that merchant. The actual match rules (processor + protection decision) live in the global {@link ChargebackFightRuleset }, configured by ops on the Chargeback Ops page.enabled(boolean, required) — Master enrollment switch. When false, shouldFight is always false.
blockConfig(object, optional)disableMultiCardAttemptCheck(boolean, optional) — When true, skips the multi-card attempt check (2+ distinct cards failing in 1 hour).maxDistinctTokensPer30Days(double, optional) — Maximum number of distinct card tokens a single customer may use across non-failed/voided card payments for this merchant in a rolling 30-day window. Apple Pay / Google Pay payments are excluded. Unset or 0 disables the check. Customers withfailedAttemptSetting: Exemptbypass it.disableDestinationAuthKey(boolean, optional) — When true, prevents usage of destinationAuthKey for custom settlement addresses.enableNmiSettlement(boolean, optional) — When true, enables the settlement pipeline for NMI transactions (converts card payments to USDC).disableInvoiceWalletPayment(boolean, optional) — When true, disables wallet balance payments for invoices. Merchants must use checkout.blockingRules(list of object, optional) — Independent geo-blocking rules for withdrawals vs card checkout, with explicit per-rule enforcement methods (KYC address / IP / billing address). Read viagetBlockingRulesso callers transparently see the legacybannedWithdrawalStatesfor un-migrated merchants.scope(enum, required)- Allowed values:
WITHDRAWAL,CHECKOUT,GLOBAL
- Allowed values:
method(enum, required)- Allowed values:
KYC_ADDRESS,IP,BILLING_ADDRESS,GEOLOCATION,BIN
- Allowed values:
states(list of enum, required)- Allowed values:
AL,AK,AZ,AR,CA,CO,CT,DE,DC,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,ME,MD,MA,MI,MN,MS,MO,MT,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,WY
- Allowed values:
listMode(enum, optional)- Allowed values:
DENY,ALLOW
- Allowed values:
countries(list of enum, optional)- Allowed values:
AF,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AX,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CD,CG,CK,CR,HR,CU,CW,CY,CZ,CI,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,EH,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IR,IQ,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KP,KR,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,NC,NZ,NI,NE,NG,NU,NF,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,MK,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,SY,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,UM,US,UY,UZ,VU,VE,VN,VG,VI,WF,XK,YE,ZM,ZW
- Allowed values:
failedPaymentAttemptLimit(double, optional)bannedWithdrawalStates(list of enum, optional, deprecated)- Allowed values:
AL,AK,AZ,AR,CA,CO,CT,DE,DC,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,ME,MD,MA,MI,MN,MS,MO,MT,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,WY
- Allowed values:
whitelistedBinLocations(list of enum, optional, deprecated)- Allowed values:
AF,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AX,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CD,CG,CK,CR,HR,CU,CW,CY,CZ,CI,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,EH,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IR,IQ,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KP,KR,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,NC,NZ,NI,NE,NG,NU,NF,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,MK,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,SY,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,UM,US,UY,UZ,VU,VE,VN,VG,VI,WF,XK,YE,ZM,ZW
- Allowed values:
invoiceFrequency(enum, optional)- Allowed values:
Monthly,BiWeekly,Weekly
- Allowed values:
billingEmails(list of string, optional)withdrawFeePayment(object, optional)paysGasFees(object, optional) — Make all properties in T optionalsolana(boolean, optional)eth(boolean, optional)polygon(boolean, optional)base(boolean, optional)user(boolean, optional)arbitrum(boolean, optional)stellar(boolean, optional)monad(boolean, optional)tempo(boolean, optional)
bundleDelegatedPayoutFees(boolean, optional)paysSwapFees(boolean, optional)paysWithdrawFees(boolean, optional)
bankPayoutProvider(list of enum, optional)- Allowed values:
aptpay,coinfx,checkbook,BRAID,brale,mock
- Allowed values:
ibanPayoutProviders(list of enum, optional)- Allowed values:
merge,mock,ivy
- Allowed values:
swiftPayoutProviders(list of enum, optional)- Allowed values:
manual,mock
- Allowed values:
ibanPayoutProvider(enum, optional)- Allowed values:
merge,mock,ivy
- Allowed values:
rtpPayoutProviders(list of enum, optional)- Allowed values:
dwolla,mock,aptpay,aptpayRtp,checkbook,brale
- Allowed values:
rtpPayoutProvider(enum, optional)- Allowed values:
dwolla,mock,aptpay,aptpayRtp,checkbook,brale
- Allowed values:
pixPayoutProviders(list of enum, optional)- Allowed values:
brla,mock
- Allowed values:
pixPayoutProvider(enum, optional)- Allowed values:
brla,mock
- Allowed values:
eftPayoutProviders(list of enum, optional)- Allowed values:
checkbook,aptpay,mock
- Allowed values:
eftPayoutProvider(enum, optional)- Allowed values:
checkbook,aptpay,mock
- Allowed values:
p2cPayoutProviders(list of enum, optional)- Allowed values:
aptpay,checkbook,shift4,citcon,MOCK
- Allowed values:
p2cPayoutProvider(enum, optional)- Allowed values:
aptpay,checkbook,shift4,citcon,MOCK
- Allowed values:
globalP2cPayoutProvider(enum, optional)- Allowed values:
aptpay,checkbook,shift4,citcon,MOCK
- Allowed values:
appleP2cPayoutProvider(enum, optional)- Allowed values:
aptpay,MOCK
- Allowed values:
venmoPayoutProviders(list of enum, optional)- Allowed values:
checkbook,citcon,mock,paypal
- Allowed values:
venmoPayoutProvider(enum, optional)- Allowed values:
checkbook,citcon,mock,paypal
- Allowed values:
paypalPayoutProviders(list of enum, optional)- Allowed values:
checkbook,citcon,mock,paypal
- Allowed values:
paypalPayoutProvider(enum, optional)- Allowed values:
checkbook,citcon,mock,paypal
- Allowed values:
wirePayoutProvider(list of enum, optional)- Allowed values:
MOCK,BRAID
- Allowed values:
interacPayoutProviders(list of enum, optional)- Allowed values:
checkbook,mock,aptpay
- Allowed values:
interacPayoutProvider(enum, optional)- Allowed values:
checkbook,mock,aptpay
- Allowed values:
interacPaymentProvider(enum, optional)- Allowed values:
mock,aptpay
- Allowed values:
withdrawSorting(object, optional) — Make all properties in T optionalasap(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
same_day(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
standard(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
card(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
iban(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
pix(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
eft(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
venmo(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
paypal(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
wire(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
interac(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
swift(enum, optional)- Allowed values:
DEFAULT,CHEAPEST,ORDERED,LIMIT_CONSUMPTION
- Allowed values:
withdrawRules(list of string, optional)maxTransactionAmount(object, optional)cents(integer, required)
minTransactionAmount(object, optional)cents(integer, required)
parent(string, optional)onboardingVersion(enum, optional)- Allowed values:
legacy,sdd
- Allowed values:
childDefaultOnboardingVersion(enum, optional)- Allowed values:
legacy,sdd
- Allowed values:
enforceCheckoutJwt(boolean, optional)externalVerificationLinks(boolean, optional)whitelistedAncestorUrls(list of string, optional)banDuplicateAccounts(boolean, optional)fxFees(object, optional) — Make all properties in T optionalUSD(double, optional)AED(double, optional)AFN(double, optional)ALL(double, optional)AMD(double, optional)ANG(double, optional)AOA(double, optional)ARS(double, optional)AUD(double, optional)AWG(double, optional)AZN(double, optional)BAM(double, optional)BBD(double, optional)BDT(double, optional)BGN(double, optional)BHD(double, optional)BIF(double, optional)BMD(double, optional)BND(double, optional)BOB(double, optional)BRL(double, optional)BSD(double, optional)BTN(double, optional)BWP(double, optional)BYN(double, optional)BZD(double, optional)CAD(double, optional)CHF(double, optional)CLF(double, optional)CLP(double, optional)CNY(double, optional)COP(double, optional)CRC(double, optional)CUP(double, optional)CVE(double, optional)CZK(double, optional)DJF(double, optional)DKK(double, optional)DOP(double, optional)DZD(double, optional)EGP(double, optional)ETB(double, optional)EUR(double, optional)FJD(double, optional)GBP(double, optional)GEL(double, optional)GHS(double, optional)GMD(double, optional)GNF(double, optional)GTQ(double, optional)GYD(double, optional)HKD(double, optional)HNL(double, optional)HTG(double, optional)HUF(double, optional)IDR(double, optional)ILS(double, optional)INR(double, optional)IQD(double, optional)IRR(double, optional)ISK(double, optional)JMD(double, optional)JOD(double, optional)JPY(double, optional)KES(double, optional)KGS(double, optional)KHR(double, optional)KMF(double, optional)KRW(double, optional)KWD(double, optional)KYD(double, optional)KZT(double, optional)LAK(double, optional)LBP(double, optional)LKR(double, optional)LRD(double, optional)LSL(double, optional)LYD(double, optional)MAD(double, optional)MDL(double, optional)MGA(double, optional)MKD(double, optional)MMK(double, optional)MNT(double, optional)MOP(double, optional)MRU(double, optional)MUR(double, optional)MWK(double, optional)MVR(double, optional)MXN(double, optional)MYR(double, optional)MZN(double, optional)NAD(double, optional)NGN(double, optional)NIO(double, optional)NOK(double, optional)NPR(double, optional)NZD(double, optional)OMR(double, optional)PAB(double, optional)PEN(double, optional)PGK(double, optional)PHP(double, optional)PKR(double, optional)PLN(double, optional)PYG(double, optional)QAR(double, optional)RON(double, optional)RSD(double, optional)RWF(double, optional)SAR(double, optional)SCR(double, optional)SDG(double, optional)SEK(double, optional)SGD(double, optional)SLE(double, optional)SLL(double, optional)SOS(double, optional)SRD(double, optional)STN(double, optional)SVC(double, optional)SYP(double, optional)SZL(double, optional)THB(double, optional)TJS(double, optional)TMT(double, optional)TND(double, optional)TOP(double, optional)TRY(double, optional)TTD(double, optional)TWD(double, optional)TZS(double, optional)UAH(double, optional)UGX(double, optional)UYU(double, optional)UZS(double, optional)VND(double, optional)VUV(double, optional)WST(double, optional)XAF(double, optional)XCD(double, optional)XOF(double, optional)XPF(double, optional)YER(double, optional)ZAR(double, optional)ZMW(double, optional)ZWL(double, optional)CDF(double, optional)ERN(double, optional)FKP(double, optional)KPW(double, optional)RUB(double, optional)SBD(double, optional)SHP(double, optional)SSP(double, optional)VES(double, optional)
blocked(object, optional)level(enum, required)- Allowed values:
Unverified,Suspended
- Allowed values:
reason(string, required)editor(string, required)blockedAt(datetime, required)recoverySignature(string, optional)
vendorSettings(object, optional)aptPayIdentity(double, optional)aptPayUSCoinflow(boolean, optional)braid(object, optional)businessId(double, required)accountId(double, required) — the Braid operating accountIdaccountNumber(string, required) — the Braid operating account numberreserveAccountId(double, required) — the Braid reserve accountIdreserveAccountNumber(string, required) — the Braid reserve account numberrollingAccountId(double, optional) — the Braid rolling accountIdrollingAccountNumber(string, optional) — the Braid rolling account number
ivy(object, optional)gbpPayinAccountId(string, required)eurAccountId(string, required)
paypal(object, optional)accountId(string, required)status(string, optional) — PAY_WITH_PAYPAL capability status (ACTIVE / NEED_DATA / SUSPENDED).requirements(list of string, optional) — Outstanding requirements blocking PAY_WITH_PAYPAL.venmoStatus(string, optional) — VENMO_PAY_PROCESSING capability status — same account, separate status.venmoRequirements(list of string, optional) — Outstanding requirements blocking VENMO_PAY_PROCESSING.stakeholderIds(list of string, optional)verificationTriggered(boolean, optional) — True once we’ve asked PayPal to (re)verify this account’s capabilities. triggerVerification itself makes PayPal emit a CAPABILITY_UPDATED webhook, so this flag stops that webhook from triggering verification again forever.
koard(object, optional)accountId(string, required)enabled(boolean, optional)apiKeyPreview(string, optional)apiKey(string, optional)
generatedDescription(string, optional)bankSettlementOptions(object, optional)token(string, required)minRemainingBalance(object, required)cents(integer, required)
useWire(boolean, optional)
allowAttestedKyc(boolean, optional)attestedKycSsnNotRequired(boolean, optional)allowAccountSharing(boolean, optional)personaKycShareTokenTemplate(string, optional)sendPresettleWebhooks(boolean, optional)velocitySettings(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
velocitySettingsByRail(object, optional) — Make all properties in T optionalcard(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
ach(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
pix(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
iban(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
crypto(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
wire(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
CashApp(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
paypal(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
venmo(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
apa(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
interac(object, optional)limitMode(enum, required)- Allowed values:
default,dynamic,custom,no_limit
- Allowed values:
customLimit(double, optional)haltOnThreshold(boolean, optional)lastHaltNotificationSentAt(datetime, optional)lastSettlementPausedNotificationSentAt(datetime, optional)
enforceLivenessKyc(boolean, optional)kycMinAge(double, optional)canCreateBankAccounts(boolean, optional)checkbookSettings(object, optional)merchantName(string, required)secret(string, required)key(string, required)walletId(string, required)id(string, required)
reserveSettings(object, optional)status(enum, required)- Allowed values:
Disabled,Active,SweepFixed
- Allowed values:
rollingBps(double, required)rollingDuration(double, required)notes(string, optional)
globalRateLimit(double, optional)banProxiesForCheckoutEndpoints(boolean, optional)riskControls(object, optional)topup(object, optional)minAmountCents(double, optional) — Minimum topup amount in centsmaxAmountCents(double, optional) — Maximum topup amount in cents
acceptedToS(boolean, optional)ssoSettings(object, optional)requireSso(boolean, required)
chargebackFeeCents(double, optional)chargebackEmails(list of string, optional)fraudEmails(list of string, optional)linkedBankAccount(object, optional)routingNumber(string, required)accountNumber(string, required)accountType(enum, required)- Allowed values:
checking,savings
- Allowed values:
plaidAccessToken(string, required)plaidAccountId(string, required)institutionName(string, optional)
customerDefaultOverrideLimit(object, optional)cents(integer, required)
customerOverrideLimitCeiling(object, optional)cents(integer, required)
customerDefaultExposureLimit(object, optional)cents(integer, required)
dailyExposureLimit(object, optional)cents(integer, required)
monthlyExposureLimit(object, optional)cents(integer, required)
sendExposureCapSlackAlerts(boolean, optional)mcc(string, optional)processing(object, optional)msaSigned(boolean, required)statementsOnFile(boolean, required)
useSubsidiaryAccounts(boolean, optional)firstPartyPayoutOverrides(object, optional, deprecated)interacPayoutProvider(enum, optional)- Allowed values:
checkbook,mock,aptpay
- Allowed values:
wirePayoutProvider(list of enum, optional)- Allowed values:
MOCK,BRAID
- Allowed values:
paypalPayoutProvider(enum, optional)- Allowed values:
checkbook,citcon,mock,paypal
- Allowed values:
venmoPayoutProvider(enum, optional)- Allowed values:
checkbook,citcon,mock,paypal
- Allowed values:
appleP2cPayoutProvider(enum, optional)- Allowed values:
aptpay,MOCK
- Allowed values:
globalP2cPayoutProvider(enum, optional)- Allowed values:
aptpay,checkbook,shift4,citcon,MOCK
- Allowed values:
p2cPayoutProvider(enum, optional)- Allowed values:
aptpay,checkbook,shift4,citcon,MOCK
- Allowed values:
eftPayoutProvider(enum, optional)- Allowed values:
checkbook,aptpay,mock
- Allowed values:
pixPayoutProvider(enum, optional)- Allowed values:
brla,mock
- Allowed values:
rtpPayoutProvider(enum, optional)- Allowed values:
dwolla,mock,aptpay,aptpayRtp,checkbook,brale
- Allowed values:
ibanPayoutProvider(enum, optional)- Allowed values:
merge,mock,ivy
- Allowed values:
bankPayoutProvider(list of enum, optional)- Allowed values:
aptpay,coinfx,checkbook,BRAID,brale,mock
- Allowed values:
- IMerchant_string_
verification(object, required)reference(string, required)status(enum, required)- Allowed values:
pending,partial-approval,approved,rejected,expired
- Allowed values:
vendor(enum, required)- Allowed values:
middesk,sumsub,sumsub_docv,persona,persona_kyb
- Allowed values:
name(string, optional)attested(boolean, optional)shareToken(string, optional)shareTokenStatus(string, optional)sessionToken(string, optional)rejectionReasons(list of string, optional)
riskScoreOverride(boolean, required)country(string, required)business(boolean, required)ubos(list of object, required)reference(string, required)status(enum, required)- Allowed values:
pending,partial-approval,approved,rejected,expired
- Allowed values:
vendor(enum, required)- Allowed values:
middesk,sumsub,sumsub_docv,persona,persona_kyb
- Allowed values:
name(string, optional)attested(boolean, optional)shareToken(string, optional)shareTokenStatus(string, optional)sessionToken(string, optional)rejectionReasons(list of string, optional)ownershipPct(double, optional)isControllingPerson(boolean, optional)
originalCurrency(enum or enum or enum or enum or enum, optional)geoBlockOverride(object, optional) — Per-customer exemption from real-time geographic enforcement. When set and not expired, withdrawal blocking rules with methodGEOLOCATIONorIPare skipped for this withdrawer.KYC_ADDRESSrules still apply — KYC is the compliance floor and must remain enforceable. Auditable by construction:reasonandsetByare required so admins can review why a specific user was exempted.expiresAtis optional but strongly recommended; long-lived overrides should be avoided.reason(string, required)setBy(string, required)setAt(datetime, required)expiresAt(datetime, optional)
blockCardReuseExempt(boolean, optional) — When true, this withdrawer is exempt from the merchantbanDuplicateAccountsre-use check, so it may add an account that another withdrawer already uses without being blocked (423PAYMENT_METHOD_IN_USE).createdAt(datetime, optional)
Examples
Request
{
"merchantId": "string",
"country": "string",
"email": "string"
}
Response
{
"withdrawer": {
"_id": "string",
"wallet": "string",
"blockchain": "solana",
"wallets": [
{
"wallet": "string",
"blockchain": "solana"
}
],
"email": "string",
"availability": {
"status": "Functional",
"reason": "string",
"editor": "string",
"updatedAt": "2024-01-15T09:30:00Z"
},
"currency": "USD",
"merchant": "string",
"verification": {
"reference": "string",
"status": "pending",
"vendor": "middesk",
"name": "string",
"attested": true,
"shareToken": "string",
"shareTokenStatus": "string",
"sessionToken": "string",
"rejectionReasons": [
"string"
]
},
"riskScoreOverride": true,
"country": "string",
"business": true,
"ubos": [
{
"reference": "string",
"status": "pending",
"vendor": "middesk",
"name": "string",
"attested": true,
"shareToken": "string",
"shareTokenStatus": "string",
"sessionToken": "string",
"rejectionReasons": [
"string"
],
"ownershipPct": 1.1,
"isControllingPerson": true
}
],
"originalCurrency": "USD",
"geoBlockOverride": {
"reason": "string",
"setBy": "string",
"setAt": "2024-01-15T09:30:00Z",
"expiresAt": "2024-01-15T09:30:00Z"
},
"blockCardReuseExempt": true,
"createdAt": "2024-01-15T09:30:00Z"
}
}
SDK Code
import requests
url = "https://api-sandbox.coinflow.cash/api/withdraw/kyb"
payload = {
"merchantId": "string",
"country": "string",
"email": "string"
}
headers = {
"x-coinflow-auth-wallet": "<apiKey>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
const url = 'https://api-sandbox.coinflow.cash/api/withdraw/kyb';
const options = {
method: 'POST',
headers: {'x-coinflow-auth-wallet': '<apiKey>', 'Content-Type': 'application/json'},
body: '{"merchantId":"string","country":"string","email":"string"}'
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.coinflow.cash/api/withdraw/kyb"
payload := strings.NewReader("{\n \"merchantId\": \"string\",\n \"country\": \"string\",\n \"email\": \"string\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-coinflow-auth-wallet", "<apiKey>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
require 'uri'
require 'net/http'
url = URI("https://api-sandbox.coinflow.cash/api/withdraw/kyb")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-coinflow-auth-wallet"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"merchantId\": \"string\",\n \"country\": \"string\",\n \"email\": \"string\"\n}"
response = http.request(request)
puts response.read_body
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;
HttpResponse<String> response = Unirest.post("https://api-sandbox.coinflow.cash/api/withdraw/kyb")
.header("x-coinflow-auth-wallet", "<apiKey>")
.header("Content-Type", "application/json")
.body("{\n \"merchantId\": \"string\",\n \"country\": \"string\",\n \"email\": \"string\"\n}")
.asString();
<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://api-sandbox.coinflow.cash/api/withdraw/kyb', [
'body' => '{
"merchantId": "string",
"country": "string",
"email": "string"
}',
'headers' => [
'Content-Type' => 'application/json',
'x-coinflow-auth-wallet' => '<apiKey>',
],
]);
echo $response->getBody();
using RestSharp;
var client = new RestClient("https://api-sandbox.coinflow.cash/api/withdraw/kyb");
var request = new RestRequest(Method.POST);
request.AddHeader("x-coinflow-auth-wallet", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"merchantId\": \"string\",\n \"country\": \"string\",\n \"email\": \"string\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
import Foundation
let headers = [
"x-coinflow-auth-wallet": "<apiKey>",
"Content-Type": "application/json"
]
let parameters = [
"merchantId": "string",
"country": "string",
"email": "string"
] as [String : Any]
let postData = JSONSerialization.data(withJSONObject: parameters, options: [])
let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.coinflow.cash/api/withdraw/kyb")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()