{"items":[{"type":"link","label":"Infini Merchant Customer Deposit API","link":"/apis/customer-deposits","routeSlug":"/apis/customer-deposits","content":{"contentType":"overview","meta":{"name":"Infini Merchant Customer Deposit API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"customer-deposits.json","url":"/_bundle/apis/customer-deposits.json?download"},{"kind":"download","label":"customer-deposits.yaml","url":"/_bundle/apis/customer-deposits.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Infini Merchant Customer Deposit API (0.1.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"All operations use /v2/merchant-customer and Ed25519 v2 authentication. See "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/docs/en/customer-deposits-api"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Integration guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Online Try it is disabled; sign on the merchant backend. Fees are merchant-paid. Freeze price, fee policy and settlement currency at network confirmation; below-minimum fees are additional."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/"}],"sectionId":"/"}]}]}},{"type":"group","label":"Currencies","link":"/apis/customer-deposits/currencies","routeSlug":"/apis/customer-deposits/currencies","items":[{"label":"List supported deposit currencies","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/customer-deposits/currencies/listmerchantcustomerdepositcurrencies","routeSlug":"/apis/customer-deposits/currencies/listmerchantcustomerdepositcurrencies","metadata":{"seo":{"title":"List supported deposit currencies","description":"Requires merchant_customer.read. Returns available asset/network pairs and current display thresholds. Filters with no match return data=[]."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listMerchantCustomerDepositCurrencies","name":"List supported deposit currencies","isWebhook":false,"pointer":"/paths/~1currencies/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List supported deposit currencies","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requires merchant_customer.read. Returns available asset/network pairs and current display thresholds. Filters with no match return data=[]."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Ed25519","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\" plus X-API-Key-ID, X-API-Timestamp, X-API-Nonce and Digest. Never enter private keys into this reference."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"asset","in":"query","schemaId":"schema_0","description":"Optional asset filter."},{"name":"network","in":"query","schemaId":"schema_1","description":"Optional network filter."}],"pointer":"/paths/~1currencies/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-API-Key-ID","in":"header","schemaId":"schema_2","description":"32-character Base58 credential ID.","required":true},{"name":"X-API-Timestamp","in":"header","schemaId":"schema_3","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Current Unix seconds; tolerance ±300 seconds."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"X-API-Nonce","in":"header","schemaId":"schema_4","description":"16 cryptographically random bytes as unpadded Base64URL; fresh on every attempt.","required":true},{"name":"Digest","in":"header","schemaId":"schema_5","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SHA-256= plus padded standard Base64 of exact body bytes; required also on GET with an empty body."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"Authorization","in":"header","schemaId":"schema_6","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\". Sign locally; never upload your private key. See the Authentication guide."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1currencies/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/currencies","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[{"name":"asset","in":"query","required":false,"example":"USDT","schemaId":"schema_0"},{"name":"network","in":"query","required":false,"example":"ETHEREUM","schemaId":"schema_1"}],"querystring":[],"header":[{"name":"X-API-Key-ID","in":"header","required":true,"example":"<KEY_ID>","schemaId":"schema_2"},{"name":"X-API-Timestamp","in":"header","required":true,"example":"1794211200","schemaId":"schema_3"},{"name":"X-API-Nonce","in":"header","required":true,"example":"AAECAwQFBgcICQoLDA0ODw","schemaId":"schema_4"},{"name":"Digest","in":"header","required":true,"example":"SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","schemaId":"schema_5"},{"name":"Authorization","in":"header","required":true,"example":"Ed25519 signature=\"<BASE64_SIGNATURE>\"","schemaId":"schema_6"}],"cookie":[]},"security":[{"schemes":[{"id":"Ed25519","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","500","503"],"pointer":"/currencies","href":"currencies/listmerchantcustomerdepositcurrencies","openApiOperationId":"listMerchantCustomerDepositCurrencies","summary":"List supported deposit currencies"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Supported currencies and current thresholds.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CurrenciesEnvelope","exampleIds":["paths/~1currencies/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/CurrenciesEnvelope","exampleIds":["paths/~1currencies/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request parameters or asset/network combination.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1currencies/get/responses/400/content/application~1json/examples/unsupported_chain_token"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1currencies/get/responses/400/content/application~1json/examples/unsupported_chain_token"]},{"code":"401","description":"Ed25519 credential, signature, digest, timestamp or nonce validation failed.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1currencies/get/responses/401/content/application~1json/example"]}},"schemaId":"schema_7","exampleIds":["paths/~1currencies/get/responses/401/content/application~1json/example"]},{"code":"403","description":"API key permission or access policy denied.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/403/content/application~1json/examples/permission_denied"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/403/content/application~1json/examples/permission_denied"]},{"code":"500","description":"Unexpected internal error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/500/content/application~1json/examples/internal_error"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/500/content/application~1json/examples/internal_error"]},{"code":"503","description":"Retry with the same business fields after backoff.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/503/content/application~1json/examples/price_unavailable","paths/~1currencies/get/responses/503/content/application~1json/examples/dependency_unavailable"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/503/content/application~1json/examples/price_unavailable","paths/~1currencies/get/responses/503/content/application~1json/examples/dependency_unavailable"]}],"pointer":"/paths/~1currencies/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/CurrenciesEnvelope","exampleIds":["paths/~1currencies/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CurrenciesEnvelope","exampleIds":["paths/~1currencies/get/responses/200/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1currencies/get/responses/400/content/application~1json/examples/unsupported_chain_token"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1currencies/get/responses/400/content/application~1json/examples/unsupported_chain_token"]}}},{"code":"401","schemaId":"schema_7","exampleIds":["paths/~1currencies/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1currencies/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/403/content/application~1json/examples/permission_denied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/403/content/application~1json/examples/permission_denied"]}}},{"code":"500","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/500/content/application~1json/examples/internal_error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/500/content/application~1json/examples/internal_error"]}}},{"code":"503","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/503/content/application~1json/examples/price_unavailable","paths/~1currencies/get/responses/503/content/application~1json/examples/dependency_unavailable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1currencies/get/responses/503/content/application~1json/examples/price_unavailable","paths/~1currencies/get/responses/503/content/application~1json/examples/dependency_unavailable"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/currencies/listmerchantcustomerdepositcurrencies"}],"panels":[]}]},"httpPath":"/currencies"}],"content":{"contentType":"group","meta":{"name":"Currencies"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Currencies","showPageActions":true},{"nodeType":"markdoc","content":"Available deposit assets and networks."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/currencies","summary":"List supported deposit currencies","prefix":{"name":"get","color":"get"},"badges":[],"link":"/currencies/listmerchantcustomerdepositcurrencies","deprecated":false}]}]}]}]}},{"type":"group","label":"Customers","link":"/apis/customer-deposits/customers","routeSlug":"/apis/customer-deposits/customers","items":[{"label":"Create or update a customer","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/customer-deposits/customers/upsertmerchantcustomer","routeSlug":"/apis/customer-deposits/customers/upsertmerchantcustomer","metadata":{"seo":{"title":"Create or update a customer","description":"Requires merchant_customer.write. Unique by external_user_id. Create returns 201; existing returns 200. Explicitly supplied profile fields are updated; omitted fields are preserved; null or empty clears a field. IDs never change. Identical retries do not change updated_at. Existing updates consume no additional quota and work at the quota limit. Creating a Customer does not allocate a wallet."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"upsertMerchantCustomer","name":"Create or update a customer","isWebhook":false,"pointer":"/paths/~1customers/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create or update a customer","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requires merchant_customer.write. Unique by external_user_id. Create returns 201; existing returns 200. Explicitly supplied profile fields are updated; omitted fields are preserved; null or empty clears a field. IDs never change. Identical retries do not change updated_at. Existing updates consume no additional quota and work at the quota limit. Creating a Customer does not allocate a wallet."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Ed25519","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\" plus X-API-Key-ID, X-API-Timestamp, X-API-Nonce and Digest. Never enter private keys into this reference."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-API-Key-ID","in":"header","schemaId":"schema_2","description":"32-character Base58 credential ID.","required":true},{"name":"X-API-Timestamp","in":"header","schemaId":"schema_3","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Current Unix seconds; tolerance ±300 seconds."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"X-API-Nonce","in":"header","schemaId":"schema_4","description":"16 cryptographically random bytes as unpadded Base64URL; fresh on every attempt.","required":true},{"name":"Digest","in":"header","schemaId":"schema_5","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SHA-256= plus padded standard Base64 of exact body bytes; required also on GET with an empty body."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"Authorization","in":"header","schemaId":"schema_6","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\". Sign locally; never upload your private key. See the Authentication guide."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1customers/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpsertCustomerRequest","exampleIds":["paths/~1customers/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/UpsertCustomerRequest","exampleIds":["paths/~1customers/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1customers/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/customers","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-API-Key-ID","in":"header","required":true,"example":"<KEY_ID>","schemaId":"schema_2"},{"name":"X-API-Timestamp","in":"header","required":true,"example":"1794211200","schemaId":"schema_3"},{"name":"X-API-Nonce","in":"header","required":true,"example":"AAECAwQFBgcICQoLDA0ODw","schemaId":"schema_4"},{"name":"Digest","in":"header","required":true,"example":"SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","schemaId":"schema_5"},{"name":"Authorization","in":"header","required":true,"example":"Ed25519 signature=\"<BASE64_SIGNATURE>\"","schemaId":"schema_6"}],"cookie":[]},"security":[{"schemes":[{"id":"Ed25519","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UpsertCustomerRequest","exampleIds":["paths/~1customers/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","201","400","401","403","409","500"],"pointer":"/customers","href":"customers/upsertmerchantcustomer","openApiOperationId":"upsertMerchantCustomer","summary":"Create or update a customer"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"schemaId":"components/schemas/UpsertCustomerRequest","exampleIds":["paths/~1customers/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpsertCustomerRequest","exampleIds":["paths/~1customers/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Existing customer returned or profile updated.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/post/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/post/responses/200/content/application~1json/example"]},{"code":"201","description":"Customer created.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/post/responses/201/content/application~1json/example"]}},"schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/post/responses/201/content/application~1json/example"]},{"code":"400","description":"Invalid request parameters or asset/network combination.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers/post/responses/400/content/application~1json/examples/unsupported_chain_token"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers/post/responses/400/content/application~1json/examples/unsupported_chain_token"]},{"code":"401","description":"Ed25519 credential, signature, digest, timestamp or nonce validation failed.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1customers/post/responses/401/content/application~1json/example"]}},"schemaId":"schema_7","exampleIds":["paths/~1customers/post/responses/401/content/application~1json/example"]},{"code":"403","description":"API key permission or access policy denied.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/403/content/application~1json/examples/permission_denied"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/403/content/application~1json/examples/permission_denied"]},{"code":"409","description":"Quota, address processing or currency availability conflict.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1customers/post/responses/409/content/application~1json/examples/address_processing","paths/~1customers/post/responses/409/content/application~1json/examples/currency_disabled"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1customers/post/responses/409/content/application~1json/examples/address_processing","paths/~1customers/post/responses/409/content/application~1json/examples/currency_disabled"]},{"code":"500","description":"Unexpected internal error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/500/content/application~1json/examples/internal_error"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/500/content/application~1json/examples/internal_error"]}],"pointer":"/paths/~1customers/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/post/responses/200/content/application~1json/example"]}}},{"code":"201","schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/post/responses/201/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/post/responses/201/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers/post/responses/400/content/application~1json/examples/unsupported_chain_token"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers/post/responses/400/content/application~1json/examples/unsupported_chain_token"]}}},{"code":"401","schemaId":"schema_7","exampleIds":["paths/~1customers/post/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1customers/post/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/403/content/application~1json/examples/permission_denied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/403/content/application~1json/examples/permission_denied"]}}},{"code":"409","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1customers/post/responses/409/content/application~1json/examples/address_processing","paths/~1customers/post/responses/409/content/application~1json/examples/currency_disabled"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1customers/post/responses/409/content/application~1json/examples/address_processing","paths/~1customers/post/responses/409/content/application~1json/examples/currency_disabled"]}}},{"code":"500","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/500/content/application~1json/examples/internal_error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/post/responses/500/content/application~1json/examples/internal_error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/customers/upsertmerchantcustomer"}],"panels":[]}]},"httpPath":"/customers"},{"label":"Get a customer","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/customer-deposits/customers/getmerchantcustomer","routeSlug":"/apis/customer-deposits/customers/getmerchantcustomer","metadata":{"seo":{"title":"Get a customer","description":"Requires merchant_customer.read. Supply exactly one of customer_id or external_user_id. Read only; does not create or update."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMerchantCustomer","name":"Get a customer","isWebhook":false,"pointer":"/paths/~1customers/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get a customer","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requires merchant_customer.read. Supply exactly one of customer_id or external_user_id. Read only; does not create or update."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Ed25519","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\" plus X-API-Key-ID, X-API-Timestamp, X-API-Nonce and Digest. Never enter private keys into this reference."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"customer_id","in":"query","schemaId":"schema_8","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Use instead of external_user_id."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"external_user_id","in":"query","schemaId":"schema_9","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Use instead of customer_id."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1customers/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-API-Key-ID","in":"header","schemaId":"schema_2","description":"32-character Base58 credential ID.","required":true},{"name":"X-API-Timestamp","in":"header","schemaId":"schema_3","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Current Unix seconds; tolerance ±300 seconds."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"X-API-Nonce","in":"header","schemaId":"schema_4","description":"16 cryptographically random bytes as unpadded Base64URL; fresh on every attempt.","required":true},{"name":"Digest","in":"header","schemaId":"schema_5","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SHA-256= plus padded standard Base64 of exact body bytes; required also on GET with an empty body."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"Authorization","in":"header","schemaId":"schema_6","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\". Sign locally; never upload your private key. See the Authentication guide."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1customers/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/customers","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[{"name":"customer_id","in":"query","required":false,"example":583174926,"schemaId":"components/schemas/CustomerID"},{"name":"external_user_id","in":"query","required":false,"example":"user_1001","schemaId":"schema_9"}],"querystring":[],"header":[{"name":"X-API-Key-ID","in":"header","required":true,"example":"<KEY_ID>","schemaId":"schema_2"},{"name":"X-API-Timestamp","in":"header","required":true,"example":"1794211200","schemaId":"schema_3"},{"name":"X-API-Nonce","in":"header","required":true,"example":"AAECAwQFBgcICQoLDA0ODw","schemaId":"schema_4"},{"name":"Digest","in":"header","required":true,"example":"SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","schemaId":"schema_5"},{"name":"Authorization","in":"header","required":true,"example":"Ed25519 signature=\"<BASE64_SIGNATURE>\"","schemaId":"schema_6"}],"cookie":[]},"security":[{"schemes":[{"id":"Ed25519","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","500"],"pointer":"/customers","href":"customers/getmerchantcustomer","openApiOperationId":"getMerchantCustomer","summary":"Get a customer"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Customer found.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request parameters or asset/network combination.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers/get/responses/400/content/application~1json/examples/unsupported_chain_token"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers/get/responses/400/content/application~1json/examples/unsupported_chain_token"]},{"code":"401","description":"Ed25519 credential, signature, digest, timestamp or nonce validation failed.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1customers/get/responses/401/content/application~1json/example"]}},"schemaId":"schema_7","exampleIds":["paths/~1customers/get/responses/401/content/application~1json/example"]},{"code":"403","description":"API key permission or access policy denied.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/403/content/application~1json/examples/permission_denied"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/403/content/application~1json/examples/permission_denied"]},{"code":"404","description":"Resource not found in the authenticated merchant and environment.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/404/content/application~1json/examples/customer_not_found","paths/~1customers/get/responses/404/content/application~1json/examples/deposit_address_not_found"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/404/content/application~1json/examples/customer_not_found","paths/~1customers/get/responses/404/content/application~1json/examples/deposit_address_not_found"]},{"code":"500","description":"Unexpected internal error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/500/content/application~1json/examples/internal_error"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/500/content/application~1json/examples/internal_error"]}],"pointer":"/paths/~1customers/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CustomerEnvelope","exampleIds":["paths/~1customers/get/responses/200/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers/get/responses/400/content/application~1json/examples/unsupported_chain_token"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers/get/responses/400/content/application~1json/examples/unsupported_chain_token"]}}},{"code":"401","schemaId":"schema_7","exampleIds":["paths/~1customers/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1customers/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/403/content/application~1json/examples/permission_denied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/403/content/application~1json/examples/permission_denied"]}}},{"code":"404","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/404/content/application~1json/examples/customer_not_found","paths/~1customers/get/responses/404/content/application~1json/examples/deposit_address_not_found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/404/content/application~1json/examples/customer_not_found","paths/~1customers/get/responses/404/content/application~1json/examples/deposit_address_not_found"]}}},{"code":"500","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/500/content/application~1json/examples/internal_error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers/get/responses/500/content/application~1json/examples/internal_error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/customers/getmerchantcustomer"}],"panels":[]}]},"httpPath":"/customers"},{"label":"Get customer quota","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/customer-deposits/customers/getmerchantcustomerquota","routeSlug":"/apis/customer-deposits/customers/getmerchantcustomerquota","metadata":{"seo":{"title":"Get customer quota","description":"Requires merchant_customer.read. Returns only limit and used. Calculate remaining as max(limit-used,0). Quota is per Customer, not per address, and is not reserved by this query. Merchant overrides may differ from environment defaults."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMerchantCustomerQuota","name":"Get customer quota","isWebhook":false,"pointer":"/paths/~1customers~1quota/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get customer quota","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requires merchant_customer.read. Returns only limit and used. Calculate remaining as max(limit-used,0). Quota is per Customer, not per address, and is not reserved by this query. Merchant overrides may differ from environment defaults."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Ed25519","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\" plus X-API-Key-ID, X-API-Timestamp, X-API-Nonce and Digest. Never enter private keys into this reference."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-API-Key-ID","in":"header","schemaId":"schema_2","description":"32-character Base58 credential ID.","required":true},{"name":"X-API-Timestamp","in":"header","schemaId":"schema_3","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Current Unix seconds; tolerance ±300 seconds."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"X-API-Nonce","in":"header","schemaId":"schema_4","description":"16 cryptographically random bytes as unpadded Base64URL; fresh on every attempt.","required":true},{"name":"Digest","in":"header","schemaId":"schema_5","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SHA-256= plus padded standard Base64 of exact body bytes; required also on GET with an empty body."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"Authorization","in":"header","schemaId":"schema_6","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\". Sign locally; never upload your private key. See the Authentication guide."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1customers~1quota/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/customers/quota","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-API-Key-ID","in":"header","required":true,"example":"<KEY_ID>","schemaId":"schema_2"},{"name":"X-API-Timestamp","in":"header","required":true,"example":"1794211200","schemaId":"schema_3"},{"name":"X-API-Nonce","in":"header","required":true,"example":"AAECAwQFBgcICQoLDA0ODw","schemaId":"schema_4"},{"name":"Digest","in":"header","required":true,"example":"SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","schemaId":"schema_5"},{"name":"Authorization","in":"header","required":true,"example":"Ed25519 signature=\"<BASE64_SIGNATURE>\"","schemaId":"schema_6"}],"cookie":[]},"security":[{"schemes":[{"id":"Ed25519","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","500"],"pointer":"/customers/quota","href":"customers/getmerchantcustomerquota","openApiOperationId":"getMerchantCustomerQuota","summary":"Get customer quota"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Effective Customer quota.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/QuotaEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/QuotaEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request parameters or asset/network combination.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers~1quota/get/responses/400/content/application~1json/examples/unsupported_chain_token"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers~1quota/get/responses/400/content/application~1json/examples/unsupported_chain_token"]},{"code":"401","description":"Ed25519 credential, signature, digest, timestamp or nonce validation failed.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1customers~1quota/get/responses/401/content/application~1json/example"]}},"schemaId":"schema_7","exampleIds":["paths/~1customers~1quota/get/responses/401/content/application~1json/example"]},{"code":"403","description":"API key permission or access policy denied.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/403/content/application~1json/examples/permission_denied"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/403/content/application~1json/examples/permission_denied"]},{"code":"500","description":"Unexpected internal error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/500/content/application~1json/examples/internal_error"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/500/content/application~1json/examples/internal_error"]}],"pointer":"/paths/~1customers~1quota/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/QuotaEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/QuotaEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/200/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers~1quota/get/responses/400/content/application~1json/examples/unsupported_chain_token"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1customers~1quota/get/responses/400/content/application~1json/examples/unsupported_chain_token"]}}},{"code":"401","schemaId":"schema_7","exampleIds":["paths/~1customers~1quota/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1customers~1quota/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/403/content/application~1json/examples/permission_denied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/403/content/application~1json/examples/permission_denied"]}}},{"code":"500","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/500/content/application~1json/examples/internal_error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1customers~1quota/get/responses/500/content/application~1json/examples/internal_error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/customers/getmerchantcustomerquota"}],"panels":[]}]},"httpPath":"/customers/quota"}],"content":{"contentType":"group","meta":{"name":"Customers"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Customers","showPageActions":true},{"nodeType":"markdoc","content":"Customer profiles and quota."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/customers","summary":"Create or update a customer","prefix":{"name":"post","color":"post"},"badges":[],"link":"/customers/upsertmerchantcustomer","deprecated":false},{"title":"/customers","summary":"Get a customer","prefix":{"name":"get","color":"get"},"badges":[],"link":"/customers/getmerchantcustomer","deprecated":false},{"title":"/customers/quota","summary":"Get customer quota","prefix":{"name":"get","color":"get"},"badges":[],"link":"/customers/getmerchantcustomerquota","deprecated":false}]}]}]}]}},{"type":"group","label":"Addresses","link":"/apis/customer-deposits/addresses","routeSlug":"/apis/customer-deposits/addresses","items":[{"label":"Create or reuse a deposit address","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/customer-deposits/addresses/createmerchantcustomerdepositaddress","routeSlug":"/apis/customer-deposits/addresses/createmerchantcustomerdepositaddress","metadata":{"seo":{"title":"Create or reuse a deposit address","description":"Requires merchant_customer.write. Business key: merchant + environment + customer_id + asset + network. Returns 201 for a new ready binding, 200 for reuse. EVM networks share a physical address for the same Customer; binding IDs remain distinct. Same-network assets such as TRON TRX/USDT also share an address. Supported unrequested asset/network deposits to the owned address are automatically identified and settled. Concurrent or unknown allocation results return address_processing; query or retry with the same business fields. Never treat a timeout as proof of failure."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createMerchantCustomerDepositAddress","name":"Create or reuse a deposit address","isWebhook":false,"pointer":"/paths/~1addresses/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create or reuse a deposit address","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requires merchant_customer.write. Business key: merchant + environment + customer_id + asset + network. Returns 201 for a new ready binding, 200 for reuse. EVM networks share a physical address for the same Customer; binding IDs remain distinct. Same-network assets such as TRON TRX/USDT also share an address. Supported unrequested asset/network deposits to the owned address are automatically identified and settled. Concurrent or unknown allocation results return address_processing; query or retry with the same business fields. Never treat a timeout as proof of failure."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Ed25519","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\" plus X-API-Key-ID, X-API-Timestamp, X-API-Nonce and Digest. Never enter private keys into this reference."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-API-Key-ID","in":"header","schemaId":"schema_2","description":"32-character Base58 credential ID.","required":true},{"name":"X-API-Timestamp","in":"header","schemaId":"schema_3","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Current Unix seconds; tolerance ±300 seconds."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"X-API-Nonce","in":"header","schemaId":"schema_4","description":"16 cryptographically random bytes as unpadded Base64URL; fresh on every attempt.","required":true},{"name":"Digest","in":"header","schemaId":"schema_5","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SHA-256= plus padded standard Base64 of exact body bytes; required also on GET with an empty body."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"Authorization","in":"header","schemaId":"schema_6","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\". Sign locally; never upload your private key. See the Authentication guide."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1addresses/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AddressRequest","exampleIds":["paths/~1addresses/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/AddressRequest","exampleIds":["paths/~1addresses/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1addresses/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/addresses","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-API-Key-ID","in":"header","required":true,"example":"<KEY_ID>","schemaId":"schema_2"},{"name":"X-API-Timestamp","in":"header","required":true,"example":"1794211200","schemaId":"schema_3"},{"name":"X-API-Nonce","in":"header","required":true,"example":"AAECAwQFBgcICQoLDA0ODw","schemaId":"schema_4"},{"name":"Digest","in":"header","required":true,"example":"SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","schemaId":"schema_5"},{"name":"Authorization","in":"header","required":true,"example":"Ed25519 signature=\"<BASE64_SIGNATURE>\"","schemaId":"schema_6"}],"cookie":[]},"security":[{"schemes":[{"id":"Ed25519","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/AddressRequest","exampleIds":["paths/~1addresses/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","201","400","401","403","404","409","500","503"],"pointer":"/addresses","href":"addresses/createmerchantcustomerdepositaddress","openApiOperationId":"createMerchantCustomerDepositAddress","summary":"Create or reuse a deposit address"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"schemaId":"components/schemas/AddressRequest","exampleIds":["paths/~1addresses/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AddressRequest","exampleIds":["paths/~1addresses/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Existing ready binding reused.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/post/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/post/responses/200/content/application~1json/example"]},{"code":"201","description":"Ready address binding created.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/post/responses/201/content/application~1json/example"]}},"schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/post/responses/201/content/application~1json/example"]},{"code":"400","description":"Invalid request parameters or asset/network combination.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/400/content/application~1json/examples/invalid_parameter","paths/~1addresses/post/responses/400/content/application~1json/examples/unsupported_chain_token"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/400/content/application~1json/examples/invalid_parameter","paths/~1addresses/post/responses/400/content/application~1json/examples/unsupported_chain_token"]},{"code":"401","description":"Ed25519 credential, signature, digest, timestamp or nonce validation failed.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1addresses/post/responses/401/content/application~1json/example"]}},"schemaId":"schema_7","exampleIds":["paths/~1addresses/post/responses/401/content/application~1json/example"]},{"code":"403","description":"API key permission or access policy denied.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/403/content/application~1json/examples/permission_denied"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/403/content/application~1json/examples/permission_denied"]},{"code":"404","description":"Resource not found in the authenticated merchant and environment.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/404/content/application~1json/examples/customer_not_found","paths/~1addresses/post/responses/404/content/application~1json/examples/deposit_address_not_found"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/404/content/application~1json/examples/customer_not_found","paths/~1addresses/post/responses/404/content/application~1json/examples/deposit_address_not_found"]},{"code":"409","description":"Quota, address processing or currency availability conflict.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1addresses/post/responses/409/content/application~1json/examples/address_processing","paths/~1addresses/post/responses/409/content/application~1json/examples/currency_disabled"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1addresses/post/responses/409/content/application~1json/examples/address_processing","paths/~1addresses/post/responses/409/content/application~1json/examples/currency_disabled"]},{"code":"500","description":"Unexpected internal error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/500/content/application~1json/examples/internal_error"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/500/content/application~1json/examples/internal_error"]},{"code":"503","description":"Retry with the same business fields after backoff.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/503/content/application~1json/examples/price_unavailable","paths/~1addresses/post/responses/503/content/application~1json/examples/dependency_unavailable"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/503/content/application~1json/examples/price_unavailable","paths/~1addresses/post/responses/503/content/application~1json/examples/dependency_unavailable"]}],"pointer":"/paths/~1addresses/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/post/responses/200/content/application~1json/example"]}}},{"code":"201","schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/post/responses/201/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/post/responses/201/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/400/content/application~1json/examples/invalid_parameter","paths/~1addresses/post/responses/400/content/application~1json/examples/unsupported_chain_token"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/400/content/application~1json/examples/invalid_parameter","paths/~1addresses/post/responses/400/content/application~1json/examples/unsupported_chain_token"]}}},{"code":"401","schemaId":"schema_7","exampleIds":["paths/~1addresses/post/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1addresses/post/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/403/content/application~1json/examples/permission_denied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/403/content/application~1json/examples/permission_denied"]}}},{"code":"404","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/404/content/application~1json/examples/customer_not_found","paths/~1addresses/post/responses/404/content/application~1json/examples/deposit_address_not_found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/404/content/application~1json/examples/customer_not_found","paths/~1addresses/post/responses/404/content/application~1json/examples/deposit_address_not_found"]}}},{"code":"409","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1addresses/post/responses/409/content/application~1json/examples/address_processing","paths/~1addresses/post/responses/409/content/application~1json/examples/currency_disabled"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1addresses/post/responses/409/content/application~1json/examples/address_processing","paths/~1addresses/post/responses/409/content/application~1json/examples/currency_disabled"]}}},{"code":"500","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/500/content/application~1json/examples/internal_error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/500/content/application~1json/examples/internal_error"]}}},{"code":"503","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/503/content/application~1json/examples/price_unavailable","paths/~1addresses/post/responses/503/content/application~1json/examples/dependency_unavailable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/post/responses/503/content/application~1json/examples/price_unavailable","paths/~1addresses/post/responses/503/content/application~1json/examples/dependency_unavailable"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/addresses/createmerchantcustomerdepositaddress"}],"panels":[]}]},"httpPath":"/addresses"},{"label":"Get a deposit address","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/customer-deposits/addresses/getmerchantcustomerdepositaddress","routeSlug":"/apis/customer-deposits/addresses/getmerchantcustomerdepositaddress","metadata":{"seo":{"title":"Get a deposit address","description":"Requires merchant_customer.read. Read-only lookup by customer_id, asset and network. Does not allocate a wallet or create a binding. Unknown binding returns 404; an allocation still being prepared returns address_processing."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMerchantCustomerDepositAddress","name":"Get a deposit address","isWebhook":false,"pointer":"/paths/~1addresses/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get a deposit address","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requires merchant_customer.read. Read-only lookup by customer_id, asset and network. Does not allocate a wallet or create a binding. Unknown binding returns 404; an allocation still being prepared returns address_processing."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Ed25519","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\" plus X-API-Key-ID, X-API-Timestamp, X-API-Nonce and Digest. Never enter private keys into this reference."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"customer_id","in":"query","schemaId":"schema_8","description":"Customer ID.","required":true},{"name":"asset","in":"query","schemaId":"schema_0","description":"Asset code.","required":true},{"name":"network","in":"query","schemaId":"schema_1","description":"Network code.","required":true}],"pointer":"/paths/~1addresses/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-API-Key-ID","in":"header","schemaId":"schema_2","description":"32-character Base58 credential ID.","required":true},{"name":"X-API-Timestamp","in":"header","schemaId":"schema_3","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Current Unix seconds; tolerance ±300 seconds."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"X-API-Nonce","in":"header","schemaId":"schema_4","description":"16 cryptographically random bytes as unpadded Base64URL; fresh on every attempt.","required":true},{"name":"Digest","in":"header","schemaId":"schema_5","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SHA-256= plus padded standard Base64 of exact body bytes; required also on GET with an empty body."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"Authorization","in":"header","schemaId":"schema_6","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\". Sign locally; never upload your private key. See the Authentication guide."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1addresses/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/addresses","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[{"name":"customer_id","in":"query","required":true,"example":583174926,"schemaId":"components/schemas/CustomerID"},{"name":"asset","in":"query","required":true,"example":"USDT","schemaId":"schema_0"},{"name":"network","in":"query","required":true,"example":"ETHEREUM","schemaId":"schema_1"}],"querystring":[],"header":[{"name":"X-API-Key-ID","in":"header","required":true,"example":"<KEY_ID>","schemaId":"schema_2"},{"name":"X-API-Timestamp","in":"header","required":true,"example":"1794211200","schemaId":"schema_3"},{"name":"X-API-Nonce","in":"header","required":true,"example":"AAECAwQFBgcICQoLDA0ODw","schemaId":"schema_4"},{"name":"Digest","in":"header","required":true,"example":"SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=","schemaId":"schema_5"},{"name":"Authorization","in":"header","required":true,"example":"Ed25519 signature=\"<BASE64_SIGNATURE>\"","schemaId":"schema_6"}],"cookie":[]},"security":[{"schemes":[{"id":"Ed25519","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","409","500","503"],"pointer":"/addresses","href":"addresses/getmerchantcustomerdepositaddress","openApiOperationId":"getMerchantCustomerDepositAddress","summary":"Get a deposit address"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Existing ready address binding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request parameters or asset/network combination.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1addresses/get/responses/400/content/application~1json/examples/unsupported_chain_token"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1addresses/get/responses/400/content/application~1json/examples/unsupported_chain_token"]},{"code":"401","description":"Ed25519 credential, signature, digest, timestamp or nonce validation failed.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1addresses/get/responses/401/content/application~1json/example"]}},"schemaId":"schema_7","exampleIds":["paths/~1addresses/get/responses/401/content/application~1json/example"]},{"code":"403","description":"API key permission or access policy denied.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/403/content/application~1json/examples/permission_denied"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/403/content/application~1json/examples/permission_denied"]},{"code":"404","description":"Resource not found in the authenticated merchant and environment.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/404/content/application~1json/examples/customer_not_found","paths/~1addresses/get/responses/404/content/application~1json/examples/deposit_address_not_found"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/404/content/application~1json/examples/customer_not_found","paths/~1addresses/get/responses/404/content/application~1json/examples/deposit_address_not_found"]},{"code":"409","description":"Quota, address processing or currency availability conflict.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1addresses/get/responses/409/content/application~1json/examples/address_processing","paths/~1addresses/get/responses/409/content/application~1json/examples/currency_disabled"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1addresses/get/responses/409/content/application~1json/examples/address_processing","paths/~1addresses/get/responses/409/content/application~1json/examples/currency_disabled"]},{"code":"500","description":"Unexpected internal error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/500/content/application~1json/examples/internal_error"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/500/content/application~1json/examples/internal_error"]},{"code":"503","description":"Retry with the same business fields after backoff.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/503/content/application~1json/examples/price_unavailable","paths/~1addresses/get/responses/503/content/application~1json/examples/dependency_unavailable"]}},"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/503/content/application~1json/examples/price_unavailable","paths/~1addresses/get/responses/503/content/application~1json/examples/dependency_unavailable"]}],"pointer":"/paths/~1addresses/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/AddressEnvelope","exampleIds":["paths/~1addresses/get/responses/200/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1addresses/get/responses/400/content/application~1json/examples/unsupported_chain_token"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/400/content/application~1json/examples/invalid_parameter","paths/~1addresses/get/responses/400/content/application~1json/examples/unsupported_chain_token"]}}},{"code":"401","schemaId":"schema_7","exampleIds":["paths/~1addresses/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1addresses/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/403/content/application~1json/examples/permission_denied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/403/content/application~1json/examples/permission_denied"]}}},{"code":"404","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/404/content/application~1json/examples/customer_not_found","paths/~1addresses/get/responses/404/content/application~1json/examples/deposit_address_not_found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/404/content/application~1json/examples/customer_not_found","paths/~1addresses/get/responses/404/content/application~1json/examples/deposit_address_not_found"]}}},{"code":"409","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1addresses/get/responses/409/content/application~1json/examples/address_processing","paths/~1addresses/get/responses/409/content/application~1json/examples/currency_disabled"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/409/content/application~1json/examples/customer_limit_exceeded","paths/~1addresses/get/responses/409/content/application~1json/examples/address_processing","paths/~1addresses/get/responses/409/content/application~1json/examples/currency_disabled"]}}},{"code":"500","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/500/content/application~1json/examples/internal_error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/500/content/application~1json/examples/internal_error"]}}},{"code":"503","schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/503/content/application~1json/examples/price_unavailable","paths/~1addresses/get/responses/503/content/application~1json/examples/dependency_unavailable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorEnvelope","exampleIds":["paths/~1addresses/get/responses/503/content/application~1json/examples/price_unavailable","paths/~1addresses/get/responses/503/content/application~1json/examples/dependency_unavailable"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/addresses/getmerchantcustomerdepositaddress"}],"panels":[]}]},"httpPath":"/addresses"}],"content":{"contentType":"group","meta":{"name":"Addresses"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Addresses","showPageActions":true},{"nodeType":"markdoc","content":"Create and query permanent address bindings."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/addresses","summary":"Create or reuse a deposit address","prefix":{"name":"post","color":"post"},"badges":[],"link":"/addresses/createmerchantcustomerdepositaddress","deprecated":false},{"title":"/addresses","summary":"Get a deposit address","prefix":{"name":"get","color":"get"},"badges":[],"link":"/addresses/getmerchantcustomerdepositaddress","deprecated":false}]}]}]}]}},{"type":"group","label":"Deposit webhooks","link":"/apis/customer-deposits/deposit-webhooks","routeSlug":"/apis/customer-deposits/deposit-webhooks","items":[{"label":"Deposit confirming","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/apis/customer-deposits/deposit-webhooks/notifymerchantcustomerdepositconfirming","routeSlug":"/apis/customer-deposits/deposit-webhooks/notifymerchantcustomerdepositconfirming","metadata":{"seo":{"title":"Deposit confirming","description":"Recognized deposit awaiting network confirmation. Verify HMAC-SHA256 of timestamp.event_id.raw_payload with the Webhook Secret; deduplicate by event ID. Only completed authorizes user-ledger credit."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"notifyMerchantCustomerDepositConfirming","name":"Deposit confirming","isWebhook":true,"pointer":"/paths/merchant_customer_deposit.confirming/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Deposit confirming","isWebhook":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Recognized deposit awaiting network confirmation. Verify HMAC-SHA256 of timestamp.event_id.raw_payload with the Webhook Secret; deduplicate by event ID. Only completed authorizes user-ledger credit."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-Webhook-Timestamp","in":"header","schemaId":"schema_10","required":true},{"name":"X-Webhook-Event-Id","in":"header","schemaId":"schema_11","required":true},{"name":"X-Webhook-Signature-Version","in":"header","schemaId":"schema_12","required":true},{"name":"X-Webhook-Signature","in":"header","schemaId":"schema_13","required":true}],"pointer":"/paths/merchant_customer_deposit.confirming/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"isEvent":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirming/post/requestBody/content/application~1json/examples/event"]}},"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirming/post/requestBody/content/application~1json/examples/event"],"pointer":"/paths/merchant_customer_deposit.confirming/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"merchant_customer_deposit.confirming","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-Webhook-Timestamp","in":"header","required":true,"example":"1794211500","schemaId":"schema_10"},{"name":"X-Webhook-Event-Id","in":"header","required":true,"example":"a96e5344-d49b-455d-aef5-2469f901c10e","schemaId":"schema_11"},{"name":"X-Webhook-Signature-Version","in":"header","required":true,"example":"v1","schemaId":"schema_12"},{"name":"X-Webhook-Signature","in":"header","required":true,"example":"<HEX_HMAC_SHA256>","schemaId":"schema_13"}],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirming/post/requestBody/content/application~1json/examples/event"]}},"responseCodes":["200"],"pointer":"merchant_customer_deposit.confirming","href":"deposit-webhooks/notifymerchantcustomerdepositconfirming","openApiOperationId":"notifyMerchantCustomerDepositConfirming","summary":"Deposit confirming"},"isWebhook":true,"hideReplay":false,"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirming/post/requestBody/content/application~1json/examples/event"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirming/post/requestBody/content/application~1json/examples/event"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Return 200 after durably saving the event; process business logic asynchronously."}],"pointer":"/paths/merchant_customer_deposit.confirming/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/deposit-webhooks/notifymerchantcustomerdepositconfirming"}],"panels":[]}]},"httpPath":"merchant_customer_deposit.confirming"},{"label":"Deposit confirmed","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/apis/customer-deposits/deposit-webhooks/notifymerchantcustomerdepositconfirmed","routeSlug":"/apis/customer-deposits/deposit-webhooks/notifymerchantcustomerdepositconfirmed","metadata":{"seo":{"title":"Deposit confirmed","description":"Network confirmed; merchant credit is not yet complete. Verify HMAC-SHA256 of timestamp.event_id.raw_payload with the Webhook Secret; deduplicate by event ID. Only completed authorizes user-ledger credit."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"notifyMerchantCustomerDepositConfirmed","name":"Deposit confirmed","isWebhook":true,"pointer":"/paths/merchant_customer_deposit.confirmed/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Deposit confirmed","isWebhook":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Network confirmed; merchant credit is not yet complete. Verify HMAC-SHA256 of timestamp.event_id.raw_payload with the Webhook Secret; deduplicate by event ID. Only completed authorizes user-ledger credit."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-Webhook-Timestamp","in":"header","schemaId":"schema_10","required":true},{"name":"X-Webhook-Event-Id","in":"header","schemaId":"schema_11","required":true},{"name":"X-Webhook-Signature-Version","in":"header","schemaId":"schema_12","required":true},{"name":"X-Webhook-Signature","in":"header","schemaId":"schema_13","required":true}],"pointer":"/paths/merchant_customer_deposit.confirmed/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"isEvent":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirmed/post/requestBody/content/application~1json/examples/event"]}},"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirmed/post/requestBody/content/application~1json/examples/event"],"pointer":"/paths/merchant_customer_deposit.confirmed/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"merchant_customer_deposit.confirmed","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-Webhook-Timestamp","in":"header","required":true,"example":"1794211500","schemaId":"schema_10"},{"name":"X-Webhook-Event-Id","in":"header","required":true,"example":"a96e5344-d49b-455d-aef5-2469f901c10e","schemaId":"schema_11"},{"name":"X-Webhook-Signature-Version","in":"header","required":true,"example":"v1","schemaId":"schema_12"},{"name":"X-Webhook-Signature","in":"header","required":true,"example":"<HEX_HMAC_SHA256>","schemaId":"schema_13"}],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirmed/post/requestBody/content/application~1json/examples/event"]}},"responseCodes":["200"],"pointer":"merchant_customer_deposit.confirmed","href":"deposit-webhooks/notifymerchantcustomerdepositconfirmed","openApiOperationId":"notifyMerchantCustomerDepositConfirmed","summary":"Deposit confirmed"},"isWebhook":true,"hideReplay":false,"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirmed/post/requestBody/content/application~1json/examples/event"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.confirmed/post/requestBody/content/application~1json/examples/event"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Return 200 after durably saving the event; process business logic asynchronously."}],"pointer":"/paths/merchant_customer_deposit.confirmed/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/deposit-webhooks/notifymerchantcustomerdepositconfirmed"}],"panels":[]}]},"httpPath":"merchant_customer_deposit.confirmed"},{"label":"Deposit completed","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/apis/customer-deposits/deposit-webhooks/notifymerchantcustomerdepositcompleted","routeSlug":"/apis/customer-deposits/deposit-webhooks/notifymerchantcustomerdepositcompleted","metadata":{"seo":{"title":"Deposit completed","description":"Ledger processing completed. credited_amount may be zero. Verify HMAC-SHA256 of timestamp.event_id.raw_payload with the Webhook Secret; deduplicate by event ID. Only completed authorizes user-ledger credit."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"notifyMerchantCustomerDepositCompleted","name":"Deposit completed","isWebhook":true,"pointer":"/paths/merchant_customer_deposit.completed/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Deposit completed","isWebhook":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ledger processing completed. credited_amount may be zero. Verify HMAC-SHA256 of timestamp.event_id.raw_payload with the Webhook Secret; deduplicate by event ID. Only completed authorizes user-ledger credit."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-Webhook-Timestamp","in":"header","schemaId":"schema_10","required":true},{"name":"X-Webhook-Event-Id","in":"header","schemaId":"schema_11","required":true},{"name":"X-Webhook-Signature-Version","in":"header","schemaId":"schema_12","required":true},{"name":"X-Webhook-Signature","in":"header","schemaId":"schema_13","required":true}],"pointer":"/paths/merchant_customer_deposit.completed/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"isEvent":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/event","paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/zeroNet"]}},"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/event","paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/zeroNet"],"pointer":"/paths/merchant_customer_deposit.completed/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"merchant_customer_deposit.completed","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-Webhook-Timestamp","in":"header","required":true,"example":"1794211500","schemaId":"schema_10"},{"name":"X-Webhook-Event-Id","in":"header","required":true,"example":"a96e5344-d49b-455d-aef5-2469f901c10e","schemaId":"schema_11"},{"name":"X-Webhook-Signature-Version","in":"header","required":true,"example":"v1","schemaId":"schema_12"},{"name":"X-Webhook-Signature","in":"header","required":true,"example":"<HEX_HMAC_SHA256>","schemaId":"schema_13"}],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/event","paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/zeroNet"]}},"responseCodes":["200"],"pointer":"merchant_customer_deposit.completed","href":"deposit-webhooks/notifymerchantcustomerdepositcompleted","openApiOperationId":"notifyMerchantCustomerDepositCompleted","summary":"Deposit completed"},"isWebhook":true,"hideReplay":false,"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/event","paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/zeroNet"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/event","paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/zeroNet"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Return 200 after durably saving the event; process business logic asynchronously."}],"pointer":"/paths/merchant_customer_deposit.completed/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/deposit-webhooks/notifymerchantcustomerdepositcompleted"}],"panels":[]}]},"httpPath":"merchant_customer_deposit.completed"},{"label":"Deposit failed","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/apis/customer-deposits/deposit-webhooks/notifymerchantcustomerdepositfailed","routeSlug":"/apis/customer-deposits/deposit-webhooks/notifymerchantcustomerdepositfailed","metadata":{"seo":{"title":"Deposit failed","description":"Recognized deposit explicitly failed or became invalid on-chain. Verify HMAC-SHA256 of timestamp.event_id.raw_payload with the Webhook Secret; deduplicate by event ID. Only completed authorizes user-ledger credit."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"notifyMerchantCustomerDepositFailed","name":"Deposit failed","isWebhook":true,"pointer":"/paths/merchant_customer_deposit.failed/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Deposit failed","isWebhook":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Recognized deposit explicitly failed or became invalid on-chain. Verify HMAC-SHA256 of timestamp.event_id.raw_payload with the Webhook Secret; deduplicate by event ID. Only completed authorizes user-ledger credit."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-Webhook-Timestamp","in":"header","schemaId":"schema_10","required":true},{"name":"X-Webhook-Event-Id","in":"header","schemaId":"schema_11","required":true},{"name":"X-Webhook-Signature-Version","in":"header","schemaId":"schema_12","required":true},{"name":"X-Webhook-Signature","in":"header","schemaId":"schema_13","required":true}],"pointer":"/paths/merchant_customer_deposit.failed/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"isEvent":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.failed/post/requestBody/content/application~1json/examples/event"]}},"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.failed/post/requestBody/content/application~1json/examples/event"],"pointer":"/paths/merchant_customer_deposit.failed/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"merchant_customer_deposit.failed","servers":[{"url":"/_mock/apis/customer-deposits","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-Webhook-Timestamp","in":"header","required":true,"example":"1794211500","schemaId":"schema_10"},{"name":"X-Webhook-Event-Id","in":"header","required":true,"example":"a96e5344-d49b-455d-aef5-2469f901c10e","schemaId":"schema_11"},{"name":"X-Webhook-Signature-Version","in":"header","required":true,"example":"v1","schemaId":"schema_12"},{"name":"X-Webhook-Signature","in":"header","required":true,"example":"<HEX_HMAC_SHA256>","schemaId":"schema_13"}],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.failed/post/requestBody/content/application~1json/examples/event"]}},"responseCodes":["200"],"pointer":"merchant_customer_deposit.failed","href":"deposit-webhooks/notifymerchantcustomerdepositfailed","openApiOperationId":"notifyMerchantCustomerDepositFailed","summary":"Deposit failed"},"isWebhook":true,"hideReplay":false,"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.failed/post/requestBody/content/application~1json/examples/event"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DepositWebhookEnvelope","exampleIds":["paths/merchant_customer_deposit.failed/post/requestBody/content/application~1json/examples/event"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Return 200 after durably saving the event; process business logic asynchronously."}],"pointer":"/paths/merchant_customer_deposit.failed/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/deposit-webhooks/notifymerchantcustomerdepositfailed"}],"panels":[]}]},"httpPath":"merchant_customer_deposit.failed"}],"content":{"contentType":"group","meta":{"name":"Deposit webhooks"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Deposit webhooks","showPageActions":true},{"nodeType":"markdoc","content":"Deposit status events sent by Infini to the merchant Webhook URL."}],"panels":[{"children":[{"kind":"group-items","title":"Webhooks","titleTranslationKey":"webhooks","items":[{"title":"merchant_customer_deposit.confirming","summary":"Deposit confirming","prefix":{"name":"post","color":"post"},"badges":[],"link":"/deposit-webhooks/notifymerchantcustomerdepositconfirming","deprecated":false},{"title":"merchant_customer_deposit.confirmed","summary":"Deposit confirmed","prefix":{"name":"post","color":"post"},"badges":[],"link":"/deposit-webhooks/notifymerchantcustomerdepositconfirmed","deprecated":false},{"title":"merchant_customer_deposit.completed","summary":"Deposit completed","prefix":{"name":"post","color":"post"},"badges":[],"link":"/deposit-webhooks/notifymerchantcustomerdepositcompleted","deprecated":false},{"title":"merchant_customer_deposit.failed","summary":"Deposit failed","prefix":{"name":"post","color":"post"},"badges":[],"link":"/deposit-webhooks/notifymerchantcustomerdepositfailed","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/CustomerID":{"id":"components/schemas/CustomerID","kind":"json-schema","title":"CustomerID","data":{"type":"integer","description":"Positive signed 32-bit Customer ID.","example":583174926,"format":"int32","minimum":1,"maximum":2147483647}},"components/schemas/Customer":{"id":"components/schemas/Customer","kind":"json-schema","title":"Customer","data":{"type":"object","required":["customer_id","external_user_id","name","email","remark","created_at","updated_at"],"properties":{"customer_id":{"$ref":"#/components/schemas/CustomerID"},"external_user_id":{"type":"string","description":"Immutable merchant user ID, case-sensitive.","example":"user_1001","minLength":1,"maxLength":80},"name":{"type":"string","description":"Customer name; null when absent.","example":"Alice","nullable":true,"maxLength":256},"email":{"type":"string","description":"Normalized lowercase email; null when absent.","example":"alice@example.com","nullable":true,"maxLength":256},"remark":{"type":"string","description":"Merchant remark; null when absent.","example":"VIP customer","nullable":true,"maxLength":500},"created_at":{"type":"integer","description":"First creation time. Unix seconds, not milliseconds.","example":1794211200,"format":"int64","minimum":0},"updated_at":{"type":"integer","description":"Last actual profile change; unchanged retries do not advance it. Unix seconds, not milliseconds.","example":1794211200,"format":"int64","minimum":0}}}},"components/schemas/UpsertCustomerRequest":{"id":"components/schemas/UpsertCustomerRequest","kind":"json-schema","title":"UpsertCustomerRequest","data":{"type":"object","required":["external_user_id"],"properties":{"external_user_id":{"type":"string","description":"Immutable merchant user ID, case-sensitive.","example":"user_1001","minLength":1,"maxLength":80},"name":{"type":"string","description":"Customer name; null when absent.","example":"Alice","nullable":true,"maxLength":256},"email":{"type":"string","description":"Normalized lowercase email; null when absent.","example":"alice@example.com","nullable":true,"maxLength":256},"remark":{"type":"string","description":"Merchant remark; null when absent.","example":"VIP customer","nullable":true,"maxLength":500}}}},"components/schemas/CustomerQuota":{"id":"components/schemas/CustomerQuota","kind":"json-schema","title":"CustomerQuota","data":{"type":"object","required":["limit","used"],"properties":{"limit":{"type":"integer","description":"Effective Customer limit for this merchant and environment.","example":50,"minimum":0},"used":{"type":"integer","description":"Created Customer count; repeated updates do not consume quota. Calculate remaining as max(limit - used, 0).","example":12,"minimum":0}}}},"components/schemas/AddressRequest":{"id":"components/schemas/AddressRequest","kind":"json-schema","title":"AddressRequest","data":{"type":"object","required":["customer_id","asset","network"],"properties":{"customer_id":{"$ref":"#/components/schemas/CustomerID"},"asset":{"type":"string","description":"Supported asset code; query currencies for availability.","example":"USDT","minLength":1,"maxLength":12},"network":{"type":"string","description":"Supported network code.","example":"ETHEREUM","minLength":1,"maxLength":32}}}},"components/schemas/DepositAddress":{"id":"components/schemas/DepositAddress","kind":"json-schema","title":"DepositAddress","data":{"type":"object","required":["deposit_address_id","customer_id","asset","network","address","required_confirmations","min_deposit_amount","created_at"],"properties":{"deposit_address_id":{"type":"string","description":"Stable asset/network binding ID; different bindings may share a physical address.","example":"d498f76d-42a9-447c-bdad-c10f72d18844","format":"uuid"},"customer_id":{"$ref":"#/components/schemas/CustomerID"},"asset":{"type":"string","description":"Supported asset code; query currencies for availability.","example":"USDT","minLength":1,"maxLength":12},"network":{"type":"string","description":"Supported network code.","example":"ETHEREUM","minLength":1,"maxLength":32},"address":{"type":"string","description":"Ready-to-use address. Example is illustrative only; do not send funds to it.","example":"0x1111111111111111111111111111111111111111","minLength":1},"required_confirmations":{"type":"integer","description":"Network confirmation requirement; use the actual returned value.","example":12,"minimum":0},"min_deposit_amount":{"type":"string","description":"Current threshold in asset units, derived from USD configuration and the current price. Zero means no threshold. Does not lock future pricing.","example":"0.01"},"created_at":{"type":"integer","description":"First successful binding time, unchanged on reuse. Unix seconds, not milliseconds.","example":1794211260,"format":"int64","minimum":0}}}},"components/schemas/CurrencyNetwork":{"id":"components/schemas/CurrencyNetwork","kind":"json-schema","title":"CurrencyNetwork","data":{"type":"object","required":["network","network_name","min_deposit_amount","fixed_fee"],"properties":{"network":{"type":"string","description":"Network code.","example":"ETHEREUM"},"network_name":{"type":"string","description":"Network display name.","example":"Ethereum"},"min_deposit_amount":{"type":"string","description":"Current threshold in asset units, derived from USD configuration and the current price. Zero means no threshold. Does not lock future pricing.","example":"0.01"},"fixed_fee":{"type":"string","description":"Fixed additional below-minimum fee, always denominated in USD. Normal acquiring fees also apply.","example":"0.01"}}}},"components/schemas/Currency":{"id":"components/schemas/Currency","kind":"json-schema","title":"Currency","data":{"type":"object","required":["asset","asset_name","networks"],"properties":{"asset":{"type":"string","description":"Asset code.","example":"USDT"},"asset_name":{"type":"string","description":"Asset display name.","example":"Tether"},"networks":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/CurrencyNetwork"}}}}},"components/schemas/CustomerEnvelope":{"id":"components/schemas/CustomerEnvelope","kind":"json-schema","title":"CustomerEnvelope","data":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"integer","description":"Zero indicates success.","example":0,"enum":[0]},"message":{"type":"string","description":"Response message.","example":""},"data":{"$ref":"#/components/schemas/Customer"}}}},"components/schemas/AddressEnvelope":{"id":"components/schemas/AddressEnvelope","kind":"json-schema","title":"AddressEnvelope","data":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"integer","description":"Zero indicates success.","example":0,"enum":[0]},"message":{"type":"string","description":"Response message.","example":""},"data":{"$ref":"#/components/schemas/DepositAddress"}}}},"components/schemas/QuotaEnvelope":{"id":"components/schemas/QuotaEnvelope","kind":"json-schema","title":"QuotaEnvelope","data":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"integer","description":"Zero indicates success.","example":0,"enum":[0]},"message":{"type":"string","description":"Response message.","example":""},"data":{"$ref":"#/components/schemas/CustomerQuota"}}}},"components/schemas/CurrenciesEnvelope":{"id":"components/schemas/CurrenciesEnvelope","kind":"json-schema","title":"CurrenciesEnvelope","data":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"integer","description":"Zero indicates success.","example":0,"enum":[0]},"message":{"type":"string","description":"Response message.","example":""},"data":{"type":"array","items":{"$ref":"#/components/schemas/Currency"}}}}},"components/schemas/ErrorDetail":{"id":"components/schemas/ErrorDetail","kind":"json-schema","title":"ErrorDetail","data":{"type":"object","required":["error","field","retryable"],"properties":{"error":{"type":"string","description":"Stable machine-readable error identifier.","example":"customer_limit_exceeded"},"field":{"type":"string","description":"Related field, or null.","example":"external_user_id","nullable":true},"retryable":{"type":"boolean","description":"Whether to retry using the same business fields.","example":false}}}},"components/schemas/ErrorEnvelope":{"id":"components/schemas/ErrorEnvelope","kind":"json-schema","title":"ErrorEnvelope","data":{"type":"object","required":["code","message","data"],"properties":{"code":{"type":"integer","description":"Non-zero business error code.","example":47003,"minimum":1},"message":{"type":"string","description":"Human-readable description; do not branch on this text.","example":"Customer limit reached"},"data":{"$ref":"#/components/schemas/ErrorDetail"}}}},"components/schemas/GatewayError":{"id":"components/schemas/GatewayError","kind":"json-schema","title":"GatewayError","data":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Gateway rejection can occur before the application envelope is produced.","example":"client request can't be validated"}}}},"components/schemas/DepositWebhookData":{"id":"components/schemas/DepositWebhookData","kind":"json-schema","title":"DepositWebhookData","data":{"type":"object","required":["deposit_id","transaction_id","customer_id","external_user_id","asset","network","amount","address","tx_hash","status","credited_amount","credited_currency","failure_code","failure_message","created_at","updated_at","completed_at"],"properties":{"deposit_id":{"type":"string","description":"Stable deposit identity; one hash can identify multiple deposits.","example":"c2239a50-ce71-4b11-ae83-f69c70e36da7","format":"uuid"},"transaction_id":{"type":"string","description":"Non-null ledger transaction ID only for completed, including zero credit; deduplicate final credit by this ID.","example":"7a2a406e-5d71-4e8a-9bf4-b95fe2308183","nullable":true},"customer_id":{"$ref":"#/components/schemas/CustomerID"},"external_user_id":{"type":"string","description":"Immutable merchant user ID, case-sensitive.","example":"user_1001","minLength":1,"maxLength":80},"asset":{"type":"string","description":"Supported asset code; query currencies for availability.","example":"USDT","minLength":1,"maxLength":12},"network":{"type":"string","description":"Supported network code.","example":"ETHEREUM","minLength":1,"maxLength":32},"amount":{"type":"string","description":"Actual on-chain amount in asset units.","example":"100"},"address":{"type":"string","description":"Ready-to-use address. Example is illustrative only; do not send funds to it.","example":"0x1111111111111111111111111111111111111111","minLength":1},"tx_hash":{"type":"string","description":"Transaction hash; never use it as the sole deposit or credit deduplication key.","example":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"},"status":{"type":"string","description":"Deposit state corresponding to this event.","example":"completed","enum":["confirming","confirmed","completed","failed"]},"credited_amount":{"type":"string","description":"Actual credit amount; completed requires a value including zero, other events use null.","example":"99","nullable":true},"credited_currency":{"type":"string","description":"Actual credited currency; completed requires a value, other events use null.","example":"USDT","nullable":true},"failure_code":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Non-null only for failed. CHAIN_EXECUTION_FAILED or CHAIN_TRANSACTION_INVALID. KYT delays are not chain failures."},"children":[],"type":"text"}],"type":"paragraph"}],"example":null,"nullable":true},"failure_message":{"type":"string","description":"Non-null failure explanation only for failed.","example":null,"nullable":true},"created_at":{"type":"integer","description":"Deposit creation time. Unix seconds, not milliseconds.","example":1794211380,"format":"int64","minimum":0},"updated_at":{"type":"integer","description":"This event snapshot update time. Unix seconds, not milliseconds.","example":1794211500,"format":"int64","minimum":0},"completed_at":{"type":"integer","description":"Ledger processing completion time; null for other states. Unix seconds, not milliseconds.","example":1794211500,"format":"int64","minimum":0,"nullable":true}}}},"components/schemas/DepositWebhookEnvelope":{"id":"components/schemas/DepositWebhookEnvelope","kind":"json-schema","title":"DepositWebhookEnvelope","data":{"type":"object","required":["id","event","version","occurred_at","data"],"properties":{"id":{"type":"string","description":"Delivery event ID; matches X-Webhook-Event-Id and is stable on retry.","example":"a96e5344-d49b-455d-aef5-2469f901c10e"},"event":{"type":"string","description":"Exact subscribed event name.","example":"merchant_customer_deposit.completed","enum":["merchant_customer_deposit.confirming","merchant_customer_deposit.confirmed","merchant_customer_deposit.completed","merchant_customer_deposit.failed"]},"version":{"type":"integer","description":"Public envelope version.","example":1,"enum":[1]},"occurred_at":{"type":"integer","description":"Event creation time. Unix seconds, not milliseconds.","example":1794211500,"format":"int64","minimum":0},"data":{"$ref":"#/components/schemas/DepositWebhookData"}}}},"schema_0":{"kind":"json-schema","data":{"type":"string","maxLength":12,"example":"USDT"},"id":"schema_0"},"schema_1":{"kind":"json-schema","data":{"type":"string","maxLength":32,"example":"ETHEREUM"},"id":"schema_1"},"schema_2":{"kind":"json-schema","data":{"type":"string","example":"<KEY_ID>"},"id":"schema_2"},"schema_3":{"kind":"json-schema","data":{"type":"string","example":"1794211200"},"id":"schema_3"},"schema_4":{"kind":"json-schema","data":{"type":"string","example":"AAECAwQFBgcICQoLDA0ODw"},"id":"schema_4"},"schema_5":{"kind":"json-schema","data":{"type":"string","example":"SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"string","example":"Ed25519 signature=\"<BASE64_SIGNATURE>\""},"id":"schema_6"},"schema_7":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/ErrorEnvelope"},{"$ref":"#/components/schemas/GatewayError"}]},"id":"schema_7"},"schema_8":{"kind":"json-schema","data":{"$ref":"#/components/schemas/CustomerID"},"id":"schema_8"},"schema_9":{"kind":"json-schema","data":{"type":"string","minLength":1,"maxLength":80,"example":"user_1001"},"id":"schema_9"},"schema_10":{"kind":"json-schema","data":{"type":"string","example":"1794211500"},"id":"schema_10"},"schema_11":{"kind":"json-schema","data":{"type":"string","example":"a96e5344-d49b-455d-aef5-2469f901c10e"},"id":"schema_11"},"schema_12":{"kind":"json-schema","data":{"type":"string","example":"v1"},"id":"schema_12"},"schema_13":{"kind":"json-schema","data":{"type":"string","example":"<HEX_HMAC_SHA256>"},"id":"schema_13"}},"exampleStore":{"paths/~1currencies/get/responses/200/content/application~1json/example":{"value":{"code":0,"message":"","data":[{"asset":"USDT","asset_name":"Tether","networks":[{"network":"ETHEREUM","network_name":"Ethereum","min_deposit_amount":"0.01","fixed_fee":"0.01"}]}]},"id":"paths/~1currencies/get/responses/200/content/application~1json/example"},"paths/~1currencies/get/responses/400/content/application~1json/examples/invalid_parameter":{"value":{"code":30013,"message":"Invalid parameter","data":{"error":"invalid_parameter","field":"external_user_id","retryable":false}},"key":"invalid_parameter","summary":"Invalid request field","id":"paths/~1currencies/get/responses/400/content/application~1json/examples/invalid_parameter"},"paths/~1currencies/get/responses/400/content/application~1json/examples/unsupported_chain_token":{"value":{"code":40007,"message":"Unsupported chain or token","data":{"error":"unsupported_chain_token","field":"network","retryable":false}},"key":"unsupported_chain_token","summary":"Unsupported asset and network","id":"paths/~1currencies/get/responses/400/content/application~1json/examples/unsupported_chain_token"},"paths/~1currencies/get/responses/401/content/application~1json/example":{"value":{"message":"client request can't be validated"},"id":"paths/~1currencies/get/responses/401/content/application~1json/example"},"paths/~1currencies/get/responses/403/content/application~1json/examples/permission_denied":{"value":{"code":403,"message":"Permission denied","data":{"error":"permission_denied","field":null,"retryable":false}},"key":"permission_denied","summary":"Permission denied","id":"paths/~1currencies/get/responses/403/content/application~1json/examples/permission_denied"},"paths/~1currencies/get/responses/500/content/application~1json/examples/internal_error":{"value":{"code":500,"message":"Internal error","data":{"error":"internal_error","field":null,"retryable":true}},"key":"internal_error","summary":"Internal error","id":"paths/~1currencies/get/responses/500/content/application~1json/examples/internal_error"},"paths/~1currencies/get/responses/503/content/application~1json/examples/price_unavailable":{"value":{"code":47005,"message":"Price is temporarily unavailable","data":{"error":"price_unavailable","field":null,"retryable":true}},"key":"price_unavailable","summary":"Price temporarily unavailable","id":"paths/~1currencies/get/responses/503/content/application~1json/examples/price_unavailable"},"paths/~1currencies/get/responses/503/content/application~1json/examples/dependency_unavailable":{"value":{"code":47006,"message":"Dependency is temporarily unavailable","data":{"error":"dependency_unavailable","field":null,"retryable":true}},"key":"dependency_unavailable","summary":"Dependency temporarily unavailable","id":"paths/~1currencies/get/responses/503/content/application~1json/examples/dependency_unavailable"},"paths/~1customers/post/requestBody/content/application~1json/example":{"value":{"external_user_id":"user_1001","name":"Alice","email":"alice@example.com","remark":"VIP customer"},"id":"paths/~1customers/post/requestBody/content/application~1json/example"},"paths/~1customers/post/responses/200/content/application~1json/example":{"value":{"code":0,"message":"","data":{"customer_id":583174926,"external_user_id":"user_1001","name":"Alice","email":"alice@example.com","remark":"VIP customer","created_at":1794211200,"updated_at":1794211200}},"id":"paths/~1customers/post/responses/200/content/application~1json/example"},"paths/~1customers/post/responses/201/content/application~1json/example":{"value":{"code":0,"message":"","data":{"customer_id":583174926,"external_user_id":"user_1001","name":"Alice","email":"alice@example.com","remark":"VIP customer","created_at":1794211200,"updated_at":1794211200}},"id":"paths/~1customers/post/responses/201/content/application~1json/example"},"paths/~1customers/post/responses/400/content/application~1json/examples/invalid_parameter":{"value":{"code":30013,"message":"Invalid parameter","data":{"error":"invalid_parameter","field":"external_user_id","retryable":false}},"key":"invalid_parameter","summary":"Invalid request field","id":"paths/~1customers/post/responses/400/content/application~1json/examples/invalid_parameter"},"paths/~1customers/post/responses/400/content/application~1json/examples/unsupported_chain_token":{"value":{"code":40007,"message":"Unsupported chain or token","data":{"error":"unsupported_chain_token","field":"network","retryable":false}},"key":"unsupported_chain_token","summary":"Unsupported asset and network","id":"paths/~1customers/post/responses/400/content/application~1json/examples/unsupported_chain_token"},"paths/~1customers/post/responses/401/content/application~1json/example":{"value":{"message":"client request can't be validated"},"id":"paths/~1customers/post/responses/401/content/application~1json/example"},"paths/~1customers/post/responses/403/content/application~1json/examples/permission_denied":{"value":{"code":403,"message":"Permission denied","data":{"error":"permission_denied","field":null,"retryable":false}},"key":"permission_denied","summary":"Permission denied","id":"paths/~1customers/post/responses/403/content/application~1json/examples/permission_denied"},"paths/~1customers/post/responses/409/content/application~1json/examples/customer_limit_exceeded":{"value":{"code":47003,"message":"Customer limit reached","data":{"error":"customer_limit_exceeded","field":"external_user_id","retryable":false}},"key":"customer_limit_exceeded","summary":"Customer quota reached","id":"paths/~1customers/post/responses/409/content/application~1json/examples/customer_limit_exceeded"},"paths/~1customers/post/responses/409/content/application~1json/examples/address_processing":{"value":{"code":47004,"message":"Address allocation is processing","data":{"error":"address_processing","field":null,"retryable":true}},"key":"address_processing","summary":"Address allocation in progress","id":"paths/~1customers/post/responses/409/content/application~1json/examples/address_processing"},"paths/~1customers/post/responses/409/content/application~1json/examples/currency_disabled":{"value":{"code":40915,"message":"Currency is disabled","data":{"error":"currency_disabled","field":"asset","retryable":false}},"key":"currency_disabled","summary":"Currency disabled","id":"paths/~1customers/post/responses/409/content/application~1json/examples/currency_disabled"},"paths/~1customers/post/responses/500/content/application~1json/examples/internal_error":{"value":{"code":500,"message":"Internal error","data":{"error":"internal_error","field":null,"retryable":true}},"key":"internal_error","summary":"Internal error","id":"paths/~1customers/post/responses/500/content/application~1json/examples/internal_error"},"paths/~1customers/get/responses/200/content/application~1json/example":{"value":{"code":0,"message":"","data":{"customer_id":583174926,"external_user_id":"user_1001","name":"Alice","email":"alice@example.com","remark":"VIP customer","created_at":1794211200,"updated_at":1794211200}},"id":"paths/~1customers/get/responses/200/content/application~1json/example"},"paths/~1customers/get/responses/400/content/application~1json/examples/invalid_parameter":{"value":{"code":30013,"message":"Invalid parameter","data":{"error":"invalid_parameter","field":"external_user_id","retryable":false}},"key":"invalid_parameter","summary":"Invalid request field","id":"paths/~1customers/get/responses/400/content/application~1json/examples/invalid_parameter"},"paths/~1customers/get/responses/400/content/application~1json/examples/unsupported_chain_token":{"value":{"code":40007,"message":"Unsupported chain or token","data":{"error":"unsupported_chain_token","field":"network","retryable":false}},"key":"unsupported_chain_token","summary":"Unsupported asset and network","id":"paths/~1customers/get/responses/400/content/application~1json/examples/unsupported_chain_token"},"paths/~1customers/get/responses/401/content/application~1json/example":{"value":{"message":"client request can't be validated"},"id":"paths/~1customers/get/responses/401/content/application~1json/example"},"paths/~1customers/get/responses/403/content/application~1json/examples/permission_denied":{"value":{"code":403,"message":"Permission denied","data":{"error":"permission_denied","field":null,"retryable":false}},"key":"permission_denied","summary":"Permission denied","id":"paths/~1customers/get/responses/403/content/application~1json/examples/permission_denied"},"paths/~1customers/get/responses/404/content/application~1json/examples/customer_not_found":{"value":{"code":47001,"message":"Customer not found","data":{"error":"customer_not_found","field":"customer_id","retryable":false}},"key":"customer_not_found","summary":"Customer not found","id":"paths/~1customers/get/responses/404/content/application~1json/examples/customer_not_found"},"paths/~1customers/get/responses/404/content/application~1json/examples/deposit_address_not_found":{"value":{"code":47002,"message":"Deposit address not found","data":{"error":"deposit_address_not_found","field":null,"retryable":false}},"key":"deposit_address_not_found","summary":"Address binding not found","id":"paths/~1customers/get/responses/404/content/application~1json/examples/deposit_address_not_found"},"paths/~1customers/get/responses/500/content/application~1json/examples/internal_error":{"value":{"code":500,"message":"Internal error","data":{"error":"internal_error","field":null,"retryable":true}},"key":"internal_error","summary":"Internal error","id":"paths/~1customers/get/responses/500/content/application~1json/examples/internal_error"},"paths/~1customers~1quota/get/responses/200/content/application~1json/example":{"value":{"code":0,"message":"","data":{"limit":50,"used":12}},"id":"paths/~1customers~1quota/get/responses/200/content/application~1json/example"},"paths/~1customers~1quota/get/responses/400/content/application~1json/examples/invalid_parameter":{"value":{"code":30013,"message":"Invalid parameter","data":{"error":"invalid_parameter","field":"external_user_id","retryable":false}},"key":"invalid_parameter","summary":"Invalid request field","id":"paths/~1customers~1quota/get/responses/400/content/application~1json/examples/invalid_parameter"},"paths/~1customers~1quota/get/responses/400/content/application~1json/examples/unsupported_chain_token":{"value":{"code":40007,"message":"Unsupported chain or token","data":{"error":"unsupported_chain_token","field":"network","retryable":false}},"key":"unsupported_chain_token","summary":"Unsupported asset and network","id":"paths/~1customers~1quota/get/responses/400/content/application~1json/examples/unsupported_chain_token"},"paths/~1customers~1quota/get/responses/401/content/application~1json/example":{"value":{"message":"client request can't be validated"},"id":"paths/~1customers~1quota/get/responses/401/content/application~1json/example"},"paths/~1customers~1quota/get/responses/403/content/application~1json/examples/permission_denied":{"value":{"code":403,"message":"Permission denied","data":{"error":"permission_denied","field":null,"retryable":false}},"key":"permission_denied","summary":"Permission denied","id":"paths/~1customers~1quota/get/responses/403/content/application~1json/examples/permission_denied"},"paths/~1customers~1quota/get/responses/500/content/application~1json/examples/internal_error":{"value":{"code":500,"message":"Internal error","data":{"error":"internal_error","field":null,"retryable":true}},"key":"internal_error","summary":"Internal error","id":"paths/~1customers~1quota/get/responses/500/content/application~1json/examples/internal_error"},"paths/~1addresses/post/requestBody/content/application~1json/example":{"value":{"customer_id":583174926,"asset":"USDT","network":"ETHEREUM"},"id":"paths/~1addresses/post/requestBody/content/application~1json/example"},"paths/~1addresses/post/responses/200/content/application~1json/example":{"value":{"code":0,"message":"","data":{"deposit_address_id":"d498f76d-42a9-447c-bdad-c10f72d18844","customer_id":583174926,"asset":"USDT","network":"ETHEREUM","address":"0x1111111111111111111111111111111111111111","required_confirmations":12,"min_deposit_amount":"0.01","created_at":1794211260}},"id":"paths/~1addresses/post/responses/200/content/application~1json/example"},"paths/~1addresses/post/responses/201/content/application~1json/example":{"value":{"code":0,"message":"","data":{"deposit_address_id":"d498f76d-42a9-447c-bdad-c10f72d18844","customer_id":583174926,"asset":"USDT","network":"ETHEREUM","address":"0x1111111111111111111111111111111111111111","required_confirmations":12,"min_deposit_amount":"0.01","created_at":1794211260}},"id":"paths/~1addresses/post/responses/201/content/application~1json/example"},"paths/~1addresses/post/responses/400/content/application~1json/examples/invalid_parameter":{"value":{"code":30013,"message":"Invalid parameter","data":{"error":"invalid_parameter","field":"external_user_id","retryable":false}},"key":"invalid_parameter","summary":"Invalid request field","id":"paths/~1addresses/post/responses/400/content/application~1json/examples/invalid_parameter"},"paths/~1addresses/post/responses/400/content/application~1json/examples/unsupported_chain_token":{"value":{"code":40007,"message":"Unsupported chain or token","data":{"error":"unsupported_chain_token","field":"network","retryable":false}},"key":"unsupported_chain_token","summary":"Unsupported asset and network","id":"paths/~1addresses/post/responses/400/content/application~1json/examples/unsupported_chain_token"},"paths/~1addresses/post/responses/401/content/application~1json/example":{"value":{"message":"client request can't be validated"},"id":"paths/~1addresses/post/responses/401/content/application~1json/example"},"paths/~1addresses/post/responses/403/content/application~1json/examples/permission_denied":{"value":{"code":403,"message":"Permission denied","data":{"error":"permission_denied","field":null,"retryable":false}},"key":"permission_denied","summary":"Permission denied","id":"paths/~1addresses/post/responses/403/content/application~1json/examples/permission_denied"},"paths/~1addresses/post/responses/404/content/application~1json/examples/customer_not_found":{"value":{"code":47001,"message":"Customer not found","data":{"error":"customer_not_found","field":"customer_id","retryable":false}},"key":"customer_not_found","summary":"Customer not found","id":"paths/~1addresses/post/responses/404/content/application~1json/examples/customer_not_found"},"paths/~1addresses/post/responses/404/content/application~1json/examples/deposit_address_not_found":{"value":{"code":47002,"message":"Deposit address not found","data":{"error":"deposit_address_not_found","field":null,"retryable":false}},"key":"deposit_address_not_found","summary":"Address binding not found","id":"paths/~1addresses/post/responses/404/content/application~1json/examples/deposit_address_not_found"},"paths/~1addresses/post/responses/409/content/application~1json/examples/customer_limit_exceeded":{"value":{"code":47003,"message":"Customer limit reached","data":{"error":"customer_limit_exceeded","field":"external_user_id","retryable":false}},"key":"customer_limit_exceeded","summary":"Customer quota reached","id":"paths/~1addresses/post/responses/409/content/application~1json/examples/customer_limit_exceeded"},"paths/~1addresses/post/responses/409/content/application~1json/examples/address_processing":{"value":{"code":47004,"message":"Address allocation is processing","data":{"error":"address_processing","field":null,"retryable":true}},"key":"address_processing","summary":"Address allocation in progress","id":"paths/~1addresses/post/responses/409/content/application~1json/examples/address_processing"},"paths/~1addresses/post/responses/409/content/application~1json/examples/currency_disabled":{"value":{"code":40915,"message":"Currency is disabled","data":{"error":"currency_disabled","field":"asset","retryable":false}},"key":"currency_disabled","summary":"Currency disabled","id":"paths/~1addresses/post/responses/409/content/application~1json/examples/currency_disabled"},"paths/~1addresses/post/responses/500/content/application~1json/examples/internal_error":{"value":{"code":500,"message":"Internal error","data":{"error":"internal_error","field":null,"retryable":true}},"key":"internal_error","summary":"Internal error","id":"paths/~1addresses/post/responses/500/content/application~1json/examples/internal_error"},"paths/~1addresses/post/responses/503/content/application~1json/examples/price_unavailable":{"value":{"code":47005,"message":"Price is temporarily unavailable","data":{"error":"price_unavailable","field":null,"retryable":true}},"key":"price_unavailable","summary":"Price temporarily unavailable","id":"paths/~1addresses/post/responses/503/content/application~1json/examples/price_unavailable"},"paths/~1addresses/post/responses/503/content/application~1json/examples/dependency_unavailable":{"value":{"code":47006,"message":"Dependency is temporarily unavailable","data":{"error":"dependency_unavailable","field":null,"retryable":true}},"key":"dependency_unavailable","summary":"Dependency temporarily unavailable","id":"paths/~1addresses/post/responses/503/content/application~1json/examples/dependency_unavailable"},"paths/~1addresses/get/responses/200/content/application~1json/example":{"value":{"code":0,"message":"","data":{"deposit_address_id":"d498f76d-42a9-447c-bdad-c10f72d18844","customer_id":583174926,"asset":"USDT","network":"ETHEREUM","address":"0x1111111111111111111111111111111111111111","required_confirmations":12,"min_deposit_amount":"0.01","created_at":1794211260}},"id":"paths/~1addresses/get/responses/200/content/application~1json/example"},"paths/~1addresses/get/responses/400/content/application~1json/examples/invalid_parameter":{"value":{"code":30013,"message":"Invalid parameter","data":{"error":"invalid_parameter","field":"external_user_id","retryable":false}},"key":"invalid_parameter","summary":"Invalid request field","id":"paths/~1addresses/get/responses/400/content/application~1json/examples/invalid_parameter"},"paths/~1addresses/get/responses/400/content/application~1json/examples/unsupported_chain_token":{"value":{"code":40007,"message":"Unsupported chain or token","data":{"error":"unsupported_chain_token","field":"network","retryable":false}},"key":"unsupported_chain_token","summary":"Unsupported asset and network","id":"paths/~1addresses/get/responses/400/content/application~1json/examples/unsupported_chain_token"},"paths/~1addresses/get/responses/401/content/application~1json/example":{"value":{"message":"client request can't be validated"},"id":"paths/~1addresses/get/responses/401/content/application~1json/example"},"paths/~1addresses/get/responses/403/content/application~1json/examples/permission_denied":{"value":{"code":403,"message":"Permission denied","data":{"error":"permission_denied","field":null,"retryable":false}},"key":"permission_denied","summary":"Permission denied","id":"paths/~1addresses/get/responses/403/content/application~1json/examples/permission_denied"},"paths/~1addresses/get/responses/404/content/application~1json/examples/customer_not_found":{"value":{"code":47001,"message":"Customer not found","data":{"error":"customer_not_found","field":"customer_id","retryable":false}},"key":"customer_not_found","summary":"Customer not found","id":"paths/~1addresses/get/responses/404/content/application~1json/examples/customer_not_found"},"paths/~1addresses/get/responses/404/content/application~1json/examples/deposit_address_not_found":{"value":{"code":47002,"message":"Deposit address not found","data":{"error":"deposit_address_not_found","field":null,"retryable":false}},"key":"deposit_address_not_found","summary":"Address binding not found","id":"paths/~1addresses/get/responses/404/content/application~1json/examples/deposit_address_not_found"},"paths/~1addresses/get/responses/409/content/application~1json/examples/customer_limit_exceeded":{"value":{"code":47003,"message":"Customer limit reached","data":{"error":"customer_limit_exceeded","field":"external_user_id","retryable":false}},"key":"customer_limit_exceeded","summary":"Customer quota reached","id":"paths/~1addresses/get/responses/409/content/application~1json/examples/customer_limit_exceeded"},"paths/~1addresses/get/responses/409/content/application~1json/examples/address_processing":{"value":{"code":47004,"message":"Address allocation is processing","data":{"error":"address_processing","field":null,"retryable":true}},"key":"address_processing","summary":"Address allocation in progress","id":"paths/~1addresses/get/responses/409/content/application~1json/examples/address_processing"},"paths/~1addresses/get/responses/409/content/application~1json/examples/currency_disabled":{"value":{"code":40915,"message":"Currency is disabled","data":{"error":"currency_disabled","field":"asset","retryable":false}},"key":"currency_disabled","summary":"Currency disabled","id":"paths/~1addresses/get/responses/409/content/application~1json/examples/currency_disabled"},"paths/~1addresses/get/responses/500/content/application~1json/examples/internal_error":{"value":{"code":500,"message":"Internal error","data":{"error":"internal_error","field":null,"retryable":true}},"key":"internal_error","summary":"Internal error","id":"paths/~1addresses/get/responses/500/content/application~1json/examples/internal_error"},"paths/~1addresses/get/responses/503/content/application~1json/examples/price_unavailable":{"value":{"code":47005,"message":"Price is temporarily unavailable","data":{"error":"price_unavailable","field":null,"retryable":true}},"key":"price_unavailable","summary":"Price temporarily unavailable","id":"paths/~1addresses/get/responses/503/content/application~1json/examples/price_unavailable"},"paths/~1addresses/get/responses/503/content/application~1json/examples/dependency_unavailable":{"value":{"code":47006,"message":"Dependency is temporarily unavailable","data":{"error":"dependency_unavailable","field":null,"retryable":true}},"key":"dependency_unavailable","summary":"Dependency temporarily unavailable","id":"paths/~1addresses/get/responses/503/content/application~1json/examples/dependency_unavailable"},"paths/merchant_customer_deposit.confirming/post/requestBody/content/application~1json/examples/event":{"value":{"id":"a96e5344-d49b-455d-aef5-2469f901c10e","event":"merchant_customer_deposit.confirming","version":1,"occurred_at":1794211500,"data":{"deposit_id":"c2239a50-ce71-4b11-ae83-f69c70e36da7","transaction_id":null,"customer_id":583174926,"external_user_id":"user_1001","asset":"USDT","network":"ETHEREUM","amount":"100","address":"0x1111111111111111111111111111111111111111","tx_hash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","status":"confirming","credited_amount":null,"credited_currency":null,"failure_code":null,"failure_message":null,"created_at":1794211380,"updated_at":1794211500,"completed_at":null}},"key":"event","summary":"Deposit confirming","id":"paths/merchant_customer_deposit.confirming/post/requestBody/content/application~1json/examples/event"},"paths/merchant_customer_deposit.confirmed/post/requestBody/content/application~1json/examples/event":{"value":{"id":"a96e5344-d49b-455d-aef5-2469f901c10e","event":"merchant_customer_deposit.confirmed","version":1,"occurred_at":1794211500,"data":{"deposit_id":"c2239a50-ce71-4b11-ae83-f69c70e36da7","transaction_id":null,"customer_id":583174926,"external_user_id":"user_1001","asset":"USDT","network":"ETHEREUM","amount":"100","address":"0x1111111111111111111111111111111111111111","tx_hash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","status":"confirmed","credited_amount":null,"credited_currency":null,"failure_code":null,"failure_message":null,"created_at":1794211380,"updated_at":1794211500,"completed_at":null}},"key":"event","summary":"Deposit confirmed","id":"paths/merchant_customer_deposit.confirmed/post/requestBody/content/application~1json/examples/event"},"paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/event":{"value":{"id":"a96e5344-d49b-455d-aef5-2469f901c10e","event":"merchant_customer_deposit.completed","version":1,"occurred_at":1794211500,"data":{"deposit_id":"c2239a50-ce71-4b11-ae83-f69c70e36da7","transaction_id":"7a2a406e-5d71-4e8a-9bf4-b95fe2308183","customer_id":583174926,"external_user_id":"user_1001","asset":"USDT","network":"ETHEREUM","amount":"100","address":"0x1111111111111111111111111111111111111111","tx_hash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","status":"completed","credited_amount":"99","credited_currency":"USDT","failure_code":null,"failure_message":null,"created_at":1794211380,"updated_at":1794211500,"completed_at":1794211500}},"key":"event","summary":"Deposit completed","id":"paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/event"},"paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/zeroNet":{"value":{"id":"a96e5344-d49b-455d-aef5-2469f901c10e","event":"merchant_customer_deposit.completed","version":1,"occurred_at":1794211500,"data":{"deposit_id":"c2239a50-ce71-4b11-ae83-f69c70e36da7","transaction_id":"7a2a406e-5d71-4e8a-9bf4-b95fe2308183","customer_id":583174926,"external_user_id":"user_1001","asset":"USDT","network":"ETHEREUM","amount":"100","address":"0x1111111111111111111111111111111111111111","tx_hash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","status":"completed","credited_amount":"0","credited_currency":"USDT","failure_code":null,"failure_message":null,"created_at":1794211380,"updated_at":1794211500,"completed_at":1794211500}},"key":"zeroNet","summary":"Zero-net completion","id":"paths/merchant_customer_deposit.completed/post/requestBody/content/application~1json/examples/zeroNet"},"paths/merchant_customer_deposit.failed/post/requestBody/content/application~1json/examples/event":{"value":{"id":"a96e5344-d49b-455d-aef5-2469f901c10e","event":"merchant_customer_deposit.failed","version":1,"occurred_at":1794211500,"data":{"deposit_id":"c2239a50-ce71-4b11-ae83-f69c70e36da7","transaction_id":null,"customer_id":583174926,"external_user_id":"user_1001","asset":"USDT","network":"ETHEREUM","amount":"100","address":"0x1111111111111111111111111111111111111111","tx_hash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","status":"failed","credited_amount":null,"credited_currency":null,"failure_code":"CHAIN_EXECUTION_FAILED","failure_message":"On-chain execution failed","created_at":1794211380,"updated_at":1794211500,"completed_at":null}},"key":"event","summary":"Deposit failed","id":"paths/merchant_customer_deposit.failed/post/requestBody/content/application~1json/examples/event"}},"securitySchemeStore":{"Ed25519":{"id":"Ed25519","type":"apiKey","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ed25519 signature=\"BASE64_SIGNATURE\" plus X-API-Key-ID, X-API-Timestamp, X-API-Nonce and Digest. Never enter private keys into this reference."},"children":[],"type":"text"}],"type":"paragraph"}],"in":"header","paramName":"Authorization"}},"specVersion":"3.0.3","servers":[{"url":"/_mock/apis/customer-deposits","isMockServer":true,"description":"Mock server"},{"url":"https://openapi.infini.money/v2/merchant-customer","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/merchant-customer","description":"Sandbox"}],"specType":"openapi"},"options":{"hideReplay":true,"mockServer":{"url":"/_mock/apis/customer-deposits","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/customer-deposits.json?download"},{"url":"/_bundle/apis/customer-deposits.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false,"asyncapi":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Infini Merchant Customer Deposit API","description":"All operations use /v2/merchant-customer and Ed25519 v2 authentication. See [Integration guide](/docs/en/customer-deposits-api) and [Authentication](/docs/en/4-authorization). Online Try it is disabled; sign on the merchant backend. Fees are merchant-paid. Freeze price, fee policy and settlement currency at network confirmation; below-minimum fees are additional."}},"baseSlug":"/apis/customer-deposits","routesMapping":{}}