{"openapi":"3.1.0","info":{"title":"Bitcofy Pay Provider Merchant API","description":"Public merchant and hosted-checkout API schema for Bitcofy integrators.","version":"0.1.0"},"paths":{"/api/v1/health":{"get":{"summary":"Health","operationId":"health_api_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}},"security":[]}},"/api/v1/public/rates":{"get":{"summary":"List Rates","operationId":"list_rates_api_v1_public_rates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RatesResponse"}}}}},"security":[]}},"/api/v1/public/networks":{"get":{"summary":"List Networks","operationId":"list_networks_api_v1_public_networks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response List Networks Api V1 Public Networks Get"}}}}},"security":[]}},"/api/v1/public/integrations":{"get":{"summary":"List Public Integrations","operationId":"list_public_integrations_api_v1_public_integrations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/IntegrationPluginResponse"},"type":"array","title":"Response List Public Integrations Api V1 Public Integrations Get"}}}}},"security":[]}},"/api/v1/projects/{project_id}/api-keys":{"get":{"summary":"List Project Api Keys","operationId":"list_project_api_keys_api_v1_projects__project_id__api_keys_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectApiKeyResponse"},"title":"Response List Project Api Keys Api V1 Projects  Project Id  Api Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]},"post":{"summary":"Create Project Api Key","operationId":"create_project_api_key_api_v1_projects__project_id__api_keys_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantApiKeyCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectApiKeyCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/projects/{project_id}/api-keys/{key_id}/deactivate":{"post":{"summary":"Deactivate Project Api Key","operationId":"deactivate_project_api_key_api_v1_projects__project_id__api_keys__key_id__deactivate_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectApiKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/projects/{project_id}/security/payout-key":{"post":{"summary":"Register Payout Key","operationId":"register_payout_key_api_v1_projects__project_id__security_payout_key_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRegisterPayoutKeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectPayoutKeyCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/projects/{project_id}/payout-keys":{"get":{"summary":"List Project Payout Keys","operationId":"list_project_payout_keys_api_v1_projects__project_id__payout_keys_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectPayoutKeyResponse"},"title":"Response List Project Payout Keys Api V1 Projects  Project Id  Payout Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/payout-keys/generate":{"post":{"summary":"Generate Project Payout Key","operationId":"generate_project_payout_key_api_v1_projects__project_id__payout_keys_generate_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectGeneratePayoutKeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectPayoutKeyCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/projects/{project_id}/payout-keys/{key_id}/delete":{"post":{"summary":"Delete Project Payout Key","operationId":"delete_project_payout_key_api_v1_projects__project_id__payout_keys__key_id__delete_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectPayoutKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/projects/{project_id}/payout-keys/{key_id}/signing-message-example":{"get":{"summary":"Get Project Payout Key Signing Message Example","operationId":"get_project_payout_key_signing_message_example_api_v1_projects__project_id__payout_keys__key_id__signing_message_example_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectPayoutKeySigningMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/webhook/config":{"post":{"summary":"Configure Project Webhook","operationId":"configure_project_webhook_api_v1_projects__project_id__webhook_config_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfigResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/projects/{project_id}/webhook/test":{"post":{"summary":"Queue Test Webhook","operationId":"queue_test_webhook_api_v1_projects__project_id__webhook_test_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/invoices":{"post":{"summary":"Create Invoice","operationId":"create_invoice_api_v1_invoices_post","parameters":[{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInvoiceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/invoices/{invoice_id}":{"get":{"summary":"Get Invoice","operationId":"get_invoice_api_v1_invoices__invoice_id__get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicInvoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/invoices/{invoice_id}/payments":{"get":{"summary":"Get Invoice Payments","operationId":"get_invoice_payments_api_v1_invoices__invoice_id__payments_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoicePaymentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/public/invoices/by-hash/{invoice_hash}":{"get":{"summary":"Get Invoice By Hash","operationId":"get_invoice_by_hash_api_v1_public_invoices_by_hash__invoice_hash__get","parameters":[{"name":"invoice_hash","in":"path","required":true,"schema":{"type":"string","title":"Invoice Hash"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedPublicInvoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/api/v1/public/invoices/by-hash/{invoice_hash}/payment-session":{"post":{"summary":"Start Public Invoice Payment Session","operationId":"start_public_invoice_payment_session_api_v1_public_invoices_by_hash__invoice_hash__payment_session_post","parameters":[{"name":"invoice_hash","in":"path","required":true,"schema":{"type":"string","title":"Invoice Hash"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicInvoicePaymentSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedPublicInvoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/api/v1/public/invoices/by-hash/{invoice_hash}/payments":{"get":{"summary":"Get Public Invoice Payments By Hash","operationId":"get_public_invoice_payments_by_hash_api_v1_public_invoices_by_hash__invoice_hash__payments_get","parameters":[{"name":"invoice_hash","in":"path","required":true,"schema":{"type":"string","title":"Invoice Hash"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicInvoicePaymentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/api/v1/projects/{project_id}/invoices/by-order/{order_id}":{"get":{"summary":"Poll Invoice By Order","operationId":"poll_invoice_by_order_api_v1_projects__project_id__invoices_by_order__order_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoicePollingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/invoices/{invoice_id}/qr":{"get":{"summary":"Get Invoice Qr","operationId":"get_invoice_qr_api_v1_invoices__invoice_id__qr_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/public/invoices/by-hash/{invoice_hash}/payment-qr":{"get":{"summary":"Get Public Invoice Payment Qr","operationId":"get_public_invoice_payment_qr_api_v1_public_invoices_by_hash__invoice_hash__payment_qr_get","parameters":[{"name":"invoice_hash","in":"path","required":true,"schema":{"type":"string","title":"Invoice Hash"}},{"name":"network","in":"query","required":true,"schema":{"type":"string","title":"Network"}},{"name":"asset","in":"query","required":true,"schema":{"type":"string","title":"Asset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/api/v1/projects/{project_id}/balances":{"get":{"summary":"Get Project Balances","operationId":"get_project_balances_api_v1_projects__project_id__balances_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectBalanceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/transactions":{"get":{"summary":"Get Project Transactions","operationId":"get_project_transactions_api_v1_projects__project_id__transactions_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectTransactionHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/transactions/export.csv":{"get":{"summary":"Export Project Transactions Csv","operationId":"export_project_transactions_csv_api_v1_projects__project_id__transactions_export_csv_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/transactions/export-quickbooks.csv":{"get":{"summary":"Export Project Transactions Quickbooks Csv","operationId":"export_project_transactions_quickbooks_csv_api_v1_projects__project_id__transactions_export_quickbooks_csv_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/payout-requests":{"get":{"summary":"List Project Payout Requests","operationId":"list_project_payout_requests_api_v1_projects__project_id__payout_requests_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PayoutApprovalRequestResponse"},"title":"Response List Project Payout Requests Api V1 Projects  Project Id  Payout Requests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]},"post":{"summary":"Create Project Payout Request","operationId":"create_project_payout_request_api_v1_projects__project_id__payout_requests_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutApprovalRequestCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutApprovalRequestResponse"}}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutAvailabilityErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/projects/{project_id}/payout-requests/by-idempotency/{idempotency_key}":{"get":{"summary":"Poll Project Payout Request By Idempotency","operationId":"poll_project_payout_request_by_idempotency_api_v1_projects__project_id__payout_requests_by_idempotency__idempotency_key__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"idempotency_key","in":"path","required":true,"schema":{"type":"string","title":"Idempotency Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutApprovalRequestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/payout-requests/{request_id}/approve":{"post":{"summary":"Approve Project Payout Request Via Api","operationId":"approve_project_payout_request_via_api_api_v1_projects__project_id__payout_requests__request_id__approve_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutApprovalDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutApprovalRequestResponse"}}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutAvailabilityErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/projects/{project_id}/payout-requests/{request_id}/reject":{"post":{"summary":"Reject Project Payout Request Via Api","operationId":"reject_project_payout_request_via_api_api_v1_projects__project_id__payout_requests__request_id__reject_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutApprovalRejectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutApprovalRequestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/payouts":{"post":{"summary":"Create Payout","operationId":"create_payout_api_v1_payouts_post","parameters":[{"name":"X-API-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Secret"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutResponse"}}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutAvailabilityErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[],"ProjectApiSecret":[]},{"ProjectBearerKey":[],"ProjectApiSecret":[]}]}},"/api/v1/payouts/{payout_id}":{"get":{"summary":"Get Payout","operationId":"get_payout_api_v1_payouts__payout_id__get","parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/payouts/by-idempotency/{idempotency_key}":{"get":{"summary":"Poll Payout By Idempotency","operationId":"poll_payout_by_idempotency_api_v1_projects__project_id__payouts_by_idempotency__idempotency_key__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"idempotency_key","in":"path","required":true,"schema":{"type":"string","title":"Idempotency Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutPollingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/payouts/reconcile":{"get":{"summary":"Reconcile Project Payout","operationId":"reconcile_project_payout_api_v1_projects__project_id__payouts_reconcile_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"}},{"name":"payout_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payout Id"}},{"name":"idempotency_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutReconciliationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}},"/api/v1/projects/{project_id}/webhook/events":{"get":{"summary":"List Project Webhook Events","operationId":"list_project_webhook_events_api_v1_projects__project_id__webhook_events_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEventResponse"},"title":"Response List Project Webhook Events Api V1 Projects  Project Id  Webhook Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ProjectApiKey":[]},{"ProjectBearerKey":[]}]}}},"components":{"schemas":{"BlockchainTransactionResponse":{"properties":{"transaction_id":{"type":"string","title":"Transaction Id"},"invoice_id":{"type":"string","title":"Invoice Id"},"network":{"type":"string","title":"Network"},"asset":{"type":"string","title":"Asset"},"tx_hash":{"type":"string","title":"Tx Hash"},"logical_index":{"type":"string","title":"Logical Index"},"address":{"type":"string","title":"Address"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"confirmations":{"type":"integer","title":"Confirmations"},"block_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Block Number"},"status":{"type":"string","title":"Status"},"buy_type":{"type":"string","title":"Buy Type"},"crediting_status":{"type":"string","title":"Crediting Status"},"net_amount_after_fee":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Amount After Fee","default":"0"},"fee_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Fee Amount","default":"0"},"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"}},"type":"object","required":["transaction_id","invoice_id","network","asset","tx_hash","logical_index","address","amount","confirmations","status","buy_type","crediting_status","detected_at"],"title":"BlockchainTransactionResponse"},"CreateInvoiceRequest":{"properties":{"project_id":{"type":"string","title":"Project Id"},"order_id":{"type":"string","title":"Order Id"},"amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount"},"currency":{"type":"string","title":"Currency"},"buy_type":{"type":"string","maxLength":32,"minLength":1,"title":"Buy Type","default":"package"},"callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback Url"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"},"customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Id"},"customer_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Customer Email"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["project_id","order_id","amount","currency"],"title":"CreateInvoiceRequest"},"DepositAddressResponse":{"properties":{"network":{"type":"string","title":"Network"},"address":{"type":"string","title":"Address"},"derivation_path":{"type":"string","title":"Derivation Path"},"wallet_status":{"type":"string","title":"Wallet Status"}},"type":"object","required":["network","address","derivation_path","wallet_status"],"title":"DepositAddressResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HealthResponse":{"properties":{"status":{"type":"string","title":"Status"},"app":{"type":"string","title":"App"}},"type":"object","required":["status","app"],"title":"HealthResponse"},"HostedPublicInvoiceResponse":{"properties":{"invoice_id":{"type":"string","title":"Invoice Id"},"invoice_hash":{"type":"string","title":"Invoice Hash"},"invoice_url":{"type":"string","title":"Invoice Url"},"requested_usd_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Requested Usd Amount"},"service_fee_usd_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Service Fee Usd Amount"},"total_payable_usd_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Total Payable Usd Amount"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"status":{"type":"string","title":"Status"},"buy_type":{"type":"string","title":"Buy Type"},"invoice_language":{"type":"string","title":"Invoice Language"},"resolved_language":{"type":"string","title":"Resolved Language"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"},"payment_session_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Session Started At"},"payment_session_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Session Expires At"},"payment_session_active":{"type":"boolean","title":"Payment Session Active","default":false},"selected_network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Network"},"selected_asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Asset"},"payment_options":{"items":{"$ref":"#/components/schemas/PaymentOptionResponse"},"type":"array","title":"Payment Options"},"tracked_payment_option":{"anyOf":[{"$ref":"#/components/schemas/PaymentOptionResponse"},{"type":"null"}]},"deposit_addresses":{"items":{"$ref":"#/components/schemas/PublicDepositAddressResponse"},"type":"array","title":"Deposit Addresses"}},"type":"object","required":["invoice_id","invoice_hash","invoice_url","requested_usd_amount","expires_at","status","buy_type","invoice_language","resolved_language","payment_options","deposit_addresses"],"title":"HostedPublicInvoiceResponse"},"IntegrationPluginResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"display_name":{"type":"string","title":"Display Name"},"category":{"type":"string","title":"Category"},"description":{"type":"string","title":"Description"},"supports_webhooks":{"type":"boolean","title":"Supports Webhooks"},"supports_embedded_checkout":{"type":"boolean","title":"Supports Embedded Checkout"},"docs_markdown":{"type":"string","title":"Docs Markdown"}},"type":"object","required":["slug","display_name","category","description","supports_webhooks","supports_embedded_checkout","docs_markdown"],"title":"IntegrationPluginResponse"},"InvoicePaymentsResponse":{"properties":{"invoice_id":{"type":"string","title":"Invoice Id"},"invoice_status":{"type":"string","title":"Invoice Status"},"buy_type":{"type":"string","title":"Buy Type"},"credited_total_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Credited Total Amount","default":"0"},"credited_fee_total":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Credited Fee Total","default":"0"},"items":{"items":{"$ref":"#/components/schemas/BlockchainTransactionResponse"},"type":"array","title":"Items"}},"type":"object","required":["invoice_id","invoice_status","buy_type","items"],"title":"InvoicePaymentsResponse"},"InvoicePollingResponse":{"properties":{"invoice_id":{"type":"string","title":"Invoice Id"},"invoice_hash":{"type":"string","title":"Invoice Hash"},"invoice_url":{"type":"string","title":"Invoice Url"},"requested_usd_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Requested Usd Amount"},"service_fee_usd_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Service Fee Usd Amount"},"total_payable_usd_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Total Payable Usd Amount"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"status":{"type":"string","title":"Status"},"buy_type":{"type":"string","title":"Buy Type"},"invoice_language":{"type":"string","title":"Invoice Language"},"resolved_language":{"type":"string","title":"Resolved Language"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"},"payment_session_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Session Started At"},"payment_session_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Session Expires At"},"payment_session_active":{"type":"boolean","title":"Payment Session Active","default":false},"selected_network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Network"},"selected_asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Asset"},"payment_options":{"items":{"$ref":"#/components/schemas/PaymentOptionResponse"},"type":"array","title":"Payment Options"},"tracked_payment_option":{"anyOf":[{"$ref":"#/components/schemas/PaymentOptionResponse"},{"type":"null"}]},"order_id":{"type":"string","title":"Order Id"},"fiat_currency":{"type":"string","title":"Fiat Currency"},"amount_fiat":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Fiat"},"deposit_addresses":{"items":{"$ref":"#/components/schemas/DepositAddressResponse"},"type":"array","title":"Deposit Addresses"},"project_id":{"type":"string","title":"Project Id"}},"type":"object","required":["invoice_id","invoice_hash","invoice_url","requested_usd_amount","expires_at","status","buy_type","invoice_language","resolved_language","payment_options","order_id","fiat_currency","amount_fiat","deposit_addresses","project_id"],"title":"InvoicePollingResponse"},"InvoiceResponse":{"properties":{"invoice_id":{"type":"string","title":"Invoice Id"},"invoice_hash":{"type":"string","title":"Invoice Hash"},"invoice_url":{"type":"string","title":"Invoice Url"},"requested_usd_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Requested Usd Amount"},"service_fee_usd_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Service Fee Usd Amount"},"total_payable_usd_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Total Payable Usd Amount"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"status":{"type":"string","title":"Status"},"buy_type":{"type":"string","title":"Buy Type"},"invoice_language":{"type":"string","title":"Invoice Language"},"resolved_language":{"type":"string","title":"Resolved Language"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"},"payment_session_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Session Started At"},"payment_session_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Session Expires At"},"payment_session_active":{"type":"boolean","title":"Payment Session Active","default":false},"selected_network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Network"},"selected_asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Asset"},"payment_options":{"items":{"$ref":"#/components/schemas/PaymentOptionResponse"},"type":"array","title":"Payment Options"},"tracked_payment_option":{"anyOf":[{"$ref":"#/components/schemas/PaymentOptionResponse"},{"type":"null"}]}},"type":"object","required":["invoice_id","invoice_hash","invoice_url","requested_usd_amount","expires_at","status","buy_type","invoice_language","resolved_language","payment_options"],"title":"InvoiceResponse"},"MerchantApiKeyCreateRequest":{"properties":{"name":{"type":"string","maxLength":128,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"MerchantApiKeyCreateRequest"},"PaymentOptionResponse":{"properties":{"network":{"type":"string","title":"Network"},"asset":{"type":"string","title":"Asset"},"option_key":{"type":"string","title":"Option Key"},"fee_percent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Fee Percent","default":"0"},"fee_usd_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Fee Usd Amount","default":"0"},"total_payable_usd_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Payable Usd Amount","default":"0"},"amount_crypto":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Crypto"},"rate_value":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Rate Value"},"rate_locked_until":{"type":"string","format":"date-time","title":"Rate Locked Until"},"required_confirmations":{"type":"integer","title":"Required Confirmations"},"network_logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Network Logo Url"},"asset_logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Logo Url"}},"type":"object","required":["network","asset","option_key","amount_crypto","rate_value","rate_locked_until","required_confirmations"],"title":"PaymentOptionResponse"},"PayoutApprovalDecisionRequest":{"properties":{"nonce":{"type":"string","maxLength":255,"minLength":1,"title":"Nonce"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"signature":{"type":"string","minLength":32,"title":"Signature"}},"type":"object","required":["nonce","timestamp","signature"],"title":"PayoutApprovalDecisionRequest"},"PayoutApprovalRejectRequest":{"properties":{"nonce":{"type":"string","maxLength":255,"minLength":1,"title":"Nonce"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"signature":{"type":"string","minLength":32,"title":"Signature"},"rejection_reason":{"type":"string","maxLength":500,"minLength":1,"title":"Rejection Reason"}},"type":"object","required":["nonce","timestamp","signature","rejection_reason"],"title":"PayoutApprovalRejectRequest"},"PayoutApprovalRequestCreateRequest":{"properties":{"network":{"type":"string","title":"Network"},"asset":{"type":"string","title":"Asset"},"amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount"},"destination_address":{"type":"string","title":"Destination Address"},"idempotency_key":{"type":"string","maxLength":255,"minLength":1,"title":"Idempotency Key"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","required":["network","asset","amount","destination_address","idempotency_key"],"title":"PayoutApprovalRequestCreateRequest"},"PayoutApprovalRequestResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"project_id":{"type":"string","title":"Project Id"},"network":{"type":"string","title":"Network"},"asset":{"type":"string","title":"Asset"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"destination_address":{"type":"string","title":"Destination Address"},"status":{"type":"string","title":"Status"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"requested_via":{"type":"string","title":"Requested Via"},"requested_by_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By User Id"},"approved_by_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By User Id"},"rejected_by_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rejected By User Id"},"approved_payout_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved Payout Id"},"approved_payout_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved Payout Status"},"rejection_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rejection Reason"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"}},"type":"object","required":["request_id","project_id","network","asset","amount","destination_address","status","idempotency_key","requested_via","created_at"],"title":"PayoutApprovalRequestResponse"},"PayoutAvailabilityErrorResponse":{"properties":{"detail":{"type":"string","title":"Detail"},"error_code":{"type":"string","title":"Error Code"},"network":{"type":"string","title":"Network"},"asset":{"type":"string","title":"Asset"},"requested_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Requested Amount"},"fee_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Fee Amount"},"available_balance":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available Balance"},"available_aggregated_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available Aggregated Amount"},"pending_aggregation_balance":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Pending Aggregation Balance"}},"type":"object","required":["detail","error_code","network","asset","requested_amount","fee_amount","available_balance","available_aggregated_amount","pending_aggregation_balance"],"title":"PayoutAvailabilityErrorResponse"},"PayoutPollingResponse":{"properties":{"payout_id":{"type":"string","title":"Payout Id"},"project_id":{"type":"string","title":"Project Id"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"operational_expense":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Operational Expense"},"source_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Scope"},"network":{"type":"string","title":"Network"},"asset":{"type":"string","title":"Asset"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"gross_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Gross Amount"},"net_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Net Amount"},"fee_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Fee Amount","default":"0"},"provider_fee_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Provider Fee Amount","default":"0"},"total_reserved":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Total Reserved"},"destination_address":{"type":"string","title":"Destination Address"},"status":{"type":"string","title":"Status"},"provider_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Status"},"final":{"type":"boolean","title":"Final","default":false},"funds_reserved":{"type":"boolean","title":"Funds Reserved","default":false},"funds_released":{"type":"boolean","title":"Funds Released","default":false},"idempotency_key":{"type":"string","title":"Idempotency Key"},"request_nonce":{"type":"string","title":"Request Nonce"},"request_timestamp":{"type":"string","format":"date-time","title":"Request Timestamp"},"gas_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gas Mode"},"rental_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rental Provider"},"rental_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rental Order Id"},"gas_preparation_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gas Preparation Status"},"payout_submitted_fee_native":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Payout Submitted Fee Native"},"payout_actual_fee_native":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Payout Actual Fee Native"},"payout_gas_fee_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payout Gas Fee Source"},"payout_native_required_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Payout Native Required Amount"},"payout_native_current_balance":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Payout Native Current Balance"},"reserve_floor_reached_for_sweeps":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reserve Floor Reached For Sweeps"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"explorer_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Explorer Url"},"processed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Processed At"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"error_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Reason"},"status_history":{"items":{"$ref":"#/components/schemas/PayoutStatusHistoryEntryResponse"},"type":"array","title":"Status History"}},"type":"object","required":["payout_id","project_id","network","asset","amount","destination_address","status","idempotency_key","request_nonce","request_timestamp"],"title":"PayoutPollingResponse"},"PayoutReconciliationResponse":{"properties":{"project_id":{"type":"string","title":"Project Id"},"query_type":{"type":"string","title":"Query Type"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"payout_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payout Id"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"request_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Status"},"payout_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payout Status"},"status":{"type":"string","title":"Status"},"provider_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Status"},"final":{"type":"boolean","title":"Final","default":false},"funds_reserved":{"type":"boolean","title":"Funds Reserved","default":false},"funds_released":{"type":"boolean","title":"Funds Released","default":false},"network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Network"},"asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset"},"gross_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Gross Amount"},"fee_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Fee Amount","default":"0"},"net_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Net Amount"},"destination_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Address"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"explorer_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Explorer Url"},"processed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Processed At"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"rejection_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rejection Reason"},"error_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Reason"},"status_history":{"items":{"$ref":"#/components/schemas/PayoutStatusHistoryEntryResponse"},"type":"array","title":"Status History"}},"type":"object","required":["project_id","query_type","status"],"title":"PayoutReconciliationResponse"},"PayoutRequest":{"properties":{"project_id":{"type":"string","title":"Project Id"},"asset":{"type":"string","title":"Asset"},"network":{"type":"string","title":"Network"},"amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount"},"destination_address":{"type":"string","title":"Destination Address"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"nonce":{"type":"string","title":"Nonce"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"signature":{"type":"string","minLength":32,"title":"Signature"}},"type":"object","required":["project_id","asset","network","amount","destination_address","idempotency_key","nonce","timestamp","signature"],"title":"PayoutRequest"},"PayoutResponse":{"properties":{"payout_id":{"type":"string","title":"Payout Id"},"project_id":{"type":"string","title":"Project Id"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"operational_expense":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Operational Expense"},"source_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Scope"},"network":{"type":"string","title":"Network"},"asset":{"type":"string","title":"Asset"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"gross_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Gross Amount"},"net_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Net Amount"},"fee_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Fee Amount","default":"0"},"provider_fee_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Provider Fee Amount","default":"0"},"total_reserved":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Total Reserved"},"destination_address":{"type":"string","title":"Destination Address"},"status":{"type":"string","title":"Status"},"provider_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Status"},"final":{"type":"boolean","title":"Final","default":false},"funds_reserved":{"type":"boolean","title":"Funds Reserved","default":false},"funds_released":{"type":"boolean","title":"Funds Released","default":false},"idempotency_key":{"type":"string","title":"Idempotency Key"},"request_nonce":{"type":"string","title":"Request Nonce"},"request_timestamp":{"type":"string","format":"date-time","title":"Request Timestamp"},"gas_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gas Mode"},"rental_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rental Provider"},"rental_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rental Order Id"},"gas_preparation_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gas Preparation Status"},"payout_submitted_fee_native":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Payout Submitted Fee Native"},"payout_actual_fee_native":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Payout Actual Fee Native"},"payout_gas_fee_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payout Gas Fee Source"},"payout_native_required_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Payout Native Required Amount"},"payout_native_current_balance":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Payout Native Current Balance"},"reserve_floor_reached_for_sweeps":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reserve Floor Reached For Sweeps"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"explorer_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Explorer Url"},"processed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Processed At"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"error_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Reason"},"status_history":{"items":{"$ref":"#/components/schemas/PayoutStatusHistoryEntryResponse"},"type":"array","title":"Status History"}},"type":"object","required":["payout_id","project_id","network","asset","amount","destination_address","status","idempotency_key","request_nonce","request_timestamp"],"title":"PayoutResponse"},"PayoutStatusHistoryEntryResponse":{"properties":{"status":{"type":"string","title":"Status"},"provider_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Status"},"event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"},"final":{"type":"boolean","title":"Final","default":false},"at":{"type":"string","format":"date-time","title":"At"},"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["status","at"],"title":"PayoutStatusHistoryEntryResponse"},"ProjectApiKeyCreateResponse":{"properties":{"key_id":{"type":"string","title":"Key Id"},"project_id":{"type":"string","title":"Project Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"secret_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Prefix"},"api_key":{"type":"string","title":"Api Key"},"api_secret":{"type":"string","title":"Api Secret"},"is_active":{"type":"boolean","title":"Is Active"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["key_id","project_id","name","key_prefix","api_key","api_secret","is_active","created_at"],"title":"ProjectApiKeyCreateResponse"},"ProjectApiKeyResponse":{"properties":{"key_id":{"type":"string","title":"Key Id"},"project_id":{"type":"string","title":"Project Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"secret_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Prefix"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"},"api_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Secret"},"is_active":{"type":"boolean","title":"Is Active"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["key_id","project_id","name","key_prefix","is_active","created_at"],"title":"ProjectApiKeyResponse"},"ProjectBalanceItem":{"properties":{"project_id":{"type":"string","title":"Project Id"},"network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Network"},"asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset"},"account_code":{"type":"string","title":"Account Code"},"balance":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Balance"},"available_for_withdrawal":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Available For Withdrawal"},"pending_aggregation_balance":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Pending Aggregation Balance"}},"type":"object","required":["project_id","network","asset","account_code","balance"],"title":"ProjectBalanceItem"},"ProjectBalanceResponse":{"properties":{"balances":{"items":{"$ref":"#/components/schemas/ProjectBalanceItem"},"type":"array","title":"Balances"}},"type":"object","required":["balances"],"title":"ProjectBalanceResponse"},"ProjectGeneratePayoutKeyRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Name"}},"type":"object","title":"ProjectGeneratePayoutKeyRequest"},"ProjectPayoutKeyCreateResponse":{"properties":{"key_id":{"type":"string","title":"Key Id"},"project_id":{"type":"string","title":"Project Id"},"name":{"type":"string","title":"Name"},"algorithm":{"type":"string","title":"Algorithm"},"public_key":{"type":"string","title":"Public Key"},"public_key_preview":{"type":"string","title":"Public Key Preview"},"origin":{"type":"string","title":"Origin"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"private_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Private Key"},"signing_message_example":{"type":"string","title":"Signing Message Example"}},"type":"object","required":["key_id","project_id","name","algorithm","public_key","public_key_preview","origin","is_active","created_at","signing_message_example"],"title":"ProjectPayoutKeyCreateResponse"},"ProjectPayoutKeyResponse":{"properties":{"key_id":{"type":"string","title":"Key Id"},"project_id":{"type":"string","title":"Project Id"},"name":{"type":"string","title":"Name"},"algorithm":{"type":"string","title":"Algorithm"},"public_key":{"type":"string","title":"Public Key"},"public_key_preview":{"type":"string","title":"Public Key Preview"},"origin":{"type":"string","title":"Origin"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["key_id","project_id","name","algorithm","public_key","public_key_preview","origin","is_active","created_at"],"title":"ProjectPayoutKeyResponse"},"ProjectPayoutKeySigningMessageResponse":{"properties":{"key_id":{"type":"string","title":"Key Id"},"project_id":{"type":"string","title":"Project Id"},"algorithm":{"type":"string","title":"Algorithm"},"public_key":{"type":"string","title":"Public Key"},"origin":{"type":"string","title":"Origin"},"signing_message_example":{"type":"string","title":"Signing Message Example"}},"type":"object","required":["key_id","project_id","algorithm","public_key","origin","signing_message_example"],"title":"ProjectPayoutKeySigningMessageResponse"},"ProjectRegisterPayoutKeyRequest":{"properties":{"public_key":{"type":"string","minLength":32,"title":"Public Key"},"algorithm":{"type":"string","title":"Algorithm","default":"Ed25519"},"name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Name"}},"type":"object","required":["public_key"],"title":"ProjectRegisterPayoutKeyRequest"},"ProjectTransactionHistoryResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ProjectTransactionItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ProjectTransactionHistoryResponse"},"ProjectTransactionItem":{"properties":{"transaction_type":{"type":"string","title":"Transaction Type"},"reference_id":{"type":"string","title":"Reference Id"},"status":{"type":"string","title":"Status"},"network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Network"},"asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"meta":{"additionalProperties":true,"type":"object","title":"Meta"}},"type":"object","required":["transaction_type","reference_id","status","amount","created_at"],"title":"ProjectTransactionItem"},"PublicDepositAddressResponse":{"properties":{"network":{"type":"string","title":"Network"},"address":{"type":"string","title":"Address"}},"type":"object","required":["network","address"],"title":"PublicDepositAddressResponse"},"PublicInvoicePaymentItemResponse":{"properties":{"network":{"type":"string","title":"Network"},"asset":{"type":"string","title":"Asset"},"confirmations":{"type":"integer","title":"Confirmations"},"status":{"type":"string","title":"Status"}},"type":"object","required":["network","asset","confirmations","status"],"title":"PublicInvoicePaymentItemResponse"},"PublicInvoicePaymentSessionRequest":{"properties":{"network":{"type":"string","maxLength":32,"minLength":1,"title":"Network"},"asset":{"type":"string","maxLength":32,"minLength":1,"title":"Asset"}},"type":"object","required":["network","asset"],"title":"PublicInvoicePaymentSessionRequest"},"PublicInvoicePaymentsResponse":{"properties":{"invoice_id":{"type":"string","title":"Invoice Id"},"invoice_status":{"type":"string","title":"Invoice Status"},"items":{"items":{"$ref":"#/components/schemas/PublicInvoicePaymentItemResponse"},"type":"array","title":"Items"}},"type":"object","required":["invoice_id","invoice_status","items"],"title":"PublicInvoicePaymentsResponse"},"PublicInvoiceResponse":{"properties":{"invoice_id":{"type":"string","title":"Invoice Id"},"invoice_hash":{"type":"string","title":"Invoice Hash"},"invoice_url":{"type":"string","title":"Invoice Url"},"requested_usd_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Requested Usd Amount"},"service_fee_usd_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Service Fee Usd Amount"},"total_payable_usd_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Total Payable Usd Amount"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"status":{"type":"string","title":"Status"},"buy_type":{"type":"string","title":"Buy Type"},"invoice_language":{"type":"string","title":"Invoice Language"},"resolved_language":{"type":"string","title":"Resolved Language"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"},"payment_session_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Session Started At"},"payment_session_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Session Expires At"},"payment_session_active":{"type":"boolean","title":"Payment Session Active","default":false},"selected_network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Network"},"selected_asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Asset"},"payment_options":{"items":{"$ref":"#/components/schemas/PaymentOptionResponse"},"type":"array","title":"Payment Options"},"tracked_payment_option":{"anyOf":[{"$ref":"#/components/schemas/PaymentOptionResponse"},{"type":"null"}]},"order_id":{"type":"string","title":"Order Id"},"fiat_currency":{"type":"string","title":"Fiat Currency"},"amount_fiat":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Fiat"},"deposit_addresses":{"items":{"$ref":"#/components/schemas/DepositAddressResponse"},"type":"array","title":"Deposit Addresses"}},"type":"object","required":["invoice_id","invoice_hash","invoice_url","requested_usd_amount","expires_at","status","buy_type","invoice_language","resolved_language","payment_options","order_id","fiat_currency","amount_fiat","deposit_addresses"],"title":"PublicInvoiceResponse"},"RatePayload":{"properties":{"base_currency":{"type":"string","title":"Base Currency"},"quote_currency":{"type":"string","title":"Quote Currency"},"rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Rate"},"source":{"type":"string","title":"Source"},"captured_at":{"type":"string","format":"date-time","title":"Captured At"}},"type":"object","required":["base_currency","quote_currency","rate","source","captured_at"],"title":"RatePayload"},"RatesResponse":{"properties":{"rates":{"items":{"$ref":"#/components/schemas/RatePayload"},"type":"array","title":"Rates"}},"type":"object","required":["rates"],"title":"RatesResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebhookConfigRequest":{"properties":{"webhook_url":{"type":"string","title":"Webhook Url"},"callback_secret":{"anyOf":[{"type":"string","minLength":6},{"type":"null"}],"title":"Callback Secret"}},"type":"object","required":["webhook_url"],"title":"WebhookConfigRequest"},"WebhookConfigResponse":{"properties":{"project_id":{"type":"string","title":"Project Id"},"webhook_url":{"type":"string","title":"Webhook Url"},"callback_secret_masked":{"type":"string","title":"Callback Secret Masked"}},"type":"object","required":["project_id","webhook_url","callback_secret_masked"],"title":"WebhookConfigResponse"},"WebhookEventResponse":{"properties":{"event_id":{"type":"string","title":"Event Id"},"event_type":{"type":"string","title":"Event Type"},"delivered":{"type":"boolean","title":"Delivered"},"dead":{"type":"boolean","title":"Dead"},"attempts":{"type":"integer","title":"Attempts"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Response Status"},"next_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Attempt At"},"delivered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Delivered At"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"type":"object","required":["event_id","event_type","delivered","dead","attempts","payload"],"title":"WebhookEventResponse"}},"securitySchemes":{"ProjectApiKey":{"type":"apiKey","in":"header","name":"X-API-Key"},"ProjectApiSecret":{"type":"apiKey","in":"header","name":"X-API-Secret"},"ProjectBearerKey":{"type":"http","scheme":"bearer","bearerFormat":"Project API key"}}}}