{"openapi":"3.0.0","paths":{"/v1/asset":{"get":{"operationId":"AssetController_getAllAsset","parameters":[{"name":"blockchains","required":false,"in":"query","description":"Comma-separated blockchain list","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssetDetailDto"}}}}}},"tags":["Asset"],"security":[{"bearer":[]}]}},"/v1/fiat":{"get":{"operationId":"FiatController_getAllFiat","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FiatDetailDto"}}}}}},"tags":["Fiat"]}},"/v1/country":{"get":{"operationId":"CountryController_getAllCountry","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CountryDto"}}}}}},"tags":["Country"]}},"/v1/language":{"get":{"operationId":"LanguageController_getAllLanguage","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LanguageDto"}}}}}},"tags":["Language"]}},"/v1/frankencoin/info":{"get":{"operationId":"FrankencoinController_getInfo","parameters":[],"responses":{"200":{"description":""}},"tags":["Frankencoin"]}},"/v1/deuro/info":{"get":{"operationId":"DEuroController_getInfo","parameters":[],"responses":{"200":{"description":""}},"tags":["DEuro"]}},"/v1/juice/info":{"get":{"operationId":"JuiceController_getInfo","parameters":[],"responses":{"200":{"description":""}},"tags":["Juice"]}},"/v1/blockchain/balances":{"post":{"operationId":"BlockchainApiController_getBalances","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBalancesDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBalancesResponseDto"}}}}},"tags":["Blockchain"],"security":[{"bearer":[]}]}},"/v1/blockchain/transaction":{"post":{"operationId":"BlockchainApiController_createTransaction","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTransactionDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsignedTransactionDto"}}}}},"tags":["Blockchain"],"security":[{"bearer":[]}]}},"/v1/blockchain/broadcast":{"post":{"operationId":"BlockchainApiController_broadcastTransaction","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastTransactionDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastResultDto"}}}}},"tags":["Blockchain"],"security":[{"bearer":[]}]}},"/v1/buy/quote":{"put":{"operationId":"BuyController_getBuyQuote","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBuyQuoteDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyQuoteDto"}}}}},"tags":["Buy"]}},"/v1/buy/paymentInfos":{"put":{"operationId":"BuyController_createBuyWithPaymentInfo","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBuyPaymentInfoDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyPaymentInfoDto"}}}}},"tags":["Buy"],"security":[{"bearer":[]}]}},"/v1/buy/paymentInfos/{id}/invoice":{"put":{"operationId":"BuyController_generateInvoicePDF","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfDto"}}}}},"tags":["Buy"],"security":[{"bearer":[]}]}},"/v1/buy/paymentInfos/{id}/confirm":{"put":{"operationId":"BuyController_confirmBuy","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Buy"],"security":[{"bearer":[]}]}},"/v1/buy/personalIban":{"get":{"operationId":"BuyController_getAllPersonalIbans","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VirtualIbanDto"}}}}}},"tags":["Buy"],"security":[{"bearer":[]}]},"post":{"operationId":"BuyController_createPersonalIban","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVirtualIbanDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualIbanDto"}}}}},"tags":["Buy"],"security":[{"bearer":[]}]}},"/v1/buy/{id}":{"get":{"operationId":"BuyController_getBuy","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyDto"}}}}},"tags":["Buy"],"security":[{"bearer":[]}]}},"/v1/swap/{id}":{"get":{"operationId":"SwapController_getSwap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapDto"}}}}},"tags":["Swap"],"security":[{"bearer":[]}]}},"/v1/swap/quote":{"put":{"operationId":"SwapController_getSwapQuote","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSwapQuoteDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapQuoteDto"}}}}},"tags":["Swap"]}},"/v1/swap/paymentInfos":{"put":{"operationId":"SwapController_createSwapWithPaymentInfo","parameters":[{"name":"includeTx","required":false,"in":"query","description":"If true, includes depositTx field with unsigned transaction data in the response","schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSwapPaymentInfoDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapPaymentInfoDto"}}}}},"tags":["Swap"],"security":[{"bearer":[]}]}},"/v1/swap/paymentInfos/{id}/tx":{"get":{"operationId":"SwapController_depositTx","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsignedTxDto"}}}}},"tags":["Swap"],"security":[{"bearer":[]}]}},"/v1/swap/paymentInfos/{id}/confirm":{"put":{"operationId":"SwapController_confirmSwap","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionDto"}}}}},"tags":["Swap"],"security":[{"bearer":[]}]}},"/v1/sell/{id}":{"get":{"operationId":"SellController_getSell","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SellDto"}}}}},"tags":["Sell"],"security":[{"bearer":[]}]}},"/v1/sell/quote":{"put":{"operationId":"SellController_getSellQuote","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSellQuoteDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SellQuoteDto"}}}}},"tags":["Sell"]}},"/v1/sell/paymentInfos":{"put":{"operationId":"SellController_createSellWithPaymentInfo","parameters":[{"name":"includeTx","required":false,"in":"query","description":"If true, includes depositTx field with unsigned transaction data in the response","schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSellPaymentInfoDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SellPaymentInfoDto"}}}}},"tags":["Sell"],"security":[{"bearer":[]}]}},"/v1/sell/paymentInfos/{id}/tx":{"get":{"operationId":"SellController_depositTx","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsignedTxDto"}}}}},"tags":["Sell"],"security":[{"bearer":[]}]}},"/v1/sell/paymentInfos/{id}/confirm":{"put":{"operationId":"SellController_confirmSell","summary":"Confirm sell transaction","description":"Confirms a sell transaction using one of the following methods: 1) Permit signature (ERC-2612) - backend executes transfer, 2) Signed transaction hex - user broadcasts, 3) Transaction hash (EIP-5792) - wallet_sendCalls result, 4) EIP-7702 authorization - gasless transfer via Pimlico paymaster.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionDto"}}}}},"tags":["Sell"],"security":[{"bearer":[]}]}},"/v2/user":{"get":{"operationId":"UserV2Controller_getUser","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserV2Dto"}}}}},"tags":["User"],"security":[{"bearer":[]}]},"put":{"operationId":"UserV2Controller_updateUser","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserV2Dto"}}}}},"tags":["User"],"security":[{"bearer":[]}]},"delete":{"operationId":"UserV2Controller_deleteAccount","parameters":[],"responses":{"200":{"description":""}},"tags":["User"],"security":[{"bearer":[]}]}},"/v2/user/mail":{"put":{"operationId":"UserV2Controller_updateUserMail","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserMailDto"}}}},"responses":{"200":{"description":"Mail updated successfully"},"202":{"description":"Verification code sent"},"403":{"description":"Missing 2FA"},"409":{"description":"Account already exists"}},"tags":["User"],"security":[{"bearer":[]}]}},"/v2/user/mail/verify":{"post":{"operationId":"UserV2Controller_verifyMail","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyMailDto"}}}},"responses":{"201":{"description":"Email verification successful"},"403":{"description":"Invalid or expired mail verification token"}},"tags":["User"],"security":[{"bearer":[]}]}},"/v2/user/addresses/{address}":{"put":{"operationId":"UserV2Controller_updateAddress","parameters":[{"name":"address","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAddressDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserV2Dto"}}}}},"tags":["User"],"security":[{"bearer":[]}]},"delete":{"operationId":"UserV2Controller_deleteAddress","parameters":[{"name":"address","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["User"],"security":[{"bearer":[]}]}},"/v2/user/ref":{"get":{"operationId":"UserV2Controller_getRef","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralDto"}}}}},"tags":["User"],"security":[{"bearer":[]}]},"put":{"operationId":"UserV2Controller_updateRefAsset","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRefDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralDto"}}}}},"tags":["User"],"security":[{"bearer":[]}]}},"/v2/user/profile":{"get":{"operationId":"UserV2Controller_getProfile","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileDto"}}}}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/user":{"get":{"operationId":"UserController_getUserV1","summary":"","deprecated":true,"parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"tags":["User"],"security":[{"bearer":[]}]},"put":{"operationId":"UserController_updateUserV1","summary":"","deprecated":true,"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailDto"}}}}},"tags":["User"],"security":[{"bearer":[]}]},"delete":{"operationId":"UserController_deleteUser","summary":"","deprecated":true,"parameters":[],"responses":{"200":{"description":""}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/user/detail":{"get":{"operationId":"UserController_getUserDetailV1","summary":"","deprecated":true,"parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailDto"}}}}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/user/discountCodes":{"put":{"operationId":"UserController_addDiscountCode","summary":"","deprecated":true,"description":"This endpoint is deprecated, use \"specialCodes\" instead.","parameters":[{"name":"code","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/user/specialCodes":{"put":{"operationId":"UserController_addSpecialCode","parameters":[{"name":"code","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/user/change":{"post":{"operationId":"UserController_changeUser","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedUserInDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponseDto"}}}}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/user/data":{"post":{"operationId":"UserController_updateKycData","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycInputDataDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailDto"}}}},"400":{"description":"KYC already started"},"409":{"description":"Account already exists"}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/user/account":{"delete":{"operationId":"UserController_deleteUserAccount","summary":"","deprecated":true,"parameters":[],"responses":{"200":{"description":""}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/user/apiKey/CT":{"post":{"operationId":"UserController_createApiKey","parameters":[{"name":"buy","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"sell","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"staking","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"ref","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"lm","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyDto"}}}}},"tags":["User"],"security":[{"bearer":[]}]},"delete":{"operationId":"UserController_deleteApiKey","parameters":[],"responses":{"200":{"description":""}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/user/apiFilter/CT":{"put":{"operationId":"UserController_updateApiFilter","parameters":[{"name":"buy","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"sell","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"staking","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"ref","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"lm","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}},"tags":["User"],"security":[{"bearer":[]}]}},"/v1/auth":{"post":{"operationId":"AuthController_authenticate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUpDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponseDto"}}}}},"tags":["Auth"]}},"/v1/auth/mail":{"post":{"operationId":"AuthController_signInByMail","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthMailDto"}}}},"responses":{"201":{"description":""}},"tags":["Auth"]}},"/v1/auth/signMessage":{"get":{"operationId":"AuthController_getSignMessage","parameters":[{"name":"address","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignMessageDto"}}}}},"tags":["Auth"]}},"/v1/auth/challenge":{"get":{"operationId":"AuthController_companyChallenge","parameters":[{"name":"address","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}},"tags":["Auth"]}},"/v1/lnurla":{"post":{"operationId":"AuthLnurlController_getLnurlAuth","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthLnurlCreateLoginResponseDto"}}}}},"tags":["LNURL"]},"get":{"operationId":"AuthLnurlController_signInWithLnurlAuth","parameters":[{"name":"usedRef","required":false,"in":"query","schema":{"type":"string"}},{"name":"wallet","required":false,"in":"query","schema":{"type":"string"}},{"name":"discountCode","required":false,"in":"query","deprecated":true,"description":"This field is deprecated, use \"specialCode\" instead.","schema":{"type":"string"}},{"name":"specialCode","required":false,"in":"query","description":"Special code","schema":{"type":"string"}},{"name":"moderator","required":false,"in":"query","description":"Moderator","schema":{"type":"string"}},{"name":"recommendationCode","required":false,"in":"query","schema":{"type":"string"}},{"name":"tag","required":true,"in":"query","schema":{"type":"string"}},{"name":"action","required":true,"in":"query","schema":{"type":"string"}},{"name":"k1","required":true,"in":"query","schema":{"type":"string"}},{"name":"sig","required":true,"in":"query","schema":{"type":"string"}},{"name":"key","required":true,"in":"query","schema":{"type":"string"}},{"name":"address","required":true,"in":"query","schema":{"type":"string"}},{"name":"signature","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthLnurlSignInResponseDto"}}}}},"tags":["LNURL"]}},"/v1/lnurla/status":{"get":{"operationId":"AuthLnurlController_lnurlAuthStatus","parameters":[{"name":"k1","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthLnurlStatusResponseDto"}}}}},"tags":["LNURL"]}},"/v1/kyc/users":{"get":{"operationId":"KycClientController_getAllKycDataV1","summary":"","deprecated":true,"parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KycDataDto"}}}}}},"tags":["KYC Client"],"security":[{"bearer":[]}]}},"/v1/kyc/{id}/documents":{"get":{"operationId":"KycClientController_getKycFilesV1","summary":"","deprecated":true,"parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KycFileDto"}}}}}},"tags":["KYC Client"],"security":[{"bearer":[]}]}},"/v1/kyc/{id}/documents/{type}":{"get":{"operationId":"KycClientController_getKycFileV1","summary":"","deprecated":true,"parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"type","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Buffer"}}}}},"tags":["KYC Client"],"security":[{"bearer":[]}]}},"/v1/kyc/transfer":{"put":{"operationId":"KycController_transferKycDataV1","summary":"","deprecated":true,"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycDataTransferDto"}}}},"responses":{"200":{"description":""}},"tags":["KYC"],"security":[{"bearer":[]}]}},"/v1/kyc":{"get":{"operationId":"KycController_getKycProgressV1","summary":"","deprecated":true,"parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycInfo"}}}}},"tags":["KYC"],"security":[{"bearer":[]}]},"post":{"operationId":"KycController_requestKycV1","summary":"","deprecated":true,"parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycInfo"}}}}},"tags":["KYC"],"security":[{"bearer":[]}]}},"/v1/kyc/countries":{"get":{"operationId":"KycController_getKycCountriesV1","summary":"","deprecated":true,"parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CountryDto"}}}}}},"tags":["KYC"],"security":[{"bearer":[]}]}},"/v1/kyc/{code}":{"get":{"operationId":"KycController_getKycProgressByCodeV1","summary":"","deprecated":true,"parameters":[{"name":"code","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycInfo"}}}}},"tags":["KYC"]},"post":{"operationId":"KycController_requestKycByCodeV1","summary":"","deprecated":true,"parameters":[{"name":"code","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycInfo"}}}}},"tags":["KYC"]}},"/v1/kyc/{code}/countries":{"get":{"operationId":"KycController_getKycCountriesByCodeV1","summary":"","deprecated":true,"parameters":[{"name":"code","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CountryDto"}}}}}},"tags":["KYC"]}},"/v2/kyc/2fa":{"get":{"operationId":"KycController_check2fa","parameters":[{"name":"level","required":false,"in":"query","description":"2FA level","schema":{"enum":["Basic","Strict"],"type":"string"}}],"responses":{"200":{"description":"2FA active"}},"tags":["KYC"]},"post":{"operationId":"KycController_start2fa","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"level","required":false,"in":"query","description":"2FA level","schema":{"enum":["Basic","Strict"],"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Setup2faDto"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/2fa/verify":{"post":{"operationId":"KycController_verify2fa","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Verify2faDto"}}}},"responses":{"201":{"description":"2FA successful"},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}},"403":{"description":"Invalid or expired 2FA token"}},"tags":["KYC"]}},"/v2/kyc":{"get":{"operationId":"KycController_getKycLevel","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycLevelDto"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]},"put":{"operationId":"KycController_continueKyc","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"autoStep","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycSessionDto"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}},"403":{"description":"2FA is required"},"409":{"description":"There is already a verified account with the same mail address"}},"tags":["KYC"]}},"/v2/kyc/countries":{"get":{"operationId":"KycController_getKycCountries","summary":"","deprecated":true,"parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CountryDto"}}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/file/{id}":{"get":{"operationId":"KycController_getFile","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["KYC"],"security":[{"bearer":[]}]}},"/v2/kyc/data/{type}/{id}":{"delete":{"operationId":"KycController_cancelStep","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/contact/{id}":{"put":{"operationId":"KycController_updateContactData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycContactData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/personal/{id}":{"put":{"operationId":"KycController_updatePersonalData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycPersonalData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/owner/{id}":{"put":{"operationId":"KycController_updateOwnerDirectoryData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycFileData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/nationality/{id}":{"put":{"operationId":"KycController_updateNationalityData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycNationalityData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/recommendation/{id}":{"put":{"operationId":"KycController_updateRecommendationData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycRecommendationData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/legal/{id}":{"put":{"operationId":"KycController_updateCommercialRegisterData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycLegalEntityData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/address/{id}":{"put":{"operationId":"KycController_updateAddressChangeData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycChangeAddressData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/name/{id}":{"put":{"operationId":"KycController_updateNameChangeData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycChangeNameData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/phone/{id}":{"put":{"operationId":"KycController_updatePhoneChangeData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycChangePhoneData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/confirmation/{id}":{"put":{"operationId":"KycController_updateSoleProprietorshipConfirmationData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycFileData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/residence/{id}":{"put":{"operationId":"KycController_updateResidencePermitData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycFileData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/statutes/{id}":{"put":{"operationId":"KycController_updateStatutesData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycFileData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/additional/{id}":{"put":{"operationId":"KycController_updateAdditionalDocumentsData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycFileData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/recall/{id}":{"put":{"operationId":"KycController_updateRecallAgreement","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecallAgreementData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/signatory/{id}":{"put":{"operationId":"KycController_updateSignatoryPowerData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycSignatoryPowerData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/beneficial/{id}":{"put":{"operationId":"KycController_updateBeneficialData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycBeneficialData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/operational/{id}":{"put":{"operationId":"KycController_updateOperationalData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycOperationalData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/authority/{id}":{"put":{"operationId":"KycController_updateAuthorityData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycFileData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/data/financial/{id}":{"get":{"operationId":"KycController_getFinancialData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"lang","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycFinancialOutData"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}},"403":{"description":"2FA is required"}},"tags":["KYC"]},"put":{"operationId":"KycController_updateFinancialData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycFinancialInData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}},"403":{"description":"2FA is required"}},"tags":["KYC"]}},"/v2/kyc/data/payment/{id}":{"put":{"operationId":"KycController_updatePaymentsData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentDataDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/ident/manual/{id}":{"put":{"operationId":"KycController_updateIdentData","parameters":[{"name":"x-kyc-code","required":true,"in":"header","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycManualIdentData"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KycStepBase"}}}},"401":{"description":"User is merged, switch to the KYC code provided in the response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDto"}}}}},"tags":["KYC"]}},"/v2/kyc/client/users":{"get":{"operationId":"KycClientController_getAllKycData","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KycClientDataDto"}}}}}},"tags":["KYC Client"],"security":[{"bearer":[]}]}},"/v2/kyc/client/payments":{"get":{"operationId":"KycClientController_getAllPayments","parameters":[{"name":"from","required":false,"in":"query","description":"Start date filter","schema":{"type":"string"}},{"name":"to","required":false,"in":"query","description":"End date filter","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results (default/max: 1000)","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentWebhookData"}}}}}},"tags":["KYC Client"],"security":[{"bearer":[]}]}},"/v2/kyc/client/users/{id}/documents":{"get":{"operationId":"KycClientController_getKycFiles","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KycReportDto"}}}}}},"tags":["KYC Client"],"security":[{"bearer":[]}]}},"/v2/kyc/client/users/{id}/documents/{type}":{"get":{"operationId":"KycClientController_getKycFile","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"type","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Buffer"}}}}},"tags":["KYC Client"],"security":[{"bearer":[]}]}},"/v2/kyc/client/users/{id}/payments":{"get":{"operationId":"KycClientController_getUserPayments","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"from","required":true,"in":"query","schema":{"type":"string"}},{"name":"to","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentWebhookData"}}}}}},"tags":["KYC Client"],"security":[{"bearer":[]}]}},"/v1/bank":{"get":{"operationId":"BankController_getAllBanks","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BankDto"}}}}}},"tags":["Bank"]}},"/v1/bankAccount":{"get":{"operationId":"BankAccountController_getAllUserBankAccount","parameters":[],"responses":{"200":{"description":""}},"tags":["Bank Account"],"security":[{"bearer":[]}]},"post":{"operationId":"BankAccountController_createBankAccount","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBankAccountDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankAccountDto"}}}}},"tags":["Bank Account"],"security":[{"bearer":[]}]}},"/v1/bankAccount/{id}":{"put":{"operationId":"BankAccountController_updateBankAccount","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBankAccountDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankAccountDto"}}}}},"tags":["Bank Account"],"security":[{"bearer":[]}]}},"/v1/support/issue":{"post":{"operationId":"SupportIssueController_createIssue","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSupportIssueDto"}}}},"responses":{"201":{"description":""}},"tags":["Support"],"security":[{"bearer":[]}]},"get":{"operationId":"SupportIssueController_getIssues","parameters":[],"responses":{"200":{"description":""}},"tags":["Support"],"security":[{"bearer":[]}]}},"/v1/support/issue/{id}":{"get":{"operationId":"SupportIssueController_getIssue","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"fromMessageId","required":false,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"tags":["Support"],"security":[{"bearer":[]}]}},"/v1/support/issue/{id}/message":{"post":{"operationId":"SupportIssueController_createSupportMessage","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSupportMessageDto"}}}},"responses":{"201":{"description":""}},"tags":["Support"],"security":[{"bearer":[]}]}},"/v1/support/issue/{id}/message/{messageId}/file":{"get":{"operationId":"SupportIssueController_getFile","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"messageId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Support"],"security":[{"bearer":[]}]}},"/v1/custody":{"get":{"operationId":"CustodyController_getUserCustodyBalance","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustodyBalanceDto"}}}}},"tags":["Custody"],"security":[{"bearer":[]}]},"post":{"operationId":"CustodyController_createCustodyAccount","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustodySignupDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustodyAuthDto"}}}}},"tags":["Custody"],"security":[{"bearer":[]}]}},"/v1/custody/history":{"get":{"operationId":"CustodyController_getUserCustodyHistory","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustodyHistoryDto"}}}}},"tags":["Custody"],"security":[{"bearer":[]}]}},"/v1/custody/pdf":{"get":{"operationId":"CustodyController_getCustodyPdf","parameters":[{"name":"currency","required":true,"in":"query","description":"Fiat currency for the report","schema":{"enum":["EUR","CHF","USD"],"type":"string"}},{"name":"date","required":true,"in":"query","description":"Date for the portfolio report (must be in the past)","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":"Custody balance PDF report (base64 encoded)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfDto"}}}}},"tags":["Custody"],"security":[{"bearer":[]}]}},"/v1/custody/order":{"post":{"operationId":"CustodyController_createOrder","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCustodyInfoDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustodyOrderDto"}}}}},"tags":["Custody"],"security":[{"bearer":[]}]}},"/v1/custody/order/{id}/confirm":{"post":{"operationId":"CustodyController_confirmOrder","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"tags":["Custody"],"security":[{"bearer":[]}]}},"/v1/custody/account":{"get":{"operationId":"CustodyAccountController_getCustodyAccounts","parameters":[],"responses":{"200":{"description":"List of custody accounts for the user","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustodyAccountDto"}}}}}},"tags":["Custody"],"security":[{"bearer":[]}]},"post":{"operationId":"CustodyAccountController_createCustodyAccount","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustodyAccountDto"}}}},"responses":{"201":{"description":"Create a new custody account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustodyAccountDto"}}}}},"tags":["Custody"],"security":[{"bearer":[]}]}},"/v1/custody/account/{id}":{"get":{"operationId":"CustodyAccountController_getCustodyAccount","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Custody account details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustodyAccountDto"}}}}},"tags":["Custody"],"security":[{"bearer":[]}]},"put":{"operationId":"CustodyAccountController_updateCustodyAccount","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCustodyAccountDto"}}}},"responses":{"200":{"description":"Update custody account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustodyAccountDto"}}}}},"tags":["Custody"],"security":[{"bearer":[]}]}},"/v1/custody/account/{id}/access":{"get":{"operationId":"CustodyAccountController_getAccessList","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"List of users with access","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustodyAccountAccessDto"}}}}}},"tags":["Custody"],"security":[{"bearer":[]}]}},"/v1/transaction":{"get":{"operationId":"TransactionController_getTransactions","parameters":[{"name":"buy","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"sell","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"staking","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"ref","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"lm","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"format","required":false,"in":"query","schema":{"enum":["csv","json"],"type":"string"}},{"name":"from","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"to","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"blockchains","required":false,"in":"query","description":"Semicolon separated string of Blockchains","schema":{"enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of transactions to return","schema":{"default":1000,"type":"number"}},{"name":"offset","required":false,"in":"query","description":"Number of transactions to skip","schema":{"default":0,"type":"number"}},{"name":"userAddress","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionDto"}}}}}},"tags":["Transaction"]}},"/v1/transaction/single":{"get":{"operationId":"TransactionController_getSingleTransaction","parameters":[{"name":"uid","required":false,"in":"query","description":"Transaction unique ID","schema":{"type":"string"}},{"name":"order-uid","required":false,"in":"query","description":"Order unique ID","schema":{"type":"string"}},{"name":"cko-id","required":false,"in":"query","description":"CKO ID","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionDto"}}}}},"tags":["Transaction"]}},"/v1/transaction/csv":{"put":{"operationId":"TransactionController_createCsv","summary":"","description":"Initiate CSV history export","parameters":[{"name":"buy","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"sell","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"staking","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"ref","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"lm","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"format","required":false,"in":"query","schema":{"enum":["csv","json"],"type":"string"}},{"name":"from","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"to","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"blockchains","required":false,"in":"query","description":"Semicolon separated string of Blockchains","schema":{"enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of transactions to return","schema":{"default":1000,"type":"number"}},{"name":"offset","required":false,"in":"query","description":"Number of transactions to skip","schema":{"default":0,"type":"number"}},{"name":"userAddress","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Transaction"]},"get":{"operationId":"TransactionController_getCsv","summary":"","description":"Get initiated CSV history export","parameters":[{"name":"key","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamableFile"}}}}},"tags":["Transaction"]}},"/v1/transaction/detail":{"get":{"operationId":"TransactionController_getTransactionDetails","parameters":[{"name":"from","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"to","required":false,"in":"query","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionDetailDto"}}}}}},"tags":["Transaction"],"security":[{"bearer":[]}]}},"/v1/transaction/detail/single":{"get":{"operationId":"TransactionController_getSingleTransactionDetails","parameters":[{"name":"id","required":false,"in":"query","description":"Transaction ID","schema":{"type":"string"}},{"name":"uid","required":false,"in":"query","description":"Transaction unique ID","schema":{"type":"string"}},{"name":"order-id","required":false,"in":"query","description":"Order ID","schema":{"type":"string"}},{"name":"order-uid","required":false,"in":"query","description":"Order unique ID","schema":{"type":"string"}},{"name":"external-id","required":false,"in":"query","description":"External transaction ID","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionDetailDto"}}}}},"tags":["Transaction"],"security":[{"bearer":[]}]}},"/v1/transaction/detail/csv":{"put":{"operationId":"TransactionController_createDetailCsv","summary":"","description":"Initiate CSV history export","parameters":[{"name":"from","required":false,"in":"query","schema":{"format":"date-time","type":"string"}},{"name":"to","required":false,"in":"query","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"description":""}},"tags":["Transaction"],"security":[{"bearer":[]}]}},"/v1/transaction/{id}/refund":{"get":{"operationId":"TransactionController_getTransactionRefund","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundDataDto"}}}}},"tags":["Transaction"],"security":[{"bearer":[]}]},"put":{"operationId":"TransactionController_setTransactionRefundTarget","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionRefundDto"}}}},"responses":{"200":{"description":""}},"tags":["Transaction"],"security":[{"bearer":[]}]}},"/v1/transaction/{id}/invoice":{"put":{"operationId":"TransactionController_generateInvoiceFromTransaction","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfDto"}}}}},"tags":["Transaction"],"security":[{"bearer":[]}]}},"/v1/transaction/{id}/receipt":{"put":{"operationId":"TransactionController_generateReceiptFromTransaction","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfDto"}}}}},"tags":["Transaction"],"security":[{"bearer":[]}]}},"/v1/paymentLink":{"get":{"operationId":"PaymentLinkController_getAllPaymentLinks","parameters":[{"name":"linkId","required":false,"in":"query","description":"Link ID","schema":{"type":"string"}},{"name":"externalLinkId","required":false,"in":"query","description":"External link ID","schema":{"type":"string"}},{"name":"externalPaymentId","required":false,"in":"query","description":"External payment ID","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentLinkDto"}}}}}},"tags":["Payment Link"],"security":[{"bearer":[]}]},"post":{"operationId":"PaymentLinkController_createPaymentLink","parameters":[{"name":"key","required":false,"in":"query","description":"Payment link access key","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentLinkDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkDto"}}}}},"tags":["Payment Link"],"security":[{"bearer":[]}]},"put":{"operationId":"PaymentLinkController_updatePaymentLink","parameters":[{"name":"linkId","required":false,"in":"query","description":"Link ID","schema":{"type":"string"}},{"name":"externalLinkId","required":false,"in":"query","description":"External link ID","schema":{"type":"string"}},{"name":"externalPaymentId","required":false,"in":"query","description":"External payment ID","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePaymentLinkDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkDto"}}}}},"tags":["Payment Link"],"security":[{"bearer":[]}]}},"/v1/paymentLink/history":{"get":{"operationId":"PaymentLinkController_getPaymentHistory","parameters":[{"name":"status","required":false,"in":"query","description":"Comma-separated list of statuses. Default is \"completed\"","schema":{"type":"string"}},{"name":"from","required":false,"in":"query","description":"From date (yyyy-mm-dd). Default is first day of current month","schema":{"format":"date-time","type":"string"}},{"name":"to","required":false,"in":"query","description":"To date (yyyy-mm-dd). Default is last day of current month","schema":{"format":"date-time","type":"string"}},{"name":"externalLinkId","required":false,"in":"query","description":"External link ID","schema":{"type":"string"}},{"name":"key","required":false,"in":"query","description":"Payment link access key","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentLinkHistoryDto"}}}}}},"tags":["Payment Link"],"security":[{"bearer":[]}]}},"/v1/paymentLink/pos":{"put":{"operationId":"PaymentLinkController_createPosLink","parameters":[{"name":"linkId","required":false,"in":"query","description":"Link ID","schema":{"type":"string"}},{"name":"externalLinkId","required":false,"in":"query","description":"External link ID","schema":{"type":"string"}},{"name":"externalPaymentId","required":false,"in":"query","description":"External payment ID","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkPosDto"}}}}},"tags":["Payment Link"],"security":[{"bearer":[]}]}},"/v1/paymentLink/assign":{"put":{"operationId":"PaymentLinkController_assignPaymentLink","parameters":[{"name":"linkId","required":false,"in":"query","description":"Link ID","schema":{"type":"string"}},{"name":"externalLinkId","required":false,"in":"query","description":"External link ID","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignPaymentLinkDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkDto"}}}}},"tags":["Payment Link"]}},"/v1/paymentLink/config":{"get":{"operationId":"PaymentLinkController_getUserPaymentLinksConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPaymentLinkConfigDto"}}}}},"tags":["Payment Link"],"security":[{"bearer":[]}]},"put":{"operationId":"PaymentLinkController_updateUserPaymentLinksConfig","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePaymentLinkConfigDto"}}}},"responses":{"200":{"description":""}},"tags":["Payment Link"],"security":[{"bearer":[]}]}},"/v1/paymentLink/payment":{"post":{"operationId":"PaymentLinkController_createPayment","parameters":[{"name":"linkId","required":false,"in":"query","description":"Link ID","schema":{"type":"string"}},{"name":"externalLinkId","required":false,"in":"query","description":"External link ID","schema":{"type":"string"}},{"name":"key","required":false,"in":"query","description":"Payment link access key","schema":{"type":"string"}},{"name":"route","required":false,"in":"query","description":"Route label","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentLinkPaymentDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkDto"}}}}},"tags":["Payment Link"]},"delete":{"operationId":"PaymentLinkController_cancelPayment","parameters":[{"name":"linkId","required":false,"in":"query","description":"Link ID","schema":{"type":"string"}},{"name":"externalLinkId","required":false,"in":"query","description":"External link ID","schema":{"type":"string"}},{"name":"externalPaymentId","required":false,"in":"query","description":"External payment ID","schema":{"type":"string"}},{"name":"key","required":false,"in":"query","description":"Payment link access key","schema":{"type":"string"}},{"name":"route","required":false,"in":"query","description":"Route label","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkDto"}}}}},"tags":["Payment Link"],"security":[{"bearer":[]}]}},"/v1/paymentLink/payment/wait":{"get":{"operationId":"PaymentLinkController_waitForPayment","parameters":[{"name":"linkId","required":false,"in":"query","description":"Link ID","schema":{"type":"string"}},{"name":"externalLinkId","required":false,"in":"query","description":"External link ID","schema":{"type":"string"}},{"name":"externalPaymentId","required":false,"in":"query","description":"External payment ID","schema":{"type":"string"}},{"name":"key","required":false,"in":"query","description":"Payment link access key","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkDto"}}}}},"tags":["Payment Link"],"security":[{"bearer":[]}]}},"/v1/paymentLink/payment/confirm":{"put":{"operationId":"PaymentLinkController_confirmPayment","parameters":[{"name":"linkId","required":false,"in":"query","description":"Link ID","schema":{"type":"string"}},{"name":"externalLinkId","required":false,"in":"query","description":"External link ID","schema":{"type":"string"}},{"name":"externalPaymentId","required":false,"in":"query","description":"External payment ID","schema":{"type":"string"}},{"name":"key","required":false,"in":"query","description":"Payment link access key","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkDto"}}}}},"tags":["Payment Link"],"security":[{"bearer":[]}]}},"/v1/paymentLink/locations":{"get":{"operationId":"PaymentLinkController_getLocations","parameters":[{"name":"publicName","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Payment Link"]}},"/v1/paymentLink/merchant":{"post":{"operationId":"PaymentLinkController_createMerchant","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentMerchantDto"}}}},"responses":{"201":{"description":""}},"tags":["Payment Link"],"security":[{"bearer":[]}]}},"/v1/paymentLink/walletApp":{"get":{"operationId":"WalletAppController_getAll","parameters":[{"name":"blockchain","required":false,"in":"query","schema":{"enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"type":"string"}},{"name":"active","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WalletAppDto"}}}}}},"tags":["Payment Link"]}},"/v1/paymentLink/walletApp/recommended":{"get":{"operationId":"WalletAppController_getRecommended","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WalletAppDto"}}}}}},"tags":["Payment Link"]}},"/v1/paymentLink/walletApp/{id}":{"get":{"operationId":"WalletAppController_getById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletAppDto"}}}}},"tags":["Payment Link"]}},"/v1/paymentLink/standard":{"get":{"operationId":"PaymentStandardController_getAll","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentStandardDto"}}}}}},"tags":["Payment Link"]}},"/v1/paymentLink/standard/{id}":{"get":{"operationId":"PaymentStandardController_getById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentStandardDto"}}}}},"tags":["Payment Link"]}},"/v1/lnurlp/{id}":{"get":{"operationId":"LnUrlPForwardController_lnUrlPForward","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LNURL"]},"post":{"operationId":"LnUrlPForwardController_activatePublicPayment","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentLinkPaymentDto"}}}},"responses":{"201":{"description":""}},"tags":["LNURL"]}},"/v1/lnurlp/cb/{id}":{"get":{"operationId":"LnUrlPForwardController_lnUrlPCallbackForward","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LNURL"]}},"/v1/lnurlp/tx/{id}":{"get":{"operationId":"LnUrlPForwardController_txHexForward","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LNURL"]}},"/v1/lnurlp/wait/{id}":{"get":{"operationId":"LnUrlPForwardController_waitForPayment","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LNURL"]}},"/v1/lnurlp/cancel/{id}":{"delete":{"operationId":"LnUrlPForwardController_cancelPayment","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LNURL"]}},"/v1/lnurlw/{id}":{"get":{"operationId":"LnUrlWForwardController_lnUrlWForward","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LNURL"]}},"/v1/lnurlw/cb/{id}":{"get":{"operationId":"LnUrlWForwardController_lnUrlWCallbackForward","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LNURL"]}},"/v1/lnurld/{id}":{"get":{"operationId":"LnurldForwardController_lnurldForward","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LNURL"]}},"/v1/lnurld/cb/{id}/{var}":{"get":{"operationId":"LnurldForwardController_lnurldCallbackForward","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"var","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["LNURL"]}},"/v1/balance/pdf/blockchains":{"get":{"operationId":"BalanceController_getSupportedBlockchains","parameters":[],"responses":{"200":{"description":"Supported blockchains for balance PDF","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}},"tags":["Balance"]}},"/v1/balance/pdf":{"get":{"operationId":"BalanceController_getBalancePdf","parameters":[{"name":"address","required":true,"in":"query","description":"Blockchain address (EVM)","schema":{"type":"string"}},{"name":"blockchain","required":true,"in":"query","description":"Blockchain","schema":{"enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"type":"string"}},{"name":"currency","required":true,"in":"query","description":"Fiat currency for the report","schema":{"enum":["EUR","CHF","USD"],"type":"string"}},{"name":"date","required":true,"in":"query","description":"Date for the portfolio report (must be in the past)","schema":{"format":"date-time","type":"string"}},{"name":"language","required":false,"in":"query","description":"Language for the report","schema":{"default":"EN","enum":["DE","EN","FR","IT"],"type":"string"}}],"responses":{"200":{"description":"Balance PDF report (base64 encoded)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfDto"}}}}},"tags":["Balance"]}},"/v1/realunit/account/{address}":{"get":{"operationId":"RealUnitController_getAccountSummary","summary":"Get account information","description":"Retrieves account information for a specific address on the Realunit protocol","parameters":[{"name":"address","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSummaryDto"}}}}},"tags":["Realunit"]}},"/v1/realunit/account/{address}/history":{"get":{"operationId":"RealUnitController_getAccountHistory","summary":"Get account history","description":"Retrieves a paginated transaction history for a specific address on the Realunit protocol","parameters":[{"name":"address","required":true,"in":"path","description":"The wallet address to query","schema":{"type":"string"}},{"name":"first","required":false,"in":"query","description":"Number of history events to return (default: 50)","schema":{"type":"number"}},{"name":"after","required":false,"in":"query","description":"Cursor for pagination - return events after this cursor","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountHistoryDto"}}}}},"tags":["Realunit"]}},"/v1/realunit/holders":{"get":{"operationId":"RealUnitController_getHolders","summary":"Get token holders","description":"Retrieves a paginated list of token holders on the Realunit protocol","parameters":[{"name":"first","required":false,"in":"query","description":"Number of holders to return (default: 50)","schema":{"type":"number"}},{"name":"before","required":false,"in":"query","description":"Cursor for pagination - return holders before this cursor, cursor is the startCursor of the previous page","schema":{"type":"string"}},{"name":"after","required":false,"in":"query","description":"Cursor for pagination - return holders after this cursor, cursor is the endCursor of the previous page","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HoldersDto"}}}}},"tags":["Realunit"]}},"/v1/realunit/price/history":{"get":{"operationId":"RealUnitController_getHistoricalPrice","summary":"Get historical prices","description":"Retrieves the historical prices of RealUnit token in multiple currencies (CHF, EUR, USD)","parameters":[{"name":"timeFrame","required":false,"in":"query","description":"Time frame for historical prices (default: WEEK)","schema":{"enum":["1W","1M","1Q","1Y","ALL"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HistoricalPriceDto"}}}}}},"tags":["Realunit"]}},"/v1/realunit/price":{"get":{"operationId":"RealUnitController_getRealUnitPrice","summary":"Get RealUnit price","description":"Retrieves the current price of RealUnit on the Realunit protocol","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricalPriceDto"}}}}},"tags":["Realunit"]}},"/v1/realunit/tokenInfo":{"get":{"operationId":"RealUnitController_getTokenInfo","summary":"Get token info","description":"Retrieves the information of the RealUnit token","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenInfoDto"}}}}},"tags":["Realunit"]}},"/v1/realunit/balance/pdf":{"post":{"operationId":"RealUnitController_getBalancePdf","summary":"Get balance report PDF","description":"Generates a PDF balance report for a specific address on Ethereum blockchain","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitBalancePdfDto"}}}},"responses":{"200":{"description":"Balance PDF report (base64 encoded)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfDto"}}}}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/transactions/receipt/single":{"post":{"operationId":"RealUnitController_generateHistoryReceipt","summary":"Generate receipt from blockchain transaction","description":"Generates a PDF receipt for any RealUnit transaction found in blockchain history","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitSingleReceiptPdfDto"}}}},"responses":{"200":{"description":"Receipt PDF (base64 encoded)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfDto"}}}},"400":{"description":"Transaction not found or not a transfer"}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/transactions/receipt/multi":{"post":{"operationId":"RealUnitController_generateHistoryMultiReceipt","summary":"Generate multi-receipt from blockchain transactions","description":"Generates a single PDF receipt for multiple RealUnit transactions found in blockchain history","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitMultiReceiptPdfDto"}}}},"responses":{"200":{"description":"Receipt PDF (base64 encoded)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfDto"}}}},"400":{"description":"Transaction not found or not a transfer"}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/brokerbot/info":{"get":{"operationId":"RealUnitController_getBrokerbotInfo","summary":"Get Brokerbot info","description":"Retrieves general information about the REALU Brokerbot (addresses, settings)","parameters":[{"name":"currency","required":false,"in":"query","description":"Currency for prices (CHF or EUR)","schema":{"enum":["CHF","EUR"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrokerbotInfoDto"}}}}},"tags":["Realunit"]}},"/v1/realunit/brokerbot/price":{"get":{"operationId":"RealUnitController_getBrokerbotPrice","summary":"Get current Brokerbot price","description":"Retrieves the current price per REALU share from the Brokerbot smart contract","parameters":[{"name":"currency","required":false,"in":"query","description":"Currency for prices (CHF or EUR)","schema":{"enum":["CHF","EUR"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrokerbotPriceDto"}}}}},"tags":["Realunit"]}},"/v1/realunit/brokerbot/buyPrice":{"get":{"operationId":"RealUnitController_getBrokerbotBuyPrice","summary":"Get buy price for shares","description":"Calculates the total cost to buy a specific number of REALU shares (includes price increment)","parameters":[{"name":"shares","required":true,"in":"query","description":"Number of shares to buy","schema":{"type":"number"}},{"name":"currency","required":false,"in":"query","description":"Currency for prices (CHF or EUR)","schema":{"enum":["CHF","EUR"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrokerbotBuyPriceDto"}}}}},"tags":["Realunit"]}},"/v1/realunit/brokerbot/buyShares":{"get":{"operationId":"RealUnitController_getBrokerbotBuyShares","summary":"Get shares for amount","description":"Calculates how many REALU shares can be purchased for a given amount","parameters":[{"name":"amount","required":true,"in":"query","description":"Amount in specified currency (e.g., \"1000.50\")","schema":{"type":"string"}},{"name":"currency","required":false,"in":"query","description":"Currency for prices (CHF or EUR)","schema":{"enum":["CHF","EUR"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrokerbotBuySharesDto"}}}}},"tags":["Realunit"]}},"/v1/realunit/brokerbot/sellPrice":{"get":{"operationId":"RealUnitController_getBrokerbotSellPrice","summary":"Get sell price for shares including fees","description":"Calculates the estimated payout when selling a specific number of REALU shares, including user-specific fees","parameters":[{"name":"shares","required":true,"in":"query","description":"Number of shares to sell","schema":{"type":"number"}},{"name":"currency","required":false,"in":"query","description":"Currency for prices (CHF or EUR)","schema":{"enum":["CHF","EUR"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrokerbotSellPriceDto"}}}}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/brokerbot/sellShares":{"get":{"operationId":"RealUnitController_getBrokerbotSellShares","summary":"Get shares needed to receive target amount including fees","description":"Calculates how many REALU shares need to be sold to receive a target amount after user-specific fees","parameters":[{"name":"amount","required":true,"in":"query","description":"Target amount to receive after fees (e.g., 1000.50)","schema":{"type":"number"}},{"name":"currency","required":false,"in":"query","description":"Currency for prices (CHF or EUR)","schema":{"enum":["CHF","EUR"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrokerbotSellSharesDto"}}}}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/buy":{"put":{"operationId":"RealUnitController_getPaymentInfo","summary":"Get payment info for RealUnit buy","description":"Returns personal IBAN and payment details for purchasing REALU tokens. Requires KYC Level 30 and RealUnit registration.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitBuyDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitPaymentInfoDto"}}}},"400":{"description":"KYC Level 30 required, registration missing, or address not on allowlist"}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/buy/{id}/confirm":{"put":{"operationId":"RealUnitController_confirmBuy","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Payment confirmed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitBuyConfirmDto"}}}}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/sell":{"put":{"operationId":"RealUnitController_getSellPaymentInfo","summary":"Get payment info for RealUnit sell","description":"Returns EIP-7702 delegation data for gasless REALU transfer and fallback deposit info. Requires KYC Level 20 and RealUnit registration.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitSellDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitSellPaymentInfoDto"}}}},"400":{"description":"KYC Level 20 required or registration missing"}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/sell/{id}/confirm":{"put":{"operationId":"RealUnitController_confirmSell","summary":"Confirm RealUnit sell transaction","description":"Confirms the sell transaction with EIP-7702 signatures or manual transaction hash.","parameters":[{"name":"id","required":true,"in":"path","description":"Transaction request ID","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitSellConfirmDto"}}}},"responses":{"200":{"description":"Transaction confirmed","content":{"application/json":{"schema":{"properties":{"txHash":{"type":"string"}}}}}},"400":{"description":"Invalid transaction request or signatures"}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/wallet/status":{"get":{"operationId":"RealUnitController_getWalletStatus","summary":"Get wallet status and user data","description":"Returns registration status for the connected wallet and user data if available. Can be used to check registration, get data for account merge, or display user profile.","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitWalletStatusDto"}}}}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/register/status":{"get":{"operationId":"RealUnitController_isRegistered","summary":"Check if wallet is registered for RealUnit","description":"Returns true if the connected wallet is registered for RealUnit, false otherwise","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/register/email":{"post":{"operationId":"RealUnitController_registerEmail","summary":"Step 1: Register email for RealUnit","description":"First step of RealUnit registration. Checks if email exists in DFX system. If exists and merge is possible, sends merge confirmation email. Otherwise registers email and sets KYC Level 10.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitEmailRegistrationDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitEmailRegistrationResponseDto"}}}},"400":{"description":"Email does not match verified email"},"409":{"description":"Account already exists and merge not possible"}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/register/complete":{"post":{"operationId":"RealUnitController_completeRegistration","summary":"Step 2: Complete RealUnit registration","description":"Second step of RealUnit registration. Requires email registration to be completed. Validates personal data against DFX system and forwards to Aktionariat.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitRegistrationDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitRegistrationResponseDto"}}}},"202":{"description":"Registration accepted or forwarding to Aktionariat failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitRegistrationResponseDto"}}}},"400":{"description":"Invalid signature, wallet mismatch, email registration not completed, or data mismatch"}},"tags":["Realunit"],"security":[{"bearer":[]}]}},"/v1/realunit/register/wallet":{"post":{"operationId":"RealUnitController_completeRegistrationForWalletAddress","summary":"Complete RealUnit registration for given wallet address that is already owned by a user","description":"Completes a registration using existing data from the wallet status endpoint with a new signature.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitRegisterWalletDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitRegistrationResponseDto"}}}},"202":{"description":"Registration accepted or forwarding to Aktionariat failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealUnitRegistrationResponseDto"}}}},"400":{"description":"No pending registration, invalid signature, or wallet mismatch"}},"tags":["Realunit"],"security":[{"bearer":[]}]}}},"info":{"title":"DFX API","description":"DFX API DEV (updated on 4/15/2026, 12:46:05 PM)\n\n**Amount Convention:** All amount fields use human-readable display units (e.g., 1.5 BTC, not 150,000,000 satoshis). ","version":"v1","contact":{}},"tags":[],"servers":[],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}},"schemas":{"AssetLimitsDto":{"type":"object","properties":{"minVolume":{"type":"number","description":"Minimum transaction volume (in asset)"},"maxVolume":{"type":"number","description":"Maximum transaction volume (in asset)"}},"required":["minVolume","maxVolume"]},"AssetDetailDto":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"chainId":{"type":"string"},"decimals":{"type":"number"},"explorerUrl":{"type":"string"},"uniqueName":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["Coin","Token","Custom","Custody","Pool","Presale"]},"category":{"type":"string","enum":["Public","Private"]},"dexName":{"type":"string"},"feeTier":{"type":"string","enum":["Tier0","Tier1","Tier2","Tier3","Tier4"],"deprecated":true},"comingSoon":{"type":"boolean"},"buyable":{"type":"boolean"},"sellable":{"type":"boolean"},"cardBuyable":{"type":"boolean"},"cardSellable":{"type":"boolean"},"instantBuyable":{"type":"boolean"},"instantSellable":{"type":"boolean"},"blockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]},"sortOrder":{"type":"number"},"limits":{"$ref":"#/components/schemas/AssetLimitsDto"}},"required":["id","name","uniqueName","description","type","category","dexName","feeTier","comingSoon","buyable","sellable","cardBuyable","cardSellable","instantBuyable","instantSellable","blockchain","limits"]},"VolumeLimitDto":{"type":"object","properties":{"minVolume":{"type":"number","description":"Minimum transaction volume (in fiat)"},"maxVolume":{"type":"number","description":"Maximum transaction volume (in fiat)"}},"required":["minVolume","maxVolume"]},"FiatLimitsDto":{"type":"object","properties":{"Bank":{"$ref":"#/components/schemas/VolumeLimitDto"},"Instant":{"$ref":"#/components/schemas/VolumeLimitDto"},"Card":{"$ref":"#/components/schemas/VolumeLimitDto"}},"required":["Bank","Instant","Card"]},"FiatDetailDto":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"buyable":{"type":"boolean"},"sellable":{"type":"boolean"},"cardBuyable":{"type":"boolean"},"cardSellable":{"type":"boolean"},"instantBuyable":{"type":"boolean"},"instantSellable":{"type":"boolean"},"limits":{"$ref":"#/components/schemas/FiatLimitsDto"},"allowedIbanCountries":{"type":"array","items":{"type":"string"}}},"required":["id","name","buyable","sellable","cardBuyable","cardSellable","instantBuyable","instantSellable","limits","allowedIbanCountries"]},"CountryDto":{"type":"object","properties":{"id":{"type":"number"},"symbol":{"type":"string"},"name":{"type":"string"},"foreignName":{"type":"string"},"locationAllowed":{"type":"boolean","description":"Allowed to access DFX API (current IP location)"},"ibanAllowed":{"type":"boolean","description":"Allowed for IBANs"},"kycAllowed":{"type":"boolean","description":"Allowed for KYC"},"kycOrganizationAllowed":{"type":"boolean","description":"Allowed for organization KYC"},"nationalityAllowed":{"type":"boolean","description":"Allowed nationality for KYC"},"bankAllowed":{"type":"boolean","description":"Allowed for bank transactions"},"cardAllowed":{"type":"boolean","description":"Allowed for card transactions"},"cryptoAllowed":{"type":"boolean","description":"Allowed for crypto transactions"}},"required":["id","symbol","name","foreignName","locationAllowed","ibanAllowed","kycAllowed","kycOrganizationAllowed","nationalityAllowed","bankAllowed","cardAllowed","cryptoAllowed"]},"LanguageDto":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"symbol":{"type":"string"},"foreignName":{"type":"string"},"enable":{"type":"boolean"}},"required":["id","name","symbol","foreignName","enable"]},"GetBalancesDto":{"type":"object","properties":{"address":{"type":"string","description":"Wallet address to query balances for"},"blockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"description":"Blockchain to query"},"assetIds":{"description":"Asset IDs to query balances for","type":"array","items":{"type":"number"}}},"required":["address","blockchain"]},"BalanceDto":{"type":"object","properties":{"assetId":{"type":"number","description":"Asset ID"},"chainId":{"type":"string","description":"Contract address / Chain ID of the asset"},"balance":{"type":"number","description":"Balance amount (formatted with decimals)"}},"required":["assetId","balance"]},"GetBalancesResponseDto":{"type":"object","properties":{"balances":{"description":"List of balances","type":"array","items":{"$ref":"#/components/schemas/BalanceDto"}}},"required":["balances"]},"CreateTransactionDto":{"type":"object","properties":{"blockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"description":"Blockchain for the transaction"},"fromAddress":{"type":"string","description":"Sender wallet address"},"toAddress":{"type":"string","description":"Recipient wallet address"},"amount":{"type":"number","description":"Amount to send"},"assetId":{"type":"number","description":"Asset ID for token transfers. Omit for native coin transfers."}},"required":["blockchain","fromAddress","toAddress","amount"]},"UnsignedTransactionDto":{"type":"object","properties":{"rawTransaction":{"type":"string","description":"Serialized unsigned transaction (base64 or hex encoded)"},"encoding":{"type":"string","description":"Encoding of the raw transaction","enum":["base64","hex"]},"recentBlockhash":{"type":"string","description":"Recent blockhash (for Solana)"},"expiration":{"type":"number","description":"Expiration (for Tron)"}},"required":["rawTransaction","encoding"]},"BroadcastTransactionDto":{"type":"object","properties":{"blockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"description":"Blockchain for the transaction"},"signedTransaction":{"type":"string","description":"Signed transaction (base64 or hex encoded)"}},"required":["blockchain","signedTransaction"]},"BroadcastResultDto":{"type":"object","properties":{"txHash":{"type":"string","description":"Transaction hash"}},"required":["txHash"]},"FiatInDto":{"type":"object","properties":{"id":{"type":"number","description":"Fiat currency ID"},"name":{"type":"string","description":"Fiat currency code (e.g. EUR, USD, CHF)"}}},"AssetInDto":{"type":"object","properties":{"id":{"type":"number","description":"DFX asset ID. Use either id alone OR blockchain/evmChainId with chainId."},"chainId":{"type":"string","description":"On-chain contract address (for tokens). If omitted with blockchain/evmChainId, uses native coin."},"blockchain":{"type":"string","description":"Blockchain name (e.g. Ethereum, Polygon). Use with chainId."},"evmChainId":{"type":"number","description":"Numeric EVM chain ID (e.g. 1 for Ethereum, 137 for Polygon). Alternative to blockchain."}}},"GetBuyQuoteDto":{"type":"object","properties":{"currency":{"description":"Source currency (by ID or name)","allOf":[{"$ref":"#/components/schemas/FiatInDto"}]},"asset":{"description":"Target asset","allOf":[{"$ref":"#/components/schemas/AssetInDto"}]},"amount":{"type":"number","description":"Amount in source currency"},"targetAmount":{"type":"number","description":"Amount in target asset"},"paymentMethod":{"type":"string","description":"Payment method","enum":["Bank","Instant","Card"]},"discountCode":{"type":"string","description":"This field is deprecated, use \"specialCode\" instead.","deprecated":true},"specialCode":{"type":"string","description":"Special code"},"wallet":{"type":"string"},"country":{"type":"string","description":"Country code (ISO 3166-1 alpha-2, e.g. DE, CH, US)"},"stateProvince":{"type":"string","description":"State or province code (e.g. US-NY, CA-BC)"}},"required":["currency","asset"]},"FeeDto":{"type":"object","properties":{"min":{"type":"number","description":"Minimum fee amount"},"rate":{"type":"number","description":"Fee rate"},"fixed":{"type":"number","description":"Fixed fee amount"},"dfx":{"type":"number","description":"DFX fee amount"},"network":{"type":"number","description":"Network fee amount"},"networkStart":{"type":"number","description":"Network start fee"},"platform":{"type":"number","description":"Platform fee amount"},"bank":{"type":"number","description":"Bank fee amount"},"bankFixed":{"type":"number","description":"Bank fixed fee amount"},"bankVariable":{"type":"number","description":"Bank variable fee amount"},"total":{"type":"number","description":"Total fee amount (DFX + bank + network fee)"}},"required":["min","rate","fixed","dfx","network","platform","bank","total"]},"PriceStep":{"type":"object","properties":{"source":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"price":{"type":"number"},"timestamp":{"format":"date-time","type":"string"}},"required":["source","from","to","price","timestamp"]},"StructuredErrorDto":{"type":"object","properties":{"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error code"},"limit":{"type":"number","description":"Volume limit in source asset/currency"},"limitTarget":{"type":"number","description":"Volume limit in target asset/currency"}},"required":["error"]},"BuyQuoteDto":{"type":"object","properties":{"feeAmount":{"type":"number","description":"Fee amount in source currency","deprecated":true},"amount":{"type":"number","description":"Amount in source currency"},"estimatedAmount":{"type":"number","description":"Estimated amount in target asset"},"exchangeRate":{"type":"number","description":"Exchange rate in source/target"},"rate":{"type":"number","description":"Final rate (incl. fees) in source/target"},"minVolume":{"type":"number","description":"Minimum volume in source currency"},"maxVolume":{"type":"number","description":"Maximum volume in source currency"},"fees":{"description":"Fee infos in source currency","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"feesTarget":{"description":"Fee infos in target asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolumeTarget":{"type":"number","description":"Minimum volume in target asset"},"maxVolumeTarget":{"type":"number","description":"Maximum volume in target asset"},"priceSteps":{"type":"array","items":{"$ref":"#/components/schemas/PriceStep"}},"isValid":{"type":"boolean"},"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error message in case isValid is false","deprecated":true},"errors":{"description":"Structured errors array","type":"array","items":{"$ref":"#/components/schemas/StructuredErrorDto"}}},"required":["feeAmount","amount","estimatedAmount","exchangeRate","rate","minVolume","maxVolume","fees","feesTarget","minVolumeTarget","maxVolumeTarget","priceSteps","isValid"]},"EntityDto":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"]},"GetBuyPaymentInfoDto":{"type":"object","properties":{"iban":{"type":"string"},"currency":{"description":"Source currency","allOf":[{"$ref":"#/components/schemas/EntityDto"}]},"asset":{"description":"Target asset","allOf":[{"$ref":"#/components/schemas/AssetInDto"}]},"amount":{"type":"number","description":"Amount in source currency"},"targetAmount":{"type":"number","description":"Amount in target asset"},"externalTransactionId":{"type":"string","description":"Custom transaction id"},"exactPrice":{"type":"boolean","description":"Require an exact price (may take longer)"}},"required":["currency","asset"]},"MinAmount":{"type":"object","properties":{"amount":{"type":"number"},"asset":{"type":"string"}},"required":["amount","asset"]},"FiatDto":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"buyable":{"type":"boolean"},"sellable":{"type":"boolean"},"cardBuyable":{"type":"boolean"},"cardSellable":{"type":"boolean"},"instantBuyable":{"type":"boolean"},"instantSellable":{"type":"boolean"}},"required":["id","name","buyable","sellable","cardBuyable","cardSellable","instantBuyable","instantSellable"]},"AssetDto":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"chainId":{"type":"string"},"decimals":{"type":"number"},"explorerUrl":{"type":"string"},"uniqueName":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["Coin","Token","Custom","Custody","Pool","Presale"]},"category":{"type":"string","enum":["Public","Private"]},"dexName":{"type":"string"},"feeTier":{"type":"string","enum":["Tier0","Tier1","Tier2","Tier3","Tier4"],"deprecated":true},"comingSoon":{"type":"boolean"},"buyable":{"type":"boolean"},"sellable":{"type":"boolean"},"cardBuyable":{"type":"boolean"},"cardSellable":{"type":"boolean"},"instantBuyable":{"type":"boolean"},"instantSellable":{"type":"boolean"},"blockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]},"sortOrder":{"type":"number"}},"required":["id","name","uniqueName","description","type","category","dexName","feeTier","comingSoon","buyable","sellable","cardBuyable","cardSellable","instantBuyable","instantSellable","blockchain"]},"BuyPaymentInfoDto":{"type":"object","properties":{"name":{"type":"string"},"bank":{"type":"string"},"street":{"type":"string"},"number":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"sepaInstant":{"type":"boolean"},"id":{"type":"number","description":"Transaction order ID"},"uid":{"type":"string","description":"UID of the transaction order"},"statusUrl":{"type":"string","description":"URL to the order status page"},"timestamp":{"format":"date-time","type":"string","description":"Price timestamp"},"routeId":{"type":"number"},"remittanceInfo":{"type":"string"},"minDeposit":{"deprecated":true,"allOf":[{"$ref":"#/components/schemas/MinAmount"}]},"fee":{"type":"number","description":"Fee in percentage","deprecated":true},"minFee":{"type":"number","description":"Minimum fee in source currency","deprecated":true},"fees":{"description":"Fee infos in source currency","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolume":{"type":"number","description":"Minimum volume in source currency"},"maxVolume":{"type":"number","description":"Maximum volume in source currency"},"amount":{"type":"number","description":"Amount in source currency"},"currency":{"description":"Source currency","allOf":[{"$ref":"#/components/schemas/FiatDto"}]},"minFeeTarget":{"type":"number","description":"Minimum fee in target asset","deprecated":true},"feesTarget":{"description":"Fee infos in target asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolumeTarget":{"type":"number","description":"Minimum volume in target asset"},"maxVolumeTarget":{"type":"number","description":"Maximum volume in target asset"},"exchangeRate":{"type":"number","description":"Exchange rate in source/target"},"rate":{"type":"number","description":"Final rate (incl. fees) in source/target"},"exactPrice":{"type":"boolean","description":"Exact or approximate price"},"priceSteps":{"type":"array","items":{"$ref":"#/components/schemas/PriceStep"}},"estimatedAmount":{"type":"number","description":"Estimated amount in target asset"},"asset":{"description":"Target asset","allOf":[{"$ref":"#/components/schemas/AssetDto"}]},"paymentRequest":{"type":"string","description":"Payment request (e.g. GiroCode content)"},"isValid":{"type":"boolean"},"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error message in case isValid is false"},"isPersonalIban":{"type":"boolean","description":"Whether this uses a personal IBAN"},"expiryDate":{"format":"date-time","type":"string","description":"Expiration timestamp of the quote"}},"required":["name","bank","street","zip","city","country","bic","sepaInstant","id","uid","timestamp","routeId","minDeposit","fee","minFee","fees","minVolume","maxVolume","amount","currency","minFeeTarget","feesTarget","minVolumeTarget","maxVolumeTarget","exchangeRate","rate","exactPrice","priceSteps","estimatedAmount","asset","isValid"]},"PdfDto":{"type":"object","properties":{"pdfData":{"type":"string","description":"Base64 encoded PDF"}},"required":["pdfData"]},"VirtualIbanDto":{"type":"object","properties":{"id":{"type":"number"},"iban":{"type":"string"},"bban":{"type":"string"},"currency":{"type":"string"},"active":{"type":"boolean"},"status":{"type":"string","enum":["Reserved","Active","Expired","Deactivated"]},"label":{"type":"string"},"activatedAt":{"format":"date-time","type":"string"}},"required":["id","iban","currency","active"]},"CreateVirtualIbanDto":{"type":"object","properties":{"currency":{"type":"string"}},"required":["currency"]},"BuyDto":{"type":"object","properties":{"id":{"type":"number"},"active":{"type":"boolean"},"iban":{"type":"string"},"asset":{"$ref":"#/components/schemas/AssetDto"},"bankUsage":{"type":"string"},"volume":{"type":"number","description":"Volume in CHF"},"annualVolume":{"type":"number","description":"Annual volume in CHF"},"fee":{"type":"number"},"minDeposits":{"type":"array","items":{"$ref":"#/components/schemas/MinAmount"}},"minFee":{"$ref":"#/components/schemas/MinAmount"}},"required":["id","active","asset","volume","annualVolume","fee","minDeposits","minFee"]},"DepositDto":{"type":"object","properties":{"id":{"type":"number"},"address":{"type":"string"},"blockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"deprecated":true},"blockchains":{"type":"array","items":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]}}},"required":["id","address","blockchain","blockchains"]},"SwapDto":{"type":"object","properties":{"id":{"type":"number"},"active":{"type":"boolean"},"asset":{"$ref":"#/components/schemas/AssetDto"},"deposit":{"$ref":"#/components/schemas/DepositDto"},"volume":{"type":"number","description":"Volume in CHF"},"annualVolume":{"type":"number","description":"Annual volume in CHF"},"fee":{"type":"number"},"blockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"deprecated":true},"minDeposits":{"type":"array","items":{"$ref":"#/components/schemas/MinAmount"}},"minFee":{"$ref":"#/components/schemas/MinAmount"}},"required":["id","active","asset","volume","annualVolume","fee","blockchain","minDeposits","minFee"]},"GetSwapQuoteDto":{"type":"object","properties":{"sourceAsset":{"description":"Source asset","allOf":[{"$ref":"#/components/schemas/AssetInDto"}]},"amount":{"type":"number","description":"Amount in source asset"},"targetAsset":{"description":"Target asset","allOf":[{"$ref":"#/components/schemas/AssetInDto"}]},"targetAmount":{"type":"number","description":"Amount in target asset"},"discountCode":{"type":"string","description":"This field is deprecated, use \"specialCode\" instead.","deprecated":true},"specialCode":{"type":"string","description":"Special code"},"wallet":{"type":"string"}},"required":["sourceAsset","targetAsset"]},"SwapQuoteDto":{"type":"object","properties":{"feeAmount":{"type":"number","description":"Fee amount in source asset","deprecated":true},"amount":{"type":"number","description":"Amount in source asset"},"exchangeRate":{"type":"number","description":"Exchange rate in source/target"},"estimatedAmount":{"type":"number","description":"Estimated amount in target asset"},"minVolume":{"type":"number","description":"Minimum volume in source asset"},"maxVolume":{"type":"number","description":"Maximum volume in source asset"},"fees":{"description":"Fee infos in source asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"feesTarget":{"description":"Fee infos in target asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolumeTarget":{"type":"number","description":"Minimum volume in target asset"},"maxVolumeTarget":{"type":"number","description":"Maximum volume in target asset"},"priceSteps":{"type":"array","items":{"$ref":"#/components/schemas/PriceStep"}},"isValid":{"type":"boolean"},"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error message in case isValid is false","deprecated":true},"errors":{"description":"Structured errors array","type":"array","items":{"$ref":"#/components/schemas/StructuredErrorDto"}}},"required":["feeAmount","amount","exchangeRate","estimatedAmount","minVolume","maxVolume","fees","feesTarget","minVolumeTarget","maxVolumeTarget","priceSteps","isValid"]},"GetSwapPaymentInfoDto":{"type":"object","properties":{"sourceAsset":{"description":"Source asset","allOf":[{"$ref":"#/components/schemas/AssetInDto"}]},"amount":{"type":"number","description":"Amount in source asset"},"targetAsset":{"description":"Target asset","allOf":[{"$ref":"#/components/schemas/AssetInDto"}]},"targetAmount":{"type":"number","description":"Amount in target asset"},"externalTransactionId":{"type":"string","description":"Custom transaction id"},"exactPrice":{"type":"boolean","description":"Require an exact price (may take longer)"}},"required":["sourceAsset","targetAsset"]},"Eip5792CallDto":{"type":"object","properties":{"to":{"type":"string","description":"Target contract address"},"data":{"type":"string","description":"Encoded call data"},"value":{"type":"string","description":"Value in wei (usually 0x0 for ERC20 transfers)"}},"required":["to","data","value"]},"Eip5792DataDto":{"type":"object","properties":{"paymasterUrl":{"type":"string","description":"Pimlico paymaster service URL for gas sponsorship"},"chainId":{"type":"number","description":"Chain ID"},"calls":{"description":"Array of calls to execute","type":"array","items":{"$ref":"#/components/schemas/Eip5792CallDto"}}},"required":["paymasterUrl","chainId","calls"]},"UnsignedTxDto":{"type":"object","properties":{"chainId":{"type":"number","description":"Chain ID"},"from":{"type":"string","description":"Sender address (user wallet)"},"to":{"type":"string","description":"Recipient address (deposit address or token contract)"},"data":{"type":"string","description":"Transaction data (empty for native, encoded transfer for ERC20)"},"value":{"type":"string","description":"Value in wei (for native token transfers)"},"nonce":{"type":"number","description":"Transaction nonce"},"gasPrice":{"type":"string","description":"Recommended gas price in wei"},"gasLimit":{"type":"string","description":"Recommended gas limit"},"eip5792":{"description":"EIP-5792 wallet_sendCalls data (only present if user has 0 native token for gas)","allOf":[{"$ref":"#/components/schemas/Eip5792DataDto"}]}},"required":["chainId","from","to","data","value","nonce","gasPrice","gasLimit"]},"Eip7702AuthorizationDataDto":{"type":"object","properties":{"contractAddress":{"type":"string","description":"Smart account implementation contract address"},"chainId":{"type":"number","description":"Chain ID"},"nonce":{"type":"number","description":"Current nonce of the user account"},"typedData":{"type":"object","description":"EIP-712 typed data for signing"}},"required":["contractAddress","chainId","nonce","typedData"]},"SwapPaymentInfoDto":{"type":"object","properties":{"id":{"type":"number","description":"Transaction order ID"},"uid":{"type":"string","description":"UID of the transaction order"},"statusUrl":{"type":"string","description":"URL to the order status page"},"timestamp":{"format":"date-time","type":"string","description":"Price timestamp"},"routeId":{"type":"number"},"depositAddress":{"type":"string"},"blockchain":{"type":"string","deprecated":true},"minDeposit":{"deprecated":true,"allOf":[{"$ref":"#/components/schemas/MinAmount"}]},"fee":{"type":"number","description":"Fee in percentage","deprecated":true},"minFee":{"type":"number","description":"Minimum fee in source asset","deprecated":true},"fees":{"description":"Fee infos in source asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolume":{"type":"number","description":"Minimum volume in source asset"},"maxVolume":{"type":"number","description":"Maximum volume in source asset"},"amount":{"type":"number","description":"Amount in source asset"},"sourceAsset":{"description":"Source asset","allOf":[{"$ref":"#/components/schemas/AssetDto"}]},"minFeeTarget":{"type":"number","description":"Minimum fee in target asset","deprecated":true},"feesTarget":{"description":"Fee infos in target asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolumeTarget":{"type":"number","description":"Minimum volume in target asset"},"maxVolumeTarget":{"type":"number","description":"Maximum volume in target asset"},"exchangeRate":{"type":"number","description":"Exchange rate in source/target"},"rate":{"type":"number","description":"Final rate (incl. fees) in source/target"},"exactPrice":{"type":"boolean","description":"Exact or approximate price"},"priceSteps":{"type":"array","items":{"$ref":"#/components/schemas/PriceStep"}},"estimatedAmount":{"type":"number","description":"Estimated amount in target asset"},"targetAsset":{"description":"Target asset","allOf":[{"$ref":"#/components/schemas/AssetDto"}]},"paymentRequest":{"type":"string","description":"Payment request (e.g. Lightning invoice)"},"depositTx":{"description":"Unsigned transaction data for EVM chains","allOf":[{"$ref":"#/components/schemas/UnsignedTxDto"}]},"isValid":{"type":"boolean"},"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error message in case isValid is false"},"eip7702Authorization":{"description":"EIP-7702 authorization data for gasless transactions (user has 0 native balance)","allOf":[{"$ref":"#/components/schemas/Eip7702AuthorizationDataDto"}]},"gaslessAvailable":{"type":"boolean","description":"Whether gasless transaction is available for this request"},"expiryDate":{"format":"date-time","type":"string","description":"Expiration timestamp of the quote"}},"required":["id","uid","timestamp","routeId","blockchain","minDeposit","fee","minFee","fees","minVolume","maxVolume","amount","sourceAsset","minFeeTarget","feesTarget","minVolumeTarget","maxVolumeTarget","exchangeRate","rate","exactPrice","priceSteps","estimatedAmount","targetAsset","isValid"]},"PermitDto":{"type":"object","properties":{"address":{"type":"string"},"signature":{"type":"string"},"signatureTransferContract":{"type":"string"},"permittedAmount":{"type":"number"},"executorAddress":{"type":"string"},"nonce":{"type":"number"},"deadline":{"type":"string"}},"required":["address","signature","signatureTransferContract","permittedAmount","executorAddress","nonce","deadline"]},"Eip7702AuthorizationDto":{"type":"object","properties":{"chainId":{"type":"number","description":"Chain ID"},"address":{"type":"string","description":"Contract address to delegate to"},"nonce":{"type":"number","description":"Account nonce"},"r":{"type":"string","description":"Signature r component"},"s":{"type":"string","description":"Signature s component"},"yParity":{"type":"number","description":"Signature yParity (0 or 1)"}},"required":["chainId","address","nonce","r","s","yParity"]},"ConfirmDto":{"type":"object","properties":{"permit":{"description":"Permit signature for backend-executed transfer","allOf":[{"$ref":"#/components/schemas/PermitDto"}]},"signedTxHex":{"type":"string","description":"User-signed transaction hex for broadcast"},"txHash":{"type":"string","description":"Transaction hash of a user-sent transaction (plain transfer or EIP-5792)"},"authorization":{"description":"EIP-7702 authorization signed by user","allOf":[{"$ref":"#/components/schemas/Eip7702AuthorizationDto"}]}}},"NetworkStartTxDto":{"type":"object","properties":{"txId":{"type":"string"},"txUrl":{"type":"string"},"amount":{"type":"number"},"exchangeRate":{"type":"number"},"asset":{"type":"string"}},"required":["txId","txUrl","amount","exchangeRate","asset"]},"TransactionDto":{"type":"object","properties":{"id":{"type":"number"},"uid":{"type":"string","description":"UID of the transaction"},"orderUid":{"type":"string","description":"UID of the order of the transaction"},"type":{"type":"string","enum":["Buy","Sell","Swap","Referral"]},"state":{"type":"string","enum":["Created","Processing","LiquidityPending","CheckPending","KycRequired","LimitExceeded","FeeTooHigh","PriceUndeterminable","PayoutInProgress","Completed","Failed","ReturnPending","Returned","Unassigned","WaitingForPayment"]},"inputAmount":{"type":"number"},"inputAsset":{"type":"string"},"inputAssetId":{"type":"number","description":"Fiat ID for buy transactions, asset ID otherwise"},"inputChainId":{"type":"string","description":"Contract address of the input asset (for tokens)"},"inputBlockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]},"inputEvmChainId":{"type":"number","description":"EVM chain ID of the input asset (e.g. 1 for Ethereum)"},"inputPaymentMethod":{"type":"string","enum":["Bank","Instant","Card","Crypto"]},"inputTxId":{"type":"string"},"inputTxUrl":{"type":"string"},"depositAddress":{"type":"string","description":"Deposit address for crypto input transactions"},"chargebackTarget":{"type":"string","description":"Chargeback address or chargeback IBAN"},"chargebackAmount":{"type":"number","description":"Chargeback amount in chargeback asset"},"chargebackAsset":{"type":"string"},"chargebackAssetId":{"type":"number","description":"Fiat ID for sell transaction refunds, asset ID otherwise"},"chargebackTxId":{"type":"string"},"chargebackTxUrl":{"type":"string"},"chargebackDate":{"format":"date-time","type":"string"},"date":{"format":"date-time","type":"string"},"reason":{"type":"string","enum":["Unknown","MonthlyLimitExceeded","AnnualLimitExceeded","AccountHolderMismatch","KycRejected","FraudSuspicion","SanctionSuspicion","MinDepositNotReached","AssetNotAvailable","AssetNotAvailableWithChosenBank","StakingDiscontinued","BankNotAllowed","PaymentAccountNotAllowed","CountryNotAllowed","InstantPayment","FeeTooHigh","ReceiverRejected","ChfAbroadNotAllowed","AssetKycNeeded","CardNameMismatch","UserDeleted","VideoIdentNeeded","MissingLiquidity","KycDataNeeded","BankTxNeeded","MergeIncomplete","PhoneVerificationNeeded","BankReleasePending","InputNotConfirmed"]},"exchangeRate":{"type":"number","description":"Exchange rate in input/output"},"rate":{"type":"number","description":"Final rate (incl. fees) in input/output"},"outputAmount":{"type":"number"},"outputAsset":{"type":"string"},"outputAssetId":{"type":"number","description":"Fiat ID for sell transactions, asset ID otherwise"},"outputChainId":{"type":"string","description":"Contract address of the output asset (for tokens)"},"outputBlockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]},"outputEvmChainId":{"type":"number","description":"EVM chain ID of the output asset (e.g. 1 for Ethereum)"},"outputPaymentMethod":{"type":"string","enum":["Bank","Instant","Card","Crypto"]},"outputTxId":{"type":"string"},"outputTxUrl":{"type":"string"},"outputDate":{"format":"date-time","type":"string"},"priceSteps":{"type":"array","items":{"type":"string"}},"feeAmount":{"type":"number","description":"Fee amount in input asset","deprecated":true},"feeAsset":{"type":"string","deprecated":true},"fees":{"description":"Fee infos in input asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"externalTransactionId":{"type":"string"},"networkStartTx":{"$ref":"#/components/schemas/NetworkStartTxDto"},"userCountry":{"type":"string","description":"User country code (ISO 3166-1 alpha-2)"}},"required":["uid","type","state","date"]},"SellDto":{"type":"object","properties":{"id":{"type":"number"},"active":{"type":"boolean"},"deposit":{"$ref":"#/components/schemas/DepositDto"},"iban":{"type":"string"},"fiat":{"deprecated":true,"allOf":[{"$ref":"#/components/schemas/FiatDto"}]},"currency":{"$ref":"#/components/schemas/FiatDto"},"volume":{"type":"number","description":"Volume in CHF"},"annualVolume":{"type":"number","description":"Annual volume in CHF"},"fee":{"type":"number"},"blockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"],"deprecated":true},"minDeposits":{"type":"array","items":{"$ref":"#/components/schemas/MinAmount"}},"minFee":{"$ref":"#/components/schemas/MinAmount"}},"required":["id","active","iban","fiat","currency","volume","annualVolume","fee","blockchain","minDeposits","minFee"]},"GetSellQuoteDto":{"type":"object","properties":{"asset":{"description":"Source asset","allOf":[{"$ref":"#/components/schemas/AssetInDto"}]},"amount":{"type":"number","description":"Amount in source asset"},"currency":{"description":"Target currency (by ID or name)","allOf":[{"$ref":"#/components/schemas/FiatInDto"}]},"targetAmount":{"type":"number","description":"Amount in target currency"},"discountCode":{"type":"string","description":"This field is deprecated, use \"specialCode\" instead.","deprecated":true},"specialCode":{"type":"string","description":"Special code"},"wallet":{"type":"string"},"country":{"type":"string","description":"Country code (ISO 3166-1 alpha-2, e.g. DE, CH, US)"},"stateProvince":{"type":"string","description":"State or province code (e.g. US-NY, CA-BC)"}},"required":["asset","currency"]},"SellQuoteDto":{"type":"object","properties":{"feeAmount":{"type":"number","description":"Fee amount in source asset","deprecated":true},"amount":{"type":"number","description":"Amount in source asset"},"estimatedAmount":{"type":"number","description":"Estimated amount in target currency"},"exchangeRate":{"type":"number","description":"Exchange rate in source/target"},"rate":{"type":"number","description":"Final rate (incl. fees) in source/target"},"fees":{"description":"Fee infos in source asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"feesTarget":{"description":"Fee infos in target currency","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolume":{"type":"number","description":"Minimum volume in source asset"},"maxVolume":{"type":"number","description":"Maximum Volume in source asset"},"minVolumeTarget":{"type":"number","description":"Minimum volume in target currency"},"maxVolumeTarget":{"type":"number","description":"Maximum volume in target currency"},"priceSteps":{"type":"array","items":{"$ref":"#/components/schemas/PriceStep"}},"isValid":{"type":"boolean"},"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error message in case isValid is false","deprecated":true},"errors":{"description":"Structured errors array","type":"array","items":{"$ref":"#/components/schemas/StructuredErrorDto"}}},"required":["feeAmount","amount","estimatedAmount","exchangeRate","rate","fees","feesTarget","minVolume","maxVolume","minVolumeTarget","maxVolumeTarget","priceSteps","isValid"]},"GetSellPaymentInfoDto":{"type":"object","properties":{"iban":{"type":"string"},"asset":{"description":"Source asset","allOf":[{"$ref":"#/components/schemas/AssetInDto"}]},"currency":{"description":"Target currency","allOf":[{"$ref":"#/components/schemas/EntityDto"}]},"amount":{"type":"number","description":"Amount in source asset"},"targetAmount":{"type":"number","description":"Amount in target currency"},"externalTransactionId":{"type":"string","description":"Custom transaction id"},"exactPrice":{"type":"boolean","description":"Require an exact price (may take longer)"}},"required":["iban","asset","currency"]},"BeneficiaryDto":{"type":"object","properties":{"iban":{"type":"string"},"name":{"type":"string"}},"required":["iban"]},"SellPaymentInfoDto":{"type":"object","properties":{"id":{"type":"number","description":"Transaction order ID"},"uid":{"type":"string","description":"UID of the transaction order"},"statusUrl":{"type":"string","description":"URL to the order status page"},"timestamp":{"format":"date-time","type":"string","description":"Price timestamp"},"routeId":{"type":"number"},"depositAddress":{"type":"string"},"blockchain":{"type":"string","deprecated":true},"minDeposit":{"deprecated":true,"allOf":[{"$ref":"#/components/schemas/MinAmount"}]},"fee":{"type":"number","description":"Fee in percentage","deprecated":true},"minFee":{"type":"number","description":"Minimum fee in source asset","deprecated":true},"fees":{"description":"Fee infos in source asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolume":{"type":"number","description":"Minimum volume in source asset"},"maxVolume":{"type":"number","description":"Maximum Volume in source asset"},"amount":{"type":"number","description":"Amount in source asset"},"asset":{"description":"Source asset","allOf":[{"$ref":"#/components/schemas/AssetDto"}]},"minFeeTarget":{"type":"number","description":"Minimum fee in target currency","deprecated":true},"feesTarget":{"description":"Fee infos in target currency","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolumeTarget":{"type":"number","description":"Minimum volume in target currency"},"maxVolumeTarget":{"type":"number","description":"Maximum volume in target currency"},"exchangeRate":{"type":"number","description":"Exchange rate in source/target"},"rate":{"type":"number","description":"Final rate (incl. fees) in source/target"},"exactPrice":{"type":"boolean","description":"Exact or approximate price"},"priceSteps":{"type":"array","items":{"$ref":"#/components/schemas/PriceStep"}},"estimatedAmount":{"type":"number","description":"Estimated amount in target currency"},"currency":{"description":"Target currency","allOf":[{"$ref":"#/components/schemas/FiatDto"}]},"beneficiary":{"description":"Bank transaction beneficiary","allOf":[{"$ref":"#/components/schemas/BeneficiaryDto"}]},"paymentRequest":{"type":"string","description":"Payment request (e.g. Lightning invoice)"},"isValid":{"type":"boolean"},"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error message in case isValid is false"},"depositTx":{"description":"Unsigned deposit transaction data (only if quote is valid and includeTx=true)","allOf":[{"$ref":"#/components/schemas/UnsignedTxDto"}]},"eip7702Authorization":{"description":"EIP-7702 authorization data for gasless transactions (user has 0 ETH)","allOf":[{"$ref":"#/components/schemas/Eip7702AuthorizationDataDto"}]},"gaslessAvailable":{"type":"boolean","description":"Whether gasless transaction is available for this request"},"expiryDate":{"format":"date-time","type":"string","description":"Expiration timestamp of the quote"}},"required":["id","uid","timestamp","routeId","blockchain","minDeposit","fee","minFee","fees","minVolume","maxVolume","amount","asset","minFeeTarget","feesTarget","minVolumeTarget","maxVolumeTarget","exchangeRate","rate","exactPrice","priceSteps","estimatedAmount","currency","beneficiary","isValid"]},"TradingLimit":{"type":"object","properties":{"limit":{"type":"number","description":"Trading limit in CHF"},"remaining":{"type":"number","description":"Remaining limit (only available for yearly limits)"},"period":{"type":"string","enum":["Month","Year"]}},"required":["limit","period"]},"UserKycDto":{"type":"object","properties":{"hash":{"type":"string"},"level":{"type":"number","enum":[0,10,20,30,40,50,-10,-20]},"dataComplete":{"type":"boolean"},"preferredPhoneTimes":{"type":"array","items":{"type":"string","enum":["H9To10","H10To11","H11To12","H12To13","H13To14","H14To15","H15To16","H9To16"]}},"phoneCallAccepted":{"type":"boolean"},"phoneCallStatus":{"type":"string","enum":["Unavailable","Completed","Failed"]}},"required":["hash","level","dataComplete","preferredPhoneTimes"]},"VolumeInformation":{"type":"object","properties":{"total":{"type":"number"},"annual":{"type":"number"},"monthly":{"type":"number"}},"required":["total","annual","monthly"]},"VolumesDto":{"type":"object","properties":{"buy":{"description":"Total buy volume in CHF","allOf":[{"$ref":"#/components/schemas/VolumeInformation"}]},"sell":{"description":"Total sell volume in CHF","allOf":[{"$ref":"#/components/schemas/VolumeInformation"}]},"swap":{"description":"Total swap volume in CHF","allOf":[{"$ref":"#/components/schemas/VolumeInformation"}]}},"required":["buy","sell","swap"]},"UserAddressDto":{"type":"object","properties":{"wallet":{"type":"string"},"label":{"type":"string"},"address":{"type":"string"},"explorerUrl":{"type":"string"},"blockchains":{"type":"array","items":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]}},"volumes":{"$ref":"#/components/schemas/VolumesDto"},"refCode":{"type":"string"},"apiKeyCT":{"type":"string"},"apiFilterCT":{"type":"array","items":{"type":"string"}},"isCustody":{"type":"boolean"}},"required":["wallet","address","blockchains","volumes","isCustody"]},"UserPaymentLinkDto":{"type":"object","properties":{"active":{"type":"boolean"}},"required":["active"]},"UserV2Dto":{"type":"object","properties":{"accountId":{"type":"number","description":"Unique account id"},"accountType":{"type":"string","enum":["Personal","Organization","SoleProprietorship"]},"mail":{"type":"string"},"phone":{"type":"string"},"language":{"$ref":"#/components/schemas/LanguageDto"},"currency":{"$ref":"#/components/schemas/FiatDto"},"tradingLimit":{"$ref":"#/components/schemas/TradingLimit"},"kyc":{"$ref":"#/components/schemas/UserKycDto"},"volumes":{"$ref":"#/components/schemas/VolumesDto"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/UserAddressDto"}},"disabledAddresses":{"type":"array","items":{"$ref":"#/components/schemas/UserAddressDto"}},"activeAddress":{"$ref":"#/components/schemas/UserAddressDto"},"paymentLink":{"$ref":"#/components/schemas/UserPaymentLinkDto"},"apiKeyCT":{"type":"string"},"apiFilterCT":{"type":"array","items":{"type":"string"}}},"required":["accountId","language","currency","tradingLimit","kyc","volumes","addresses","disabledAddresses","paymentLink"]},"UpdateUserDto":{"type":"object","properties":{"phone":{"type":"string"},"language":{"$ref":"#/components/schemas/EntityDto"},"currency":{"$ref":"#/components/schemas/EntityDto"},"preferredPhoneTimes":{"type":"array","items":{"type":"string"}},"acceptCall":{"type":"boolean"}}},"UpdateUserMailDto":{"type":"object","properties":{"mail":{"type":"string"}},"required":["mail"]},"VerifyMailDto":{"type":"object","properties":{"token":{"type":"string","description":"Email verification token"}},"required":["token"]},"UpdateAddressDto":{"type":"object","properties":{"label":{"type":"string"}}},"ReferralDto":{"type":"object","properties":{"code":{"type":"string"},"commission":{"type":"number","description":"Referral commission factor"},"volume":{"type":"number","description":"Referral volume in EUR"},"credit":{"type":"number","description":"Referral credit in EUR"},"paidCredit":{"type":"number","description":"Paid referral credit in EUR"},"userCount":{"type":"number","description":"Number of users referred"},"activeUserCount":{"type":"number","description":"Number of active users referred"},"payoutAsset":{"description":"Referral payout asset","allOf":[{"$ref":"#/components/schemas/AssetDto"}]}},"required":["commission","volume","credit","paidCredit","userCount","activeUserCount","payoutAsset"]},"UpdateRefDto":{"type":"object","properties":{"payoutAsset":{"description":"Referral payout asset","allOf":[{"$ref":"#/components/schemas/EntityDto"}]},"payoutFrequency":{"type":"string","enum":["Daily","Monthly"],"description":"Referral payout frequency"}}},"UserAddressInfoDto":{"type":"object","properties":{"street":{"type":"string"},"houseNumber":{"type":"string"},"city":{"type":"string"},"zip":{"type":"string"},"country":{"$ref":"#/components/schemas/CountryDto"}}},"UserProfileDto":{"type":"object","properties":{"accountType":{"type":"string","enum":["Personal","Organization","SoleProprietorship"]},"firstName":{"type":"string"},"lastName":{"type":"string"},"mail":{"type":"string"},"phone":{"type":"string"},"address":{"description":"Primary address based on account type","allOf":[{"$ref":"#/components/schemas/UserAddressInfoDto"}]},"organizationName":{"type":"string","description":"Organization name (only for business accounts)"}}},"Fiat":{"type":"object","properties":{}},"UserDto":{"type":"object","properties":{"accountType":{"type":"string","enum":["Personal","Organization","SoleProprietorship"]},"wallet":{"type":"string"},"address":{"type":"string"},"status":{"type":"string","enum":["NA","Active","Blocked","Deleted"]},"currency":{"$ref":"#/components/schemas/Fiat"},"mail":{"type":"string"},"phone":{"type":"string"},"language":{"$ref":"#/components/schemas/LanguageDto"},"kycStatus":{"type":"string","enum":["NA","Check","Completed","Rejected","Terminated"],"deprecated":true},"kycState":{"type":"string","enum":["NA","Failed","Reminded","Review"],"deprecated":true},"kycLevel":{"type":"number","enum":[0,10,20,30,40,50,-10,-20]},"kycHash":{"type":"string"},"tradingLimit":{"$ref":"#/components/schemas/TradingLimit"},"kycDataComplete":{"type":"boolean"},"apiKeyCT":{"type":"string"},"apiFilterCT":{"type":"array","items":{"type":"string"}}},"required":["wallet","address","status","currency","mail","phone","language","kycStatus","kycState","kycLevel","kycHash","tradingLimit","kycDataComplete","apiKeyCT","apiFilterCT"]},"LinkedUserOutDto":{"type":"object","properties":{"address":{"type":"string"},"blockchains":{"type":"array","items":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]}}},"required":["address","blockchains"]},"UserDetailDto":{"type":"object","properties":{"accountType":{"type":"string","enum":["Personal","Organization","SoleProprietorship"]},"wallet":{"type":"string"},"address":{"type":"string"},"status":{"type":"string","enum":["NA","Active","Blocked","Deleted"]},"currency":{"$ref":"#/components/schemas/Fiat"},"mail":{"type":"string"},"phone":{"type":"string"},"language":{"$ref":"#/components/schemas/LanguageDto"},"kycStatus":{"type":"string","enum":["NA","Check","Completed","Rejected","Terminated"],"deprecated":true},"kycState":{"type":"string","enum":["NA","Failed","Reminded","Review"],"deprecated":true},"kycLevel":{"type":"number","enum":[0,10,20,30,40,50,-10,-20]},"kycHash":{"type":"string"},"tradingLimit":{"$ref":"#/components/schemas/TradingLimit"},"kycDataComplete":{"type":"boolean"},"apiKeyCT":{"type":"string"},"apiFilterCT":{"type":"array","items":{"type":"string"}},"ref":{"type":"string"},"refFeePercent":{"type":"number"},"refVolume":{"type":"number","description":"Referral volume in EUR"},"refCredit":{"type":"number"},"paidRefCredit":{"type":"number"},"refCount":{"type":"number"},"refCountActive":{"type":"number"},"buyVolume":{"description":"Buy volume in CHF","allOf":[{"$ref":"#/components/schemas/VolumeInformation"}]},"sellVolume":{"description":"Sell volume in CHF","allOf":[{"$ref":"#/components/schemas/VolumeInformation"}]},"cryptoVolume":{"description":"Crypto volume in CHF","allOf":[{"$ref":"#/components/schemas/VolumeInformation"}]},"stakingBalance":{"type":"number"},"linkedAddresses":{"type":"array","items":{"$ref":"#/components/schemas/LinkedUserOutDto"}},"bsLink":{"type":"string"}},"required":["wallet","address","status","currency","mail","phone","language","kycStatus","kycState","kycLevel","kycHash","tradingLimit","kycDataComplete","apiKeyCT","apiFilterCT","buyVolume","sellVolume","cryptoVolume","stakingBalance"]},"LinkedUserInDto":{"type":"object","properties":{"address":{"type":"string"}},"required":["address"]},"AuthResponseDto":{"type":"object","properties":{"accessToken":{"type":"string","description":"Access token of DFX API"}},"required":["accessToken"]},"KycAddress":{"type":"object","properties":{"street":{"type":"string"},"houseNumber":{"type":"string"},"city":{"type":"string"},"zip":{"type":"string"},"country":{"$ref":"#/components/schemas/EntityDto"}},"required":["street","city","zip","country"]},"KycInputDataDto":{"type":"object","properties":{"accountType":{"type":"string","enum":["Personal","Organization","SoleProprietorship"]},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"address":{"$ref":"#/components/schemas/KycAddress"},"organizationName":{"type":"string"},"organizationAddress":{"$ref":"#/components/schemas/KycAddress"},"mail":{"type":"string"}},"required":["accountType","firstName","lastName","phone","address","mail"]},"ApiKeyDto":{"type":"object","properties":{"key":{"type":"string"},"secret":{"type":"string"}},"required":["key","secret"]},"SignUpDto":{"type":"object","properties":{"address":{"type":"string"},"signature":{"type":"string"},"key":{"type":"string"},"blockchain":{"type":"string","description":"Blockchain for smart contract wallet signature verification (ERC-1271). Required for contract wallets on non-Ethereum chains.","enum":["Ethereum","Sepolia","BinanceSmartChain","Arbitrum","Optimism","Polygon","Base","Gnosis","Haqq","Citrea","CitreaTestnet"]},"discountCode":{"type":"string","description":"This field is deprecated, use \"specialCode\" instead.","deprecated":true},"specialCode":{"type":"string","description":"Special code"},"moderator":{"type":"string","description":"Moderator"},"region":{"type":"object","description":"IP region filter"},"walletType":{"type":"string","description":"Wallet type"},"language":{"type":"string","description":"Preferred language (e.g. EN, DE, FR, IT)"},"usedRef":{"type":"string"},"wallet":{"type":"string"},"recommendationCode":{"type":"string"}},"required":["address","signature"]},"Language":{"type":"object","properties":{}},"AuthMailDto":{"type":"object","properties":{"mail":{"type":"string"},"redirectUri":{"type":"string"},"language":{"$ref":"#/components/schemas/Language"},"recommendationCode":{"type":"string"},"wallet":{"type":"string"}},"required":["mail"]},"SignMessageDto":{"type":"object","properties":{"message":{"type":"string","description":"Message to sign"},"blockchains":{"type":"array","description":"List of blockchains","items":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]}}},"required":["message","blockchains"]},"ChallengeDto":{"type":"object","properties":{"challenge":{"type":"string","description":"Challenge to sign"}},"required":["challenge"]},"AuthLnurlCreateLoginResponseDto":{"type":"object","properties":{"k1":{"type":"string"},"lnurl":{"type":"string"}},"required":["k1","lnurl"]},"AuthLnurlSignInResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["OK","ERROR"]},"reason":{"type":"string"}},"required":["status"]},"AuthLnurlStatusResponseDto":{"type":"object","properties":{"isComplete":{"type":"boolean"},"accessToken":{"type":"string"}},"required":["isComplete"]},"KycDataDto":{"type":"object","properties":{"id":{"type":"string","deprecated":true},"kycStatus":{"type":"string","enum":["NA","Light","Full","Rejected"],"deprecated":true},"kycHash":{"type":"string","deprecated":true}},"required":["id","kycStatus","kycHash"]},"KycFileDto":{"type":"object","properties":{"type":{"type":"string","enum":["Identification","Chatbot","IncorporationCertificate"],"deprecated":true},"contentType":{"type":"string","deprecated":true}},"required":["type","contentType"]},"Buffer":{"type":"object","properties":{}},"KycDataTransferDto":{"type":"object","properties":{"walletName":{"type":"string","deprecated":true}},"required":["walletName"]},"KycInfo":{"type":"object","properties":{"kycStatus":{"type":"string","enum":["NA","Check","Completed","Rejected","Terminated"],"deprecated":true},"kycState":{"type":"string","enum":["NA","Failed","Reminded","Review"],"deprecated":true},"kycHash":{"type":"string","deprecated":true},"kycDataComplete":{"type":"boolean","deprecated":true},"accountType":{"type":"string","enum":["Personal","Organization","SoleProprietorship"],"deprecated":true},"tradingLimit":{"deprecated":true,"allOf":[{"$ref":"#/components/schemas/TradingLimit"}]},"sessionUrl":{"type":"string","deprecated":true},"setupUrl":{"type":"string","deprecated":true},"blankedPhone":{"type":"string","deprecated":true},"blankedMail":{"type":"string","deprecated":true},"language":{"deprecated":true,"allOf":[{"$ref":"#/components/schemas/LanguageDto"}]}},"required":["kycStatus","kycState","kycHash","kycDataComplete","accountType","tradingLimit","language"]},"Setup2faDto":{"type":"object","properties":{"type":{"type":"string","enum":["App","Mail"]},"secret":{"type":"string"},"uri":{"type":"string"}},"required":["type"]},"MergedDto":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"statusCode":{"type":"number"},"switchToCode":{"type":"string"}},"required":["error","message","statusCode","switchToCode"]},"Verify2faDto":{"type":"object","properties":{"token":{"type":"string","description":"2FA token"}},"required":["token"]},"KycStepDto":{"type":"object","properties":{"name":{"type":"string","enum":["ContactData","PersonalData","NationalityData","Recommendation","OwnerDirectory","CommercialRegister","LegalEntity","SoleProprietorshipConfirmation","SignatoryPower","Authority","BeneficialOwner","OperationalActivity","Ident","FinancialData","AdditionalDocuments","ResidencePermit","Statutes","DfxApproval","PaymentAgreement","RecallAgreement","PhoneChange","AddressChange","NameChange","RealUnitRegistration"]},"type":{"type":"string","enum":["Auto","Video","Manual","SumsubAuto","SumsubVideo"]},"status":{"type":"string","enum":["NotStarted","InProgress","InReview","Failed","Completed","Outdated","DataRequested","OnHold"]},"reason":{"type":"string","enum":["AccountExists","AccountMergeRequested"]},"sequenceNumber":{"type":"number"},"isCurrent":{"type":"boolean"}},"required":["name","status","sequenceNumber","isCurrent"]},"KycLevelDto":{"type":"object","properties":{"kycLevel":{"type":"number","enum":[0,10,20,30,40,50,-10,-20]},"tradingLimit":{"$ref":"#/components/schemas/TradingLimit"},"kycClients":{"description":"Connected KYC clients","type":"array","items":{"type":"array"}},"language":{"$ref":"#/components/schemas/LanguageDto"},"kycSteps":{"type":"array","items":{"$ref":"#/components/schemas/KycStepDto"}}},"required":["kycLevel","tradingLimit","kycClients","language","kycSteps"]},"KycAdditionalInfoBaseDto":{"type":"object","properties":{}},"KycSessionInfoDto":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string","enum":["Browser","API","Token","None"]},"additionalInfo":{"$ref":"#/components/schemas/KycAdditionalInfoBaseDto"}},"required":["url","type"]},"KycStepSessionDto":{"type":"object","properties":{"name":{"type":"string","enum":["ContactData","PersonalData","NationalityData","Recommendation","OwnerDirectory","CommercialRegister","LegalEntity","SoleProprietorshipConfirmation","SignatoryPower","Authority","BeneficialOwner","OperationalActivity","Ident","FinancialData","AdditionalDocuments","ResidencePermit","Statutes","DfxApproval","PaymentAgreement","RecallAgreement","PhoneChange","AddressChange","NameChange","RealUnitRegistration"]},"type":{"type":"string","enum":["Auto","Video","Manual","SumsubAuto","SumsubVideo"]},"status":{"type":"string","enum":["NotStarted","InProgress","InReview","Failed","Completed","Outdated","DataRequested","OnHold"]},"reason":{"type":"string","enum":["AccountExists","AccountMergeRequested"]},"sequenceNumber":{"type":"number"},"session":{"$ref":"#/components/schemas/KycSessionInfoDto"}},"required":["name","status","sequenceNumber","session"]},"KycSessionDto":{"type":"object","properties":{"kycLevel":{"type":"number","enum":[0,10,20,30,40,50,-10,-20]},"tradingLimit":{"$ref":"#/components/schemas/TradingLimit"},"kycClients":{"description":"Connected KYC clients","type":"array","items":{"type":"array"}},"language":{"$ref":"#/components/schemas/LanguageDto"},"kycSteps":{"type":"array","items":{"$ref":"#/components/schemas/KycStepDto"}},"currentStep":{"$ref":"#/components/schemas/KycStepSessionDto"}},"required":["kycLevel","tradingLimit","kycClients","language","kycSteps"]},"KycStepBase":{"type":"object","properties":{"name":{"type":"string","enum":["ContactData","PersonalData","NationalityData","Recommendation","OwnerDirectory","CommercialRegister","LegalEntity","SoleProprietorshipConfirmation","SignatoryPower","Authority","BeneficialOwner","OperationalActivity","Ident","FinancialData","AdditionalDocuments","ResidencePermit","Statutes","DfxApproval","PaymentAgreement","RecallAgreement","PhoneChange","AddressChange","NameChange","RealUnitRegistration"]},"type":{"type":"string","enum":["Auto","Video","Manual","SumsubAuto","SumsubVideo"]},"status":{"type":"string","enum":["NotStarted","InProgress","InReview","Failed","Completed","Outdated","DataRequested","OnHold"]},"reason":{"type":"string","enum":["AccountExists","AccountMergeRequested"]},"sequenceNumber":{"type":"number"}},"required":["name","status","sequenceNumber"]},"KycContactData":{"type":"object","properties":{"mail":{"type":"string"}},"required":["mail"]},"KycPersonalData":{"type":"object","properties":{"accountType":{"type":"string","enum":["Personal","Organization","SoleProprietorship"]},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"address":{"$ref":"#/components/schemas/KycAddress"},"organizationName":{"type":"string"},"organizationAddress":{"$ref":"#/components/schemas/KycAddress"}},"required":["accountType","firstName","lastName","phone","address"]},"KycFileData":{"type":"object","properties":{"file":{"type":"string","description":"Base64 encoded file"},"fileName":{"type":"string","description":"Name of the file"}},"required":["file","fileName"]},"KycNationalityData":{"type":"object","properties":{"nationality":{"$ref":"#/components/schemas/EntityDto"}},"required":["nationality"]},"KycRecommendationData":{"type":"object","properties":{"key":{"type":"string","description":"Recommendation data: ref-code or recommendation-code or mail of existing user"}},"required":["key"]},"KycLegalEntityData":{"type":"object","properties":{"file":{"type":"string","description":"Base64 encoded commercial register file"},"fileName":{"type":"string","description":"Name of the commercial register file"},"legalEntity":{"type":"string","enum":["AG","GmbH","UG","GbR","Association","Foundation","LifeInsurance","Trust","Other"]}},"required":["file","fileName","legalEntity"]},"KycChangeAddressData":{"type":"object","properties":{"file":{"type":"string","description":"Base64 encoded address proof file"},"fileName":{"type":"string","description":"Name of the address proof file"},"address":{"$ref":"#/components/schemas/KycAddress"}},"required":["file","fileName","address"]},"KycChangeNameData":{"type":"object","properties":{"file":{"type":"string","description":"Base64 encoded name proof file"},"fileName":{"type":"string","description":"Name of the name proof file"},"firstName":{"type":"string","description":"New first name"},"lastName":{"type":"string","description":"New last name"}},"required":["file","fileName","firstName","lastName"]},"KycChangePhoneData":{"type":"object","properties":{"phone":{"type":"string","description":"New phone number"}},"required":["phone"]},"RecallAgreementData":{"type":"object","properties":{"accepted":{"type":"boolean","description":"Is the recall condition accepted?"}},"required":["accepted"]},"KycSignatoryPowerData":{"type":"object","properties":{"signatoryPower":{"type":"string","enum":["Single","Double","None"]}},"required":["signatoryPower"]},"ContactPersonData":{"type":"object","properties":{"street":{"type":"string"},"houseNumber":{"type":"string"},"city":{"type":"string"},"zip":{"type":"string"},"country":{"$ref":"#/components/schemas/EntityDto"},"firstName":{"type":"string"},"lastName":{"type":"string"}},"required":["street","city","zip","country","firstName","lastName"]},"KycBeneficialData":{"type":"object","properties":{"hasBeneficialOwners":{"type":"boolean","description":"Are there beneficial owners with 25% or more"},"isAccountHolderInvolved":{"type":"boolean","description":"Is the account holder a beneficial owner?"},"managingDirector":{"$ref":"#/components/schemas/ContactPersonData"},"beneficialOwners":{"type":"array","items":{"$ref":"#/components/schemas/ContactPersonData"}}},"required":["hasBeneficialOwners","isAccountHolderInvolved"]},"KycOperationalData":{"type":"object","properties":{"isOperational":{"type":"boolean","description":"Is the organization operationally active?"},"websiteUrl":{"type":"string","description":"Organization Website URL"}},"required":["isOperational"]},"KycFinancialResponse":{"type":"object","properties":{"key":{"type":"string","description":"Question key"},"value":{"type":"string","description":"Response value (option key(s) or plain text)"}},"required":["key","value"]},"KycFinancialOption":{"type":"object","properties":{"key":{"type":"string","description":"Option key"},"text":{"type":"string","description":"Option text (translated)"}},"required":["key","text"]},"KycFinancialQuestion":{"type":"object","properties":{"key":{"type":"string","description":"Question key"},"type":{"type":"string","description":"Question type","enum":["Confirmation","SingleChoice","MultipleChoice","Text"]},"title":{"type":"string","description":"Question title (translated)"},"description":{"type":"string","description":"Question description (translated)"},"options":{"description":"Response options","type":"array","items":{"$ref":"#/components/schemas/KycFinancialOption"}}},"required":["key","type","title","description"]},"KycFinancialOutData":{"type":"object","properties":{"responses":{"type":"array","items":{"$ref":"#/components/schemas/KycFinancialResponse"}},"questions":{"type":"array","items":{"$ref":"#/components/schemas/KycFinancialQuestion"}}},"required":["responses","questions"]},"KycFinancialInData":{"type":"object","properties":{"responses":{"type":"array","items":{"$ref":"#/components/schemas/KycFinancialResponse"}}},"required":["responses"]},"PaymentDataDto":{"type":"object","properties":{"name":{"type":"string"},"website":{"type":"string"},"registrationNumber":{"type":"string"},"storeType":{"type":"string","enum":["Online","Physical","OnlineAndPhysical"]},"merchantCategory":{"type":"string","enum":["AccommodationAndFoodServices","AdministrativeSupportWasteManagement","AgricultureForestryFishingHunting","ArtsEntertainmentRecreation","Construction","Broker","CryptoATM","CryptoMining","ProprietaryCryptoTraders","AlgorithmCryptoTraders","P2PMerchants","OtherDigitalAssetServicesProvider","Bank","NonBankFinancialInstitution","MoneyServicesBusinessPaymentServiceProviders","FamilyOffice","PersonalInvestmentCompanies","SuperannuationFund","SovereignWealthFund","InvestmentFunds","EducationalServices","Betting","HealthCareSocialAssistance","Information","GeneralWholesalers","ManagementOfCompaniesEnterprises","PreciousStonesPreciousMetalsDealers","CrudeOilNaturalGasDealers","GeneralManufacturing","Marijuana","MiningExtraction","PawnShops","ProfessionalServices","ScientificTechnicalServices","PublicAdministration","RealEstateRentalLeasing","RetailStoresElectronics","RetailStoresFB","RetailStoresJewelry","RetailTradeOthers","SaleOfDrugsPharmaceuticalProducts","Tobacco","TransportationWarehousing","Utilities","OtherCryptoWeb3Services","Other"]},"goodsType":{"type":"string","enum":["Tangible","Virtual"]},"goodsCategory":{"type":"string","enum":["ElectronicsComputers","BooksMusicMovies","HomeGardenTools","ClothesShoesBags","ToysKidsBaby","AutomotiveAccessories","GameRecharge","EntertainmentCollection","Jewelry","DomesticService","BeautyCare","Pharmacy","SportsOutdoors","FoodGroceryHealthProducts","PetSupplies","IndustryScience","Others"]},"purpose":{"type":"string"},"contractAccepted":{"type":"boolean"}},"required":["name","registrationNumber","storeType","merchantCategory","goodsType","goodsCategory","purpose","contractAccepted"]},"KycManualIdentData":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"birthName":{"type":"string"},"birthday":{"format":"date-time","type":"string"},"nationality":{"$ref":"#/components/schemas/EntityDto"},"birthplace":{"type":"string"},"gender":{"type":"string","enum":["Male","Female"]},"documentType":{"type":"string","enum":["IDCARD","PASSPORT","DRIVERS_LICENSE","DRIVERS_TRANSLATION","RESIDENCE_PERMIT"]},"documentNumber":{"type":"string"},"document":{"$ref":"#/components/schemas/KycFileData"}},"required":["firstName","lastName","birthday","nationality","documentType","documentNumber","document"]},"KycClientDataDto":{"type":"object","properties":{"mail":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"street":{"type":"string"},"houseNumber":{"type":"string"},"city":{"type":"string"},"zip":{"type":"string"},"country":{"$ref":"#/components/schemas/CountryDto"},"nationality":{"$ref":"#/components/schemas/CountryDto"},"birthday":{"format":"date-time","type":"string"},"phone":{"type":"string"},"kycStatus":{"type":"string","enum":["NA","Light","Full","Rejected"],"deprecated":true},"kycLevel":{"type":"number","enum":[0,10,20,30,40,50,-10,-20]},"kycHash":{"type":"string"},"tradingLimit":{"$ref":"#/components/schemas/TradingLimit"},"id":{"type":"string"}},"required":["kycStatus","kycLevel","kycHash","tradingLimit","id"]},"PaymentWebhookData":{"type":"object","properties":{"id":{"type":"number"},"uid":{"type":"string","description":"UID of the transaction"},"orderUid":{"type":"string","description":"UID of the order of the transaction"},"type":{"type":"string","enum":["Buy","Sell","Swap","Referral"]},"state":{"type":"string","enum":["Created","Processing","LiquidityPending","CheckPending","KycRequired","LimitExceeded","FeeTooHigh","PriceUndeterminable","PayoutInProgress","Completed","Failed","ReturnPending","Returned","Unassigned","WaitingForPayment"]},"inputAmount":{"type":"number"},"inputAsset":{"type":"string"},"inputAssetId":{"type":"number","description":"Fiat ID for buy transactions, asset ID otherwise"},"inputChainId":{"type":"string","description":"Contract address of the input asset (for tokens)"},"inputBlockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]},"inputEvmChainId":{"type":"number","description":"EVM chain ID of the input asset (e.g. 1 for Ethereum)"},"inputPaymentMethod":{"type":"string","enum":["Bank","Instant","Card","Crypto"]},"inputTxId":{"type":"string"},"inputTxUrl":{"type":"string"},"depositAddress":{"type":"string","description":"Deposit address for crypto input transactions"},"chargebackTarget":{"type":"string","description":"Chargeback address or chargeback IBAN"},"chargebackAmount":{"type":"number","description":"Chargeback amount in chargeback asset"},"chargebackAsset":{"type":"string"},"chargebackAssetId":{"type":"number","description":"Fiat ID for sell transaction refunds, asset ID otherwise"},"chargebackTxId":{"type":"string"},"chargebackTxUrl":{"type":"string"},"chargebackDate":{"format":"date-time","type":"string"},"date":{"format":"date-time","type":"string"},"reason":{"type":"string","enum":["Unknown","MonthlyLimitExceeded","AnnualLimitExceeded","AccountHolderMismatch","KycRejected","FraudSuspicion","SanctionSuspicion","MinDepositNotReached","AssetNotAvailable","AssetNotAvailableWithChosenBank","StakingDiscontinued","BankNotAllowed","PaymentAccountNotAllowed","CountryNotAllowed","InstantPayment","FeeTooHigh","ReceiverRejected","ChfAbroadNotAllowed","AssetKycNeeded","CardNameMismatch","UserDeleted","VideoIdentNeeded","MissingLiquidity","KycDataNeeded","BankTxNeeded","MergeIncomplete","PhoneVerificationNeeded","BankReleasePending","InputNotConfirmed"]},"exchangeRate":{"type":"number","description":"Exchange rate in input/output"},"rate":{"type":"number","description":"Final rate (incl. fees) in input/output"},"outputAmount":{"type":"number"},"outputAsset":{"type":"string"},"outputAssetId":{"type":"number","description":"Fiat ID for sell transactions, asset ID otherwise"},"outputChainId":{"type":"string","description":"Contract address of the output asset (for tokens)"},"outputBlockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]},"outputEvmChainId":{"type":"number","description":"EVM chain ID of the output asset (e.g. 1 for Ethereum)"},"outputPaymentMethod":{"type":"string","enum":["Bank","Instant","Card","Crypto"]},"outputTxId":{"type":"string"},"outputTxUrl":{"type":"string"},"outputDate":{"format":"date-time","type":"string"},"priceSteps":{"type":"array","items":{"type":"string"}},"feeAmount":{"type":"number","description":"Fee amount in input asset","deprecated":true},"feeAsset":{"type":"string","deprecated":true},"fees":{"description":"Fee infos in input asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"externalTransactionId":{"type":"string"},"networkStartTx":{"$ref":"#/components/schemas/NetworkStartTxDto"},"userCountry":{"type":"string","description":"User country code (ISO 3166-1 alpha-2)"},"sourceAccount":{"type":"string"},"targetAccount":{"type":"string"},"dfxReference":{"type":"number"}},"required":["uid","type","state","date","dfxReference"]},"KycReportDto":{"type":"object","properties":{"type":{"type":"string","enum":["Identification"]},"contentType":{"type":"string"}},"required":["type","contentType"]},"BankDto":{"type":"object","properties":{"name":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"currency":{"type":"string"}},"required":["name","iban","bic","currency"]},"CreateBankAccountDto":{"type":"object","properties":{"label":{"type":"string"},"preferredCurrency":{"$ref":"#/components/schemas/EntityDto"},"active":{"type":"boolean"},"default":{"type":"boolean"},"iban":{"type":"string"}},"required":["iban"]},"BankAccountDto":{"type":"object","properties":{"id":{"type":"number"},"iban":{"type":"string"},"preferredCurrency":{"$ref":"#/components/schemas/FiatDto"},"label":{"type":"string"},"default":{"type":"boolean"},"active":{"type":"boolean"}},"required":["id","iban","default","active"]},"UpdateBankAccountDto":{"type":"object","properties":{"label":{"type":"string"},"preferredCurrency":{"$ref":"#/components/schemas/EntityDto"},"active":{"type":"boolean"},"default":{"type":"boolean"}}},"TransactionIssueDto":{"type":"object","properties":{"id":{"type":"number"},"uid":{"type":"string"},"orderUid":{"type":"string"},"senderIban":{"type":"string"},"receiverIban":{"type":"string"},"date":{"format":"date-time","type":"string"}}},"LimitRequestDto":{"type":"object","properties":{"limit":{"type":"number"},"investmentDate":{"type":"string","enum":["Now","Future"]},"fundOrigin":{"type":"string","enum":["Savings","BusinessProfits","StockGains","CryptoGains","Inheritance","Other"]},"fundOriginText":{"type":"string"}},"required":["limit","investmentDate","fundOrigin"]},"CreateSupportIssueDto":{"type":"object","properties":{"message":{"type":"string"},"file":{"type":"string","description":"Base64 encoded file"},"fileName":{"type":"string","description":"Name of the file"},"type":{"type":"string","enum":["GenericIssue","TransactionIssue","VerificationCall","KycIssue","LimitRequest","PartnershipRequest","NotificationOfChanges","BugReport"]},"reason":{"type":"string","enum":["Other","DataRequest","FundsNotReceived","TransactionMissing","RejectCall","RepeatCall","NameChanged","AddressChanged","CivilStatusChanged"]},"name":{"type":"string"},"transaction":{"$ref":"#/components/schemas/TransactionIssueDto"},"limitRequest":{"$ref":"#/components/schemas/LimitRequestDto"}},"required":["type","reason","name"]},"CreateSupportMessageDto":{"type":"object","properties":{"message":{"type":"string"},"file":{"type":"string","description":"Base64 encoded file"},"fileName":{"type":"string","description":"Name of the file"}}},"CustodyFiatValueDto":{"type":"object","properties":{"chf":{"type":"number","description":"Value in Swiss Franc"},"eur":{"type":"number","description":"Value in Euro"},"usd":{"type":"number","description":"Value in US Dollar"}},"required":["chf","eur","usd"]},"CustodyAssetDto":{"type":"object","properties":{"name":{"type":"string","description":"Asset name"},"description":{"type":"string","description":"Asset description"}},"required":["name","description"]},"CustodyAssetBalanceDto":{"type":"object","properties":{"asset":{"description":"Asset","allOf":[{"$ref":"#/components/schemas/CustodyAssetDto"}]},"balance":{"type":"number","description":"Balance in asset"},"value":{"description":"Total value in fiat values","allOf":[{"$ref":"#/components/schemas/CustodyFiatValueDto"}]}},"required":["asset","balance","value"]},"CustodyBalanceDto":{"type":"object","properties":{"totalValue":{"description":"Total balance in fiat values","allOf":[{"$ref":"#/components/schemas/CustodyFiatValueDto"}]},"balances":{"description":"Asset balances","type":"array","items":{"$ref":"#/components/schemas/CustodyAssetBalanceDto"}}},"required":["totalValue","balances"]},"CustodyHistoryEntryDto":{"type":"object","properties":{"date":{"format":"date-time","type":"string","description":"Entry timestamp"},"value":{"description":"Fiat values","allOf":[{"$ref":"#/components/schemas/CustodyFiatValueDto"}]}},"required":["date","value"]},"CustodyHistoryDto":{"type":"object","properties":{"totalValue":{"description":"Total value history","type":"array","items":{"$ref":"#/components/schemas/CustodyHistoryEntryDto"}}},"required":["totalValue"]},"CustodySignupDto":{"type":"object","properties":{"addressType":{"type":"string","enum":["EVM"]},"wallet":{"type":"string"},"usedRef":{"type":"string"},"specialCode":{"type":"string","description":"Special code"},"moderator":{"type":"string","description":"Moderator"}},"required":["addressType"]},"CustodyAuthDto":{"type":"object","properties":{"accessToken":{"type":"string","description":"Access token of DFX API"}},"required":["accessToken"]},"GetCustodyInfoDto":{"type":"object","properties":{"type":{"type":"string"},"sourceAsset":{"type":"string","description":"Source asset name, Asset or Fiat"},"targetAsset":{"type":"string","description":"Target asset name, Asset or Fiat"},"sourceAmount":{"type":"number","description":"Amount in source asset"},"targetAmount":{"type":"number","description":"Amount in target asset"},"targetAddress":{"type":"string","description":"Target address"},"targetBlockchain":{"type":"string","description":"Target blockchain"},"targetIban":{"type":"string"}},"required":["type","sourceAsset","targetAsset"]},"CustodyOrderBuyResponseDto":{"type":"object","properties":{"remittanceInfo":{"type":"string"},"name":{"type":"string"},"bank":{"type":"string"},"street":{"type":"string"},"number":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"sepaInstant":{"type":"boolean"}}},"CustodyOrderResponseDto":{"type":"object","properties":{"id":{"type":"number","description":"Transaction order ID"},"uid":{"type":"string","description":"UID of the transaction order"},"timestamp":{"format":"date-time","type":"string","description":"Price timestamp"},"minVolume":{"type":"number","description":"Minimum volume in source asset"},"maxVolume":{"type":"number","description":"Maximum Volume in source asset"},"amount":{"type":"number","description":"Amount in source asset"},"sourceAsset":{"type":"string","description":"Source asset name, Asset or Fiat"},"targetAsset":{"type":"string","description":"Target asset name, Asset or Fiat"},"fees":{"description":"Fee infos in source asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"feesTarget":{"description":"Fee infos in target asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolumeTarget":{"type":"number","description":"Minimum volume in target asset"},"maxVolumeTarget":{"type":"number","description":"Maximum volume in target asset"},"exchangeRate":{"type":"number","description":"Exchange rate in source/target"},"rate":{"type":"number","description":"Final rate (incl. fees) in source/target"},"priceSteps":{"type":"array","items":{"$ref":"#/components/schemas/PriceStep"}},"estimatedAmount":{"type":"number","description":"Estimated amount in target asset"},"paymentRequest":{"type":"string","description":"Payment request (e.g. Lightning invoice)"},"isValid":{"type":"boolean"},"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error message in case isValid is false"},"beneficiary":{"description":"Bank transaction beneficiary","allOf":[{"$ref":"#/components/schemas/BeneficiaryDto"}]},"buyInfos":{"description":"Infos for Buy Custody Orders","allOf":[{"$ref":"#/components/schemas/CustodyOrderBuyResponseDto"}]}},"required":["id","uid","timestamp","minVolume","maxVolume","amount","sourceAsset","targetAsset","fees","feesTarget","minVolumeTarget","maxVolumeTarget","exchangeRate","rate","priceSteps","estimatedAmount","isValid"]},"CustodyOrderDto":{"type":"object","properties":{"type":{"type":"string","description":"Type of your requested order"},"orderId":{"type":"number","description":"ID of your order"},"status":{"type":"string","description":"Type of your requested order"},"paymentInfo":{"description":"Payment info of your requested order","allOf":[{"$ref":"#/components/schemas/CustodyOrderResponseDto"}]}},"required":["type","orderId","status","paymentInfo"]},"CustodyUserDto":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"]},"CustodyAccountDto":{"type":"object","properties":{"id":{"type":"number","description":"ID of the custody account (null for legacy)"},"title":{"type":"string","description":"Title of the custody account"},"description":{"type":"string","description":"Description of the custody account"},"isLegacy":{"type":"boolean","description":"Whether this is a legacy account (aggregated custody users)"},"accessLevel":{"type":"string","enum":["Read","Write"],"description":"Access level for current user"},"owner":{"$ref":"#/components/schemas/CustodyUserDto"}},"required":["title","isLegacy","accessLevel"]},"CreateCustodyAccountDto":{"type":"object","properties":{"title":{"type":"string","description":"Title of the custody account"},"description":{"type":"string","description":"Description of the custody account"}},"required":["title"]},"UpdateCustodyAccountDto":{"type":"object","properties":{"title":{"type":"string","description":"Title of the custody account"},"description":{"type":"string","description":"Description of the custody account"}}},"CustodyAccountAccessDto":{"type":"object","properties":{"id":{"type":"number"},"user":{"$ref":"#/components/schemas/CustodyUserDto"},"accessLevel":{"type":"string","enum":["Read","Write"]}},"required":["id","user","accessLevel"]},"StreamableFile":{"type":"object","properties":{}},"TransactionDetailDto":{"type":"object","properties":{"id":{"type":"number"},"uid":{"type":"string","description":"UID of the transaction"},"orderUid":{"type":"string","description":"UID of the order of the transaction"},"type":{"type":"string","enum":["Buy","Sell","Swap","Referral"]},"state":{"type":"string","enum":["Created","Processing","LiquidityPending","CheckPending","KycRequired","LimitExceeded","FeeTooHigh","PriceUndeterminable","PayoutInProgress","Completed","Failed","ReturnPending","Returned","Unassigned","WaitingForPayment"]},"inputAmount":{"type":"number"},"inputAsset":{"type":"string"},"inputAssetId":{"type":"number","description":"Fiat ID for buy transactions, asset ID otherwise"},"inputChainId":{"type":"string","description":"Contract address of the input asset (for tokens)"},"inputBlockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]},"inputEvmChainId":{"type":"number","description":"EVM chain ID of the input asset (e.g. 1 for Ethereum)"},"inputPaymentMethod":{"type":"string","enum":["Bank","Instant","Card","Crypto"]},"inputTxId":{"type":"string"},"inputTxUrl":{"type":"string"},"depositAddress":{"type":"string","description":"Deposit address for crypto input transactions"},"chargebackTarget":{"type":"string","description":"Chargeback address or chargeback IBAN"},"chargebackAmount":{"type":"number","description":"Chargeback amount in chargeback asset"},"chargebackAsset":{"type":"string"},"chargebackAssetId":{"type":"number","description":"Fiat ID for sell transaction refunds, asset ID otherwise"},"chargebackTxId":{"type":"string"},"chargebackTxUrl":{"type":"string"},"chargebackDate":{"format":"date-time","type":"string"},"date":{"format":"date-time","type":"string"},"reason":{"type":"string","enum":["Unknown","MonthlyLimitExceeded","AnnualLimitExceeded","AccountHolderMismatch","KycRejected","FraudSuspicion","SanctionSuspicion","MinDepositNotReached","AssetNotAvailable","AssetNotAvailableWithChosenBank","StakingDiscontinued","BankNotAllowed","PaymentAccountNotAllowed","CountryNotAllowed","InstantPayment","FeeTooHigh","ReceiverRejected","ChfAbroadNotAllowed","AssetKycNeeded","CardNameMismatch","UserDeleted","VideoIdentNeeded","MissingLiquidity","KycDataNeeded","BankTxNeeded","MergeIncomplete","PhoneVerificationNeeded","BankReleasePending","InputNotConfirmed"]},"exchangeRate":{"type":"number","description":"Exchange rate in input/output"},"rate":{"type":"number","description":"Final rate (incl. fees) in input/output"},"outputAmount":{"type":"number"},"outputAsset":{"type":"string"},"outputAssetId":{"type":"number","description":"Fiat ID for sell transactions, asset ID otherwise"},"outputChainId":{"type":"string","description":"Contract address of the output asset (for tokens)"},"outputBlockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]},"outputEvmChainId":{"type":"number","description":"EVM chain ID of the output asset (e.g. 1 for Ethereum)"},"outputPaymentMethod":{"type":"string","enum":["Bank","Instant","Card","Crypto"]},"outputTxId":{"type":"string"},"outputTxUrl":{"type":"string"},"outputDate":{"format":"date-time","type":"string"},"priceSteps":{"type":"array","items":{"type":"string"}},"feeAmount":{"type":"number","description":"Fee amount in input asset","deprecated":true},"feeAsset":{"type":"string","deprecated":true},"fees":{"description":"Fee infos in input asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"externalTransactionId":{"type":"string"},"networkStartTx":{"$ref":"#/components/schemas/NetworkStartTxDto"},"userCountry":{"type":"string","description":"User country code (ISO 3166-1 alpha-2)"},"sourceAccount":{"type":"string"},"targetAccount":{"type":"string"}},"required":["uid","type","state","date"]},"RefundFeeDto":{"type":"object","properties":{"network":{"type":"number","description":"Network fee in refundAsset"},"bank":{"type":"number","description":"Bank fee in refundAsset"},"dfx":{"type":"number","description":"DFX fee in refundAsset"}},"required":["network","bank","dfx"]},"RefundBankDetailsDto":{"type":"object","properties":{"name":{"type":"string","description":"Account holder name"},"address":{"type":"string","description":"Street address"},"houseNumber":{"type":"string","description":"House number"},"zip":{"type":"string","description":"Postal code"},"city":{"type":"string","description":"City"},"country":{"type":"string","description":"Country code"},"iban":{"type":"string","description":"IBAN"},"bic":{"type":"string","description":"BIC/SWIFT code"}}},"RefundDataDto":{"type":"object","properties":{"expiryDate":{"format":"date-time","type":"string","description":"Expiry date of the refund data"},"fee":{"description":"Refund fees","allOf":[{"$ref":"#/components/schemas/RefundFeeDto"}]},"inputAmount":{"type":"number"},"inputAsset":{"oneOf":[{"$ref":"#/components/schemas/AssetDto"},{"$ref":"#/components/schemas/FiatDto"}]},"refundAmount":{"type":"number"},"refundAsset":{"oneOf":[{"$ref":"#/components/schemas/AssetDto"},{"$ref":"#/components/schemas/FiatDto"}]},"refundTarget":{"type":"string","description":"IBAN for bank tx or blockchain address for crypto tx"},"bankDetails":{"description":"Bank details","allOf":[{"$ref":"#/components/schemas/RefundBankDetailsDto"}]}},"required":["expiryDate","fee","inputAmount","inputAsset","refundAmount","refundAsset"]},"CreditorDataDto":{"type":"object","properties":{"name":{"type":"string","description":"Creditor name for bank transfer"},"address":{"type":"string","description":"Creditor street address"},"houseNumber":{"type":"string","description":"Creditor house number"},"zip":{"type":"string","description":"Creditor ZIP code"},"city":{"type":"string","description":"Creditor city"},"country":{"type":"string","description":"Creditor country code (e.g. CH, DE)"}},"required":["name","address","zip","city","country"]},"TransactionRefundDto":{"type":"object","properties":{"refundTarget":{"type":"string","description":"Refund address or refund IBAN"},"creditorData":{"description":"Creditor data (required for bank refunds)","allOf":[{"$ref":"#/components/schemas/CreditorDataDto"}]}}},"PaymentLinkRecipientAddressDto":{"type":"object","properties":{"street":{"type":"string"},"houseNumber":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}}},"PaymentLinkRecipientDto":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/components/schemas/PaymentLinkRecipientAddressDto"},"phone":{"type":"string"},"mail":{"type":"string"},"website":{"type":"string"},"registrationNumber":{"type":"string"},"storeType":{"type":"string","enum":["Online","Physical","OnlineAndPhysical"]},"merchantCategory":{"type":"string","enum":["AccommodationAndFoodServices","AdministrativeSupportWasteManagement","AgricultureForestryFishingHunting","ArtsEntertainmentRecreation","Construction","Broker","CryptoATM","CryptoMining","ProprietaryCryptoTraders","AlgorithmCryptoTraders","P2PMerchants","OtherDigitalAssetServicesProvider","Bank","NonBankFinancialInstitution","MoneyServicesBusinessPaymentServiceProviders","FamilyOffice","PersonalInvestmentCompanies","SuperannuationFund","SovereignWealthFund","InvestmentFunds","EducationalServices","Betting","HealthCareSocialAssistance","Information","GeneralWholesalers","ManagementOfCompaniesEnterprises","PreciousStonesPreciousMetalsDealers","CrudeOilNaturalGasDealers","GeneralManufacturing","Marijuana","MiningExtraction","PawnShops","ProfessionalServices","ScientificTechnicalServices","PublicAdministration","RealEstateRentalLeasing","RetailStoresElectronics","RetailStoresFB","RetailStoresJewelry","RetailTradeOthers","SaleOfDrugsPharmaceuticalProducts","Tobacco","TransportationWarehousing","Utilities","OtherCryptoWeb3Services","Other"]},"goodsType":{"type":"string","enum":["Tangible","Virtual"]},"goodsCategory":{"type":"string","enum":["ElectronicsComputers","BooksMusicMovies","HomeGardenTools","ClothesShoesBags","ToysKidsBaby","AutomotiveAccessories","GameRecharge","EntertainmentCollection","Jewelry","DomesticService","BeautyCare","Pharmacy","SportsOutdoors","FoodGroceryHealthProducts","PetSupplies","IndustryScience","Others"]}}},"PaymentLinkConfigDto":{"type":"object","properties":{"standards":{"type":"array","items":{"type":"string","enum":["OpenCryptoPay","LightningBolt11","PayToAddress"]}},"blockchains":{"type":"array","items":{"type":"string","enum":["Arbitrum","Base","Ethereum","Sepolia","Lightning","Monero","Optimism","Polygon","Gnosis","BinanceSmartChain","Bitcoin","Firo","Zano","BinancePay","KucoinPay","Solana","Tron","Cardano","InternetComputer"]}},"minCompletionStatus":{"type":"string","enum":["Actual","Cancelled","Expired","TxReceived","TxCheckbot","TxMempool","TxBlockchain","TxCompleted","TxFailed"]},"displayQr":{"type":"boolean"},"recipient":{"$ref":"#/components/schemas/PaymentLinkRecipientDto"},"scanTimeout":{"type":"number"},"paymentTimeout":{"type":"number"},"cancellable":{"type":"boolean"},"fee":{"type":"number"}}},"PaymentLinkPaymentDto":{"type":"object","properties":{"id":{"type":"number"},"externalId":{"type":"string"},"note":{"type":"string"},"status":{"type":"string","enum":["Pending","Completed","Cancelled","Expired"]},"amount":{"type":"number"},"currency":{"type":"string"},"mode":{"type":"string","enum":["Single","Multiple"]},"date":{"format":"date-time","type":"string"},"expiryDate":{"format":"date-time","type":"string"},"txCount":{"type":"number"},"isConfirmed":{"type":"boolean"},"url":{"type":"string"},"lnurl":{"type":"string"},"frontendUrl":{"type":"string"}},"required":["id","status","amount","currency","mode","date","expiryDate","txCount","isConfirmed","url","lnurl","frontendUrl"]},"PaymentLinkDto":{"type":"object","properties":{"id":{"type":"number"},"routeId":{"type":"number"},"externalId":{"type":"string"},"label":{"type":"string"},"webhookUrl":{"type":"string"},"status":{"type":"string","enum":["Active","Inactive","Unassigned"]},"url":{"type":"string"},"lnurl":{"type":"string"},"frontendUrl":{"type":"string"},"recipient":{"$ref":"#/components/schemas/PaymentLinkRecipientDto"},"config":{"$ref":"#/components/schemas/PaymentLinkConfigDto"},"mode":{"type":"string","enum":["Single","Multiple","Public"]},"payment":{"$ref":"#/components/schemas/PaymentLinkPaymentDto"}},"required":["id","routeId","status","url","lnurl","frontendUrl","mode"]},"PaymentLinkHistoryDto":{"type":"object","properties":{"id":{"type":"number"},"routeId":{"type":"number"},"externalId":{"type":"string"},"label":{"type":"string"},"webhookUrl":{"type":"string"},"status":{"type":"string","enum":["Active","Inactive","Unassigned"]},"url":{"type":"string"},"lnurl":{"type":"string"},"frontendUrl":{"type":"string"},"recipient":{"$ref":"#/components/schemas/PaymentLinkRecipientDto"},"config":{"$ref":"#/components/schemas/PaymentLinkConfigDto"},"mode":{"type":"string","enum":["Single","Multiple","Public"]},"payments":{"type":"array","items":{"$ref":"#/components/schemas/PaymentLinkPaymentDto"}},"totalCompletedAmount":{"type":"number"}},"required":["id","routeId","status","url","lnurl","frontendUrl","mode","payments","totalCompletedAmount"]},"CreatePaymentLinkPaymentDto":{"type":"object","properties":{"mode":{"type":"string","enum":["Single","Multiple"]},"amount":{"type":"number"},"externalId":{"type":"string"},"note":{"type":"string"},"currency":{"type":"string"},"expiryDate":{"format":"date-time","type":"string"}},"required":["amount"]},"UpdatePaymentLinkConfigDto":{"type":"object","properties":{"standards":{"type":"array","items":{"type":"string","enum":["OpenCryptoPay","LightningBolt11","PayToAddress"]}},"blockchains":{"type":"array","items":{"type":"string","enum":["Arbitrum","Base","Ethereum","Sepolia","Lightning","Monero","Optimism","Polygon","Gnosis","BinanceSmartChain","Bitcoin","Firo","Zano","BinancePay","KucoinPay","Solana","Tron","Cardano","InternetComputer"]}},"minCompletionStatus":{"type":"string","enum":["Actual","Cancelled","Expired","TxReceived","TxCheckbot","TxMempool","TxBlockchain","TxCompleted","TxFailed"]},"displayQr":{"type":"boolean"},"recipient":{"$ref":"#/components/schemas/PaymentLinkRecipientDto"},"scanTimeout":{"type":"number"},"paymentTimeout":{"type":"number"},"cancellable":{"type":"boolean"}}},"CreatePaymentLinkDto":{"type":"object","properties":{"routeId":{"type":"number"},"route":{"type":"string"},"externalId":{"type":"string"},"label":{"type":"string"},"mode":{"type":"string","enum":["Single","Multiple","Public"],"description":"Possible values: Multiple(Default - can have multiple payments), Single(Only one payment can be created), Public(Allows multiple payments, payments can be created anonymously)"},"webhookUrl":{"type":"string"},"payment":{"$ref":"#/components/schemas/CreatePaymentLinkPaymentDto"},"config":{"$ref":"#/components/schemas/UpdatePaymentLinkConfigDto"}}},"UpdatePaymentLinkDto":{"type":"object","properties":{"status":{"type":"string","enum":["Active","Inactive","Unassigned"]},"mode":{"type":"string","enum":["Single","Multiple","Public"]},"label":{"type":"string"},"webhookUrl":{"type":"string"},"config":{"$ref":"#/components/schemas/UpdatePaymentLinkConfigDto"}}},"PaymentLinkPosDto":{"type":"object","properties":{"url":{"type":"string","description":"POS URL"}},"required":["url"]},"AssignPaymentLinkDto":{"type":"object","properties":{"publicName":{"type":"string"}},"required":["publicName"]},"UserPaymentLinkConfigDto":{"type":"object","properties":{"standards":{"type":"array","items":{"type":"string","enum":["OpenCryptoPay","LightningBolt11","PayToAddress"]}},"blockchains":{"type":"array","items":{"type":"string","enum":["Arbitrum","Base","Ethereum","Sepolia","Lightning","Monero","Optimism","Polygon","Gnosis","BinanceSmartChain","Bitcoin","Firo","Zano","BinancePay","KucoinPay","Solana","Tron","Cardano","InternetComputer"]}},"minCompletionStatus":{"type":"string","enum":["Actual","Cancelled","Expired","TxReceived","TxCheckbot","TxMempool","TxBlockchain","TxCompleted","TxFailed"]},"displayQr":{"type":"boolean"},"recipient":{"$ref":"#/components/schemas/PaymentLinkRecipientDto"},"scanTimeout":{"type":"number"},"paymentTimeout":{"type":"number"},"cancellable":{"type":"boolean"},"fee":{"type":"number"},"accessKey":{"type":"string"}}},"CreatePaymentMerchantDto":{"type":"object","properties":{"externalId":{"type":"string"},"data":{"type":"string","description":"JSON-serialized merchant data"}},"required":["externalId","data"]},"WalletAppDto":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"websiteUrl":{"type":"string"},"iconUrl":{"type":"string"},"deepLink":{"type":"string"},"hasActionDeepLink":{"type":"boolean"},"appStoreUrl":{"type":"string","description":"Apple AppStore URL"},"playStoreUrl":{"type":"string","description":"Google PlayStore URL"},"supportedMethods":{"type":"array","items":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]}},"supportedAssets":{"type":"array","items":{"$ref":"#/components/schemas/AssetDto"}},"recommended":{"type":"boolean"},"semiCompatible":{"type":"boolean"},"active":{"type":"boolean"}},"required":["id","name","iconUrl","supportedMethods"]},"PaymentStandardDto":{"type":"object","properties":{"id":{"type":"string","enum":["OpenCryptoPay","LightningBolt11","PayToAddress"]},"label":{"type":"string"},"description":{"type":"string"},"paymentIdentifierLabel":{"type":"string"},"blockchain":{"type":"string","enum":["Bitcoin","Lightning","Spark","Arkade","Firo","Monero","Zano","Ethereum","Sepolia","BinanceSmartChain","Optimism","Arbitrum","Polygon","Base","Haqq","Liquid","Arweave","Cardano","InternetComputer","DeFiChain","Railgun","Solana","Gnosis","Tron","Citrea","CitreaTestnet","BitcoinTestnet4","BinancePay","KucoinPay","Kraken","Binance","XT","MEXC","MaerkiBaumann","Olkypay","Checkout","Sumixx","Yapeal"]}},"required":["id","label","description"]},"HistoricalBalanceDto":{"type":"object","properties":{"balance":{"type":"string","description":"Token balance at this point in time"},"timestamp":{"format":"date-time","type":"string","description":"Timestamp when this balance was recorded"},"valueChf":{"type":"number","description":"Valuation in CHF at this point in time"},"valueEur":{"type":"number","description":"Valuation in EUR at this point in time"}},"required":["balance","timestamp"]},"AccountSummaryDto":{"type":"object","properties":{"address":{"type":"string","description":"Account address"},"addressType":{"type":"string","description":"Type of address (e.g., EOA, contract)"},"balance":{"type":"string","description":"Current balance of the account"},"lastUpdated":{"format":"date-time","type":"string","description":"Timestamp of last balance update"},"historicalBalances":{"description":"Historical balance data over time","type":"array","items":{"$ref":"#/components/schemas/HistoricalBalanceDto"}}},"required":["address","addressType","balance","lastUpdated","historicalBalances"]},"AddressTypeUpdateDto":{"type":"object","properties":{"addressType":{"type":"string","description":"New address type"}},"required":["addressType"]},"ApprovalDto":{"type":"object","properties":{"spender":{"type":"string","description":"Address approved to spend tokens"},"value":{"type":"string","description":"Amount of tokens approved"}},"required":["spender","value"]},"TokensDeclaredInvalidDto":{"type":"object","properties":{"amount":{"type":"string","description":"Amount of tokens declared invalid"},"message":{"type":"string","description":"Reason for invalidation"}},"required":["amount","message"]},"TransferDto":{"type":"object","properties":{"from":{"type":"string","description":"Address sending the tokens"},"to":{"type":"string","description":"Address receiving the tokens"},"value":{"type":"string","description":"Amount of tokens transferred"}},"required":["from","to","value"]},"HistoryEventDto":{"type":"object","properties":{"timestamp":{"format":"date-time","type":"string","description":"Timestamp of the event"},"eventType":{"type":"string","enum":["transfer","approval","tokensDeclaredInvalid","addressTypeUpdate"],"description":"Type of event"},"txHash":{"type":"string","description":"Transaction hash of the event"},"addressTypeUpdate":{"description":"Address type update details","allOf":[{"$ref":"#/components/schemas/AddressTypeUpdateDto"}]},"approval":{"description":"Approval event details","allOf":[{"$ref":"#/components/schemas/ApprovalDto"}]},"tokensDeclaredInvalid":{"description":"Invalid tokens declaration details","allOf":[{"$ref":"#/components/schemas/TokensDeclaredInvalidDto"}]},"transfer":{"description":"Transfer event details","allOf":[{"$ref":"#/components/schemas/TransferDto"}]}},"required":["timestamp","eventType","txHash"]},"PageInfoDto":{"type":"object","properties":{"endCursor":{"type":"string","description":"Cursor pointing to the end of the current page"},"hasNextPage":{"type":"boolean","description":"Whether there is a next page available"},"hasPreviousPage":{"type":"boolean","description":"Whether there is a previous page available"},"startCursor":{"type":"string","description":"Cursor pointing to the start of the current page"}},"required":["endCursor","hasNextPage","hasPreviousPage","startCursor"]},"AccountHistoryDto":{"type":"object","properties":{"address":{"type":"string","description":"Account address"},"addressType":{"type":"string","description":"Type of address (e.g., EOA, contract)"},"history":{"description":"List of historical events for this account","type":"array","items":{"$ref":"#/components/schemas/HistoryEventDto"}},"totalCount":{"type":"number","description":"Total number of historical events"},"pageInfo":{"description":"Pagination information for navigating through results","allOf":[{"$ref":"#/components/schemas/PageInfoDto"}]}},"required":["address","addressType","history","totalCount","pageInfo"]},"HolderDto":{"type":"object","properties":{"address":{"type":"string","description":"Holder address"},"balance":{"type":"string","description":"Token balance held by this address"},"percentage":{"type":"number","description":"Percentage of total supply held by this address"}},"required":["address","balance","percentage"]},"HoldersDto":{"type":"object","properties":{"holders":{"description":"List of token holders","type":"array","items":{"$ref":"#/components/schemas/HolderDto"}},"pageInfo":{"description":"Pagination information for navigating through results","allOf":[{"$ref":"#/components/schemas/PageInfoDto"}]},"totalCount":{"type":"number","description":"Total number of holders"}},"required":["holders","pageInfo","totalCount"]},"HistoricalPriceDto":{"type":"object","properties":{"timestamp":{"format":"date-time","type":"string","description":"Timestamp when the price was recorded"},"chf":{"type":"number","description":"Price in CHF"},"eur":{"type":"number","description":"Price in EUR"},"usd":{"type":"number","description":"Price in USD"}},"required":["timestamp","chf","eur","usd"]},"ChangeTotalSharesDto":{"type":"object","properties":{"total":{"type":"string","description":"Total shares amount"},"timestamp":{"format":"date-time","type":"string","description":"Timestamp of the change"},"txHash":{"type":"string","description":"Transaction hash of the change"}},"required":["total","timestamp","txHash"]},"TotalSupplyDto":{"type":"object","properties":{"value":{"type":"string","description":"Total supply value"},"timestamp":{"format":"date-time","type":"string","description":"Timestamp when this supply was recorded"}},"required":["value","timestamp"]},"TokenInfoDto":{"type":"object","properties":{"totalShares":{"description":"Latest change in total shares information","allOf":[{"$ref":"#/components/schemas/ChangeTotalSharesDto"}]},"totalSupply":{"description":"Current total supply information","allOf":[{"$ref":"#/components/schemas/TotalSupplyDto"}]}},"required":["totalShares","totalSupply"]},"RealUnitBalancePdfDto":{"type":"object","properties":{"address":{"type":"string","description":"Blockchain address (EVM)"},"currency":{"type":"string","description":"Fiat currency for the report","enum":["EUR","CHF","USD"]},"date":{"format":"date-time","type":"string","description":"Date for the portfolio report (must be in the past)"},"language":{"type":"string","description":"Language for the report","enum":["DE","EN","FR","IT"],"default":"EN"}},"required":["address","currency","date"]},"RealUnitSingleReceiptPdfDto":{"type":"object","properties":{"txHash":{"type":"string","description":"Transaction hash from blockchain history"},"currency":{"type":"string","description":"Currency for fiat values on receipt","enum":["CHF","EUR"],"default":"CHF"}},"required":["txHash"]},"RealUnitMultiReceiptPdfDto":{"type":"object","properties":{"txHashes":{"description":"Array of transaction hashes from blockchain history","type":"array","items":{"type":"string"}},"currency":{"type":"string","description":"Currency for fiat values on receipt","enum":["CHF","EUR"],"default":"CHF"}},"required":["txHashes"]},"BrokerbotInfoDto":{"type":"object","properties":{"brokerbotAddress":{"type":"string","description":"Brokerbot contract address"},"tokenAddress":{"type":"string","description":"REALU token address"},"baseCurrencyAddress":{"type":"string","description":"Base currency (ZCHF) address"},"pricePerShare":{"type":"number","description":"Current price per share"},"currency":{"type":"string","description":"Currency of the price","enum":["CHF","EUR"]},"buyingEnabled":{"type":"boolean","description":"Whether buying is enabled"},"sellingEnabled":{"type":"boolean","description":"Whether selling is enabled"},"availableShares":{"type":"number","description":"Available shares for purchase"}},"required":["brokerbotAddress","tokenAddress","baseCurrencyAddress","pricePerShare","currency","buyingEnabled","sellingEnabled","availableShares"]},"BrokerbotPriceDto":{"type":"object","properties":{"pricePerShare":{"type":"number","description":"Current price per share"},"currency":{"type":"string","description":"Currency of the price","enum":["CHF","EUR"]},"availableShares":{"type":"number","description":"Available shares for purchase"}},"required":["pricePerShare","currency","availableShares"]},"BrokerbotBuyPriceDto":{"type":"object","properties":{"shares":{"type":"number","description":"Number of shares"},"totalPrice":{"type":"number","description":"Total cost"},"pricePerShare":{"type":"number","description":"Price per share"},"currency":{"type":"string","description":"Currency of the prices","enum":["CHF","EUR"]},"availableShares":{"type":"number","description":"Available shares for purchase"}},"required":["shares","totalPrice","pricePerShare","currency","availableShares"]},"BrokerbotBuySharesDto":{"type":"object","properties":{"amount":{"type":"number","description":"Amount in specified currency"},"shares":{"type":"number","description":"Number of shares that can be purchased"},"pricePerShare":{"type":"number","description":"Price per share"},"currency":{"type":"string","description":"Currency of the prices","enum":["CHF","EUR"]},"availableShares":{"type":"number","description":"Available shares for purchase"}},"required":["amount","shares","pricePerShare","currency","availableShares"]},"BrokerbotSellPriceDto":{"type":"object","properties":{"shares":{"type":"number","description":"Number of shares to sell"},"pricePerShare":{"type":"number","description":"Price per share (including fees)"},"estimatedAmount":{"type":"number","description":"Estimated amount after fees"},"currency":{"type":"string","description":"Currency of the prices","enum":["CHF","EUR"]}},"required":["shares","pricePerShare","estimatedAmount","currency"]},"BrokerbotSellSharesDto":{"type":"object","properties":{"targetAmount":{"type":"number","description":"Target amount to receive after fees"},"shares":{"type":"number","description":"Number of shares needed to sell"},"pricePerShare":{"type":"number","description":"Price per share (including fees)"},"currency":{"type":"string","description":"Currency of the prices","enum":["CHF","EUR"]}},"required":["targetAmount","shares","pricePerShare","currency"]},"RealUnitBuyDto":{"type":"object","properties":{"amount":{"type":"number","description":"Amount in fiat currency"},"currency":{"type":"string","enum":["CHF","EUR"],"description":"Currency (CHF or EUR)","default":"CHF"}},"required":["amount"]},"RealUnitPaymentInfoDto":{"type":"object","properties":{"id":{"type":"number","description":"Transaction request ID"},"routeId":{"type":"number","description":"Route ID"},"timestamp":{"format":"date-time","type":"string","description":"Price timestamp"},"iban":{"type":"string","description":"Personal IBAN for this asset"},"bic":{"type":"string","description":"BIC/SWIFT code"},"name":{"type":"string","description":"Recipient name"},"street":{"type":"string","description":"Recipient street"},"number":{"type":"string","description":"Recipient house number"},"zip":{"type":"string","description":"Recipient zip code"},"city":{"type":"string","description":"Recipient city"},"country":{"type":"string","description":"Recipient country"},"amount":{"type":"number","description":"Amount to transfer"},"currency":{"type":"string","description":"Currency"},"fees":{"description":"Fee infos in source currency","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolume":{"type":"number","description":"Minimum volume in source currency"},"maxVolume":{"type":"number","description":"Maximum volume in source currency"},"minVolumeTarget":{"type":"number","description":"Minimum volume in target asset"},"maxVolumeTarget":{"type":"number","description":"Maximum volume in target asset"},"exchangeRate":{"type":"number","description":"Exchange rate in source/target"},"rate":{"type":"number","description":"Final rate (incl. fees) in source/target"},"priceSteps":{"type":"array","items":{"$ref":"#/components/schemas/PriceStep"}},"estimatedAmount":{"type":"number","description":"Estimated REALU shares to receive"},"paymentRequest":{"type":"string","description":"QR code for payment (Swiss QR-bill or GiroCode)"},"remittanceInfo":{"type":"string","description":"Purpose of payment for bank transfer"},"isValid":{"type":"boolean"},"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error message in case isValid is false"}},"required":["id","routeId","timestamp","iban","bic","name","street","number","zip","city","country","amount","currency","fees","minVolume","maxVolume","minVolumeTarget","maxVolumeTarget","exchangeRate","rate","priceSteps","estimatedAmount","isValid"]},"RealUnitBuyConfirmDto":{"type":"object","properties":{"reference":{"type":"string","description":"Aktionariat reference for the confirmed buy order"}},"required":["reference"]},"RealUnitSellDto":{"type":"object","properties":{"amount":{"type":"number","description":"Amount of REALU tokens to sell"},"targetAmount":{"type":"number","description":"Target amount in fiat currency (alternative to amount)"},"iban":{"type":"string","description":"IBAN for receiving funds"},"currency":{"type":"string","enum":["CHF","EUR"],"description":"Target currency (CHF or EUR)","default":"CHF"}},"required":["iban"]},"RealUnitEip7702DataDto":{"type":"object","properties":{"relayerAddress":{"type":"string","description":"Relayer address that will execute the transaction"},"delegationManagerAddress":{"type":"string","description":"DelegationManager contract address"},"delegatorAddress":{"type":"string","description":"Delegator contract address"},"userNonce":{"type":"number","description":"User account nonce for EIP-7702 authorization"},"domain":{"type":"object","description":"EIP-712 domain for delegation signature"},"types":{"type":"object","description":"EIP-712 types for delegation signature"},"message":{"type":"object","description":"Delegation message to sign"},"tokenAddress":{"type":"string","description":"REALU token contract address"},"amountWei":{"type":"string","description":"Amount in wei (token smallest unit)"},"depositAddress":{"type":"string","description":"Deposit address (where tokens will be sent)"}},"required":["relayerAddress","delegationManagerAddress","delegatorAddress","userNonce","domain","types","message","tokenAddress","amountWei","depositAddress"]},"RealUnitSellPaymentInfoDto":{"type":"object","properties":{"id":{"type":"number","description":"Transaction request ID"},"routeId":{"type":"number","description":"Route ID"},"timestamp":{"format":"date-time","type":"string","description":"Price timestamp"},"eip7702":{"description":"EIP-7702 delegation data for gasless transfer","allOf":[{"$ref":"#/components/schemas/RealUnitEip7702DataDto"}]},"depositAddress":{"type":"string","description":"Deposit address for manual transfer (fallback)"},"amount":{"type":"number","description":"Amount of REALU to transfer"},"tokenAddress":{"type":"string","description":"REALU token contract address"},"chainId":{"type":"number","description":"Chain ID (Base = 8453)"},"fees":{"description":"Fee infos in source asset","allOf":[{"$ref":"#/components/schemas/FeeDto"}]},"minVolume":{"type":"number","description":"Minimum volume in REALU"},"maxVolume":{"type":"number","description":"Maximum volume in REALU"},"minVolumeTarget":{"type":"number","description":"Minimum volume in target currency"},"maxVolumeTarget":{"type":"number","description":"Maximum volume in target currency"},"exchangeRate":{"type":"number","description":"Exchange rate in source/target"},"rate":{"type":"number","description":"Final rate (incl. fees) in source/target"},"priceSteps":{"type":"array","items":{"$ref":"#/components/schemas/PriceStep"}},"estimatedAmount":{"type":"number","description":"Estimated fiat amount to receive"},"currency":{"type":"string","description":"Target currency (CHF or EUR)"},"beneficiary":{"description":"Beneficiary information (IBAN recipient)","allOf":[{"$ref":"#/components/schemas/BeneficiaryDto"}]},"isValid":{"type":"boolean","description":"Whether the transaction is valid"},"error":{"type":"string","enum":["AmountTooLow","AmountTooHigh","BankTransactionOrVideoMissing","BankTransactionMissing","KycRequired","KycDataRequired","KycRequiredInstant","LimitExceeded","NationalityNotAllowed","NameRequired","PaymentMethodNotAllowed","IbanCurrencyMismatch","RecommendationRequired","EmailRequired","CountryNotAllowed","AssetUnsupported","CurrencyUnsupported"],"description":"Error message in case isValid is false"}},"required":["id","routeId","timestamp","eip7702","depositAddress","amount","tokenAddress","chainId","fees","minVolume","maxVolume","minVolumeTarget","maxVolumeTarget","exchangeRate","rate","priceSteps","estimatedAmount","currency","beneficiary","isValid"]},"Eip7702DelegationDto":{"type":"object","properties":{"delegate":{"type":"string","description":"Relayer address (delegate)"},"delegator":{"type":"string","description":"User address (delegator)"},"authority":{"type":"string","description":"Authority hash (ROOT_AUTHORITY for full permissions)"},"salt":{"type":"string","description":"Salt for delegation uniqueness"},"signature":{"type":"string","description":"EIP-712 signature of the delegation"}},"required":["delegate","delegator","authority","salt","signature"]},"Eip7702ConfirmDto":{"type":"object","properties":{"delegation":{"description":"Delegation signature","allOf":[{"$ref":"#/components/schemas/Eip7702DelegationDto"}]},"authorization":{"description":"EIP-7702 authorization","allOf":[{"$ref":"#/components/schemas/Eip7702AuthorizationDto"}]}},"required":["delegation","authorization"]},"RealUnitSellConfirmDto":{"type":"object","properties":{"eip7702":{"description":"EIP-7702 delegation for gasless transfer","allOf":[{"$ref":"#/components/schemas/Eip7702ConfirmDto"}]},"txHash":{"type":"string","description":"Transaction hash if user sent manually (fallback)"}}},"CountryAndTin":{"type":"object","properties":{"country":{"type":"string","description":"2-letter country code"},"tin":{"type":"string","description":"Tax identification number"}},"required":["country","tin"]},"RealUnitUserDataDto":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string","description":"Full name"},"type":{"type":"string","enum":["HUMAN","CORPORATION"]},"phoneNumber":{"type":"string","description":"Phone number in international format"},"birthday":{"type":"string","description":"Birthday in yyyy-mm-dd format"},"nationality":{"type":"string","description":"2-letter country code"},"addressStreet":{"type":"string","description":"Street address including house number"},"addressPostalCode":{"type":"string"},"addressCity":{"type":"string"},"addressCountry":{"type":"string","description":"2-letter country code"},"swissTaxResidence":{"type":"boolean","description":"Whether the user has Swiss tax residence"},"lang":{"type":"string","enum":["EN","DE","FR","IT"]},"countryAndTINs":{"type":"array","items":{"$ref":"#/components/schemas/CountryAndTin"}},"kycData":{"$ref":"#/components/schemas/KycPersonalData"}},"required":["email","name","type","phoneNumber","birthday","nationality","addressStreet","addressPostalCode","addressCity","addressCountry","swissTaxResidence","lang","kycData"]},"RealUnitWalletStatusDto":{"type":"object","properties":{"isRegistered":{"type":"boolean","description":"Whether the wallet is registered for RealUnit"},"userData":{"description":"User data if available","allOf":[{"$ref":"#/components/schemas/RealUnitUserDataDto"}]}},"required":["isRegistered"]},"RealUnitEmailRegistrationDto":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"RealUnitEmailRegistrationResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["email_registered","merge_requested"]}},"required":["status"]},"RealUnitRegistrationDto":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string","description":"Full name"},"type":{"type":"string","enum":["HUMAN","CORPORATION"]},"phoneNumber":{"type":"string","description":"Phone number in international format (e.g. +41...)"},"birthday":{"type":"string","description":"Birthday in yyyy-mm-dd format"},"nationality":{"type":"string","description":"2-letter country code (e.g. CH, DE)"},"addressStreet":{"type":"string","description":"Street address including house number"},"addressPostalCode":{"type":"string"},"addressCity":{"type":"string"},"addressCountry":{"type":"string","description":"2-letter country code (e.g. CH, DE)"},"swissTaxResidence":{"type":"boolean","description":"Whether the user has Swiss tax residence"},"registrationDate":{"type":"string","description":"Registration date in yyyy-mm-dd format"},"walletAddress":{"type":"string","description":"Ethereum wallet address (0x...)"},"signature":{"type":"string","description":"EIP-712 signature of the registration data"},"lang":{"type":"string","enum":["EN","DE","FR","IT"]},"countryAndTINs":{"description":"Required if swissTaxResidence is false","type":"array","items":{"$ref":"#/components/schemas/CountryAndTin"}},"kycData":{"description":"Personal data fields. Must match signed fields (name, address).","allOf":[{"$ref":"#/components/schemas/KycPersonalData"}]}},"required":["email","name","type","phoneNumber","birthday","nationality","addressStreet","addressPostalCode","addressCity","addressCountry","swissTaxResidence","registrationDate","walletAddress","signature","lang","kycData"]},"RealUnitRegistrationResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["completed","pending_review","forwarding_failed"]}},"required":["status"]},"RealUnitRegisterWalletDto":{"type":"object","properties":{"walletAddress":{"type":"string","description":"Ethereum wallet address (0x...)"},"signature":{"type":"string","description":"EIP-712 signature of the registration data"},"registrationDate":{"type":"string","description":"Registration date in yyyy-mm-dd format (must be today)"}},"required":["walletAddress","signature","registrationDate"]},"KycWebhookData":{"type":"object","properties":{"mail":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"street":{"type":"string"},"houseNumber":{"type":"string"},"city":{"type":"string"},"zip":{"type":"string"},"country":{"$ref":"#/components/schemas/CountryDto"},"nationality":{"$ref":"#/components/schemas/CountryDto"},"birthday":{"format":"date-time","type":"string"},"phone":{"type":"string"},"kycStatus":{"type":"string","enum":["NA","Light","Full","Rejected"],"deprecated":true},"kycLevel":{"type":"number","enum":[0,10,20,30,40,50,-10,-20]},"kycHash":{"type":"string"},"tradingLimit":{"$ref":"#/components/schemas/TradingLimit"}},"required":["kycStatus","kycLevel","kycHash","tradingLimit"]},"KycChangedWebhookDto":{"type":"object","properties":{"accountId":{"type":"number","description":"Unique account id"},"id":{"type":"string","description":"User address"},"type":{"type":"string","enum":["KycChanged"]},"data":{"$ref":"#/components/schemas/KycWebhookData"},"reason":{"type":"string"}},"required":["accountId","type","data"]},"KycFailedWebhookDto":{"type":"object","properties":{"accountId":{"type":"number","description":"Unique account id"},"id":{"type":"string","description":"User address"},"type":{"type":"string","enum":["KycFailed"]},"data":{"$ref":"#/components/schemas/KycWebhookData"},"reason":{"type":"string"}},"required":["accountId","type","data"]},"AccountChangedWebhookData":{"type":"object","properties":{"accountId":{"type":"number","description":"New account id"}},"required":["accountId"]},"AccountChangedWebhookDto":{"type":"object","properties":{"accountId":{"type":"number","description":"Unique account id"},"id":{"type":"string","description":"User address"},"type":{"type":"string","enum":["AccountChanged"]},"data":{"$ref":"#/components/schemas/AccountChangedWebhookData"},"reason":{"type":"string"}},"required":["accountId","type","data"]},"PaymentWebhookDto":{"type":"object","properties":{"accountId":{"type":"number","description":"Unique account id"},"id":{"type":"string","description":"User address"},"type":{"type":"string","enum":["Payment"]},"data":{"$ref":"#/components/schemas/PaymentWebhookData"},"reason":{"type":"string"}},"required":["accountId","type","data"]}}},"externalDocs":{"description":"Github documentation","url":"https://github.com/DFXswiss/api#dfx-api"}}