From b2d5aa5667f4b0b3c923dd22464a1adbde9ad6df Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 4 Aug 2026 18:02:33 +0000 Subject: [PATCH] feat: sync SDK with API changes --- .api-sync/spec-snapshot.json | 2909 +--------------------------------- src/blindpay/types.py | 2 +- 2 files changed, 30 insertions(+), 2881 deletions(-) diff --git a/.api-sync/spec-snapshot.json b/.api-sync/spec-snapshot.json index 98de756..16329ef 100644 --- a/.api-sync/spec-snapshot.json +++ b/.api-sync/spec-snapshot.json @@ -3489,7 +3489,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -4177,7 +4178,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -5133,7 +5135,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -5821,7 +5824,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -6434,7 +6438,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -6999,7 +7004,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -7564,7 +7570,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -8129,7 +8136,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -12809,378 +12817,6 @@ "idempotency_key" ] }, - "CircleTransactionWebhookOut": { - "type": "object", - "properties": { - "notificationType": { - "type": "string", - "enum": [ - "transactions.outbound", - "transactions.inbound" - ] - }, - "notification": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "refId": { - "type": [ - "string", - "null" - ] - }, - "state": { - "type": "string", - "enum": [ - "INITIATED", - "PENDING_RISK_SCREENING", - "CLEARED", - "QUEUED", - "SENT", - "STUCK", - "CONFIRMED", - "COMPLETE", - "DENIED", - "FAILED", - "CANCELLED", - "ACCELERATED" - ] - }, - "errorReason": { - "type": [ - "string", - "null" - ] - }, - "transactionType": { - "type": "string", - "enum": [ - "OUTBOUND", - "INBOUND" - ] - }, - "txHash": { - "type": [ - "string", - "null" - ] - }, - "blockchain": { - "type": "string", - "enum": [ - "ETH", - "ETH-SEPOLIA", - "AVAX", - "AVAX-FUJI", - "MATIC", - "MATIC-AMOY", - "SOL", - "SOL-DEVNET", - "ARB", - "ARB-SEPOLIA", - "BASE", - "BASE-SEPOLIA", - "NEAR", - "NEAR-TESTNET", - "EVM", - "EVM-TESTNET", - "UNI-SEPOLIA" - ] - }, - "tokenId": { - "type": "string" - }, - "amounts": { - "type": "array", - "items": { - "type": "string" - } - }, - "walletId": { - "type": "string" - }, - "sourceAddress": { - "type": [ - "string", - "null" - ] - }, - "destinationAddress": { - "type": [ - "string", - "null" - ] - }, - "createDate": { - "type": [ - "string", - "null" - ] - }, - "updateDate": { - "type": [ - "string", - "null" - ] - }, - "networkFeeInUSD": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "id", - "state", - "transactionType", - "blockchain", - "tokenId", - "amounts", - "walletId" - ] - }, - "timestamp": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "notificationType", - "notification" - ] - }, - "CreateTransferSchemaOut": { - "type": "object", - "properties": { - "id": { - "type": "string", - "minLength": 15, - "maxLength": 15, - "example": "pa_000000000000" - }, - "status": { - "type": "string", - "enum": [ - "processing", - "failed", - "refunded", - "completed" - ], - "description": "Transfer general status", - "example": "processing" - }, - "tracking_bridge_swap": { - "type": "object", - "properties": { - "step": { - "type": "string", - "enum": [ - "processing", - "on_hold", - "pending_review", - "completed" - ], - "description": "Complete step", - "example": "on_hold" - }, - "transaction_hash": { - "type": [ - "string", - "null" - ], - "description": "Complete transaction hash", - "example": "0x123...890" - }, - "gas_fee": { - "type": [ - "string", - "null" - ], - "description": "Gas fee related to transaction", - "example": "100" - }, - "completed_at": { - "type": [ - "string", - "null" - ], - "description": "Complete completed date", - "example": "2011-10-05T14:48:00.000Z" - }, - "error_message": { - "type": [ - "string", - "null" - ], - "example": "Gas fee is too low" - } - }, - "required": [ - "step" - ] - }, - "tracking_complete": { - "type": "object", - "properties": { - "step": { - "type": "string", - "enum": [ - "processing", - "on_hold", - "pending_review", - "completed" - ], - "description": "Complete step", - "example": "on_hold" - }, - "transaction_hash": { - "type": [ - "string", - "null" - ], - "description": "Complete transaction hash", - "example": "0x123...890" - }, - "gas_fee": { - "type": [ - "string", - "null" - ], - "description": "Gas fee related to transaction", - "example": "100" - }, - "completed_at": { - "type": [ - "string", - "null" - ], - "description": "Complete completed date", - "example": "2011-10-05T14:48:00.000Z" - }, - "error_message": { - "type": [ - "string", - "null" - ], - "example": "Gas fee is too low" - } - }, - "required": [ - "step" - ] - }, - "tracking_paymaster": { - "type": "object", - "properties": { - "step": { - "type": "string", - "enum": [ - "processing", - "on_hold", - "pending_review", - "completed" - ], - "description": "Complete step", - "example": "on_hold" - }, - "transaction_hash": { - "type": [ - "string", - "null" - ], - "description": "Complete transaction hash", - "example": "0x123...890" - }, - "gas_fee": { - "type": [ - "string", - "null" - ], - "description": "Gas fee related to transaction", - "example": "100" - }, - "completed_at": { - "type": [ - "string", - "null" - ], - "description": "Complete completed date", - "example": "2011-10-05T14:48:00.000Z" - }, - "error_message": { - "type": [ - "string", - "null" - ], - "example": "Gas fee is too low" - } - }, - "required": [ - "step" - ] - }, - "tracking_transaction_monitoring": { - "type": "object", - "properties": { - "step": { - "type": "string", - "enum": [ - "processing", - "on_hold", - "pending_review", - "completed" - ], - "description": "Transaction monitoring step", - "example": "processing" - }, - "blockchain_screening": { - "type": [ - "number", - "null" - ], - "minimum": 0, - "maximum": 100, - "description": "Blindpay screening step", - "example": 1 - }, - "risk_score": { - "type": [ - "number", - "null" - ], - "minimum": 0, - "maximum": 100, - "description": "Risk score", - "example": 1 - }, - "completed_at": { - "type": [ - "string", - "null" - ], - "description": "Transfer transaction completed date", - "example": "2011-10-05T14:48:00.000Z" - } - }, - "required": [ - "step" - ] - } - }, - "required": [ - "id", - "status", - "tracking_bridge_swap", - "tracking_complete", - "tracking_paymaster", - "tracking_transaction_monitoring" - ] - }, "WalletTokenOut": { "type": "object", "properties": { @@ -13830,7 +13466,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -15519,7 +15156,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -16663,486 +16301,6 @@ "$ref": "#/components/schemas/SwiftCodeItem" } }, - "ExternalOnboardingInfo": { - "type": "object", - "properties": { - "legal_name": { - "type": [ - "string", - "null" - ] - }, - "onboarding_step": { - "type": "string", - "enum": [ - "initial", - "business_details", - "business_profile", - "documents", - "applicant", - "completed", - "blocked" - ], - "example": "initial" - }, - "email": { - "type": "string", - "format": "email" - } - }, - "required": [ - "legal_name", - "onboarding_step", - "email" - ] - }, - "InstanceIn": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "example": "My Instance" - }, - "type": { - "type": "string", - "enum": [ - "production", - "development" - ], - "example": "development" - }, - "seed_sample_data": { - "type": "boolean", - "description": "Development instances only: seed sample customers, payouts and payins so the dashboard lands populated.", - "example": true - } - }, - "required": [ - "name", - "type" - ] - }, - "PaymentRoute": { - "type": [ - "object", - "null" - ], - "properties": { - "ach": { - "type": "string", - "enum": [ - "zenus", - "veem", - "infinitus_portage", - "blocked" - ] - }, - "wire": { - "type": "string", - "enum": [ - "zenus", - "veem", - "infinitus_portage", - "blocked" - ] - }, - "international_swift": { - "type": "string", - "enum": [ - "zenus", - "veem", - "infinitus_portage", - "blocked" - ] - }, - "rtp": { - "type": "string", - "enum": [ - "zenus", - "veem", - "infinitus_portage", - "blocked" - ] - } - }, - "description": "Per-instance USD payout rail override. Maps a bank rail to a PSP (zenus | veem | infinitus) or to \"blocked\" to disable the rail. Absent rails fall back to default routing.", - "example": { - "ach": "zenus", - "wire": "zenus", - "international_swift": "zenus", - "rtp": "blocked" - } - }, - "ManualReviewSkip": { - "type": [ - "object", - "null" - ], - "properties": { - "ach": { - "type": "object", - "properties": { - "max_amount_usd_cents": { - "type": "integer", - "minimum": 0, - "description": "Threshold in USD cents. Payins and payouts on this rail at or below it skip the manual review.", - "example": 100000 - } - }, - "required": [ - "max_amount_usd_cents" - ] - }, - "wire": { - "type": "object", - "properties": { - "max_amount_usd_cents": { - "type": "integer", - "minimum": 0, - "description": "Threshold in USD cents. Payins and payouts on this rail at or below it skip the manual review.", - "example": 100000 - } - }, - "required": [ - "max_amount_usd_cents" - ] - }, - "rtp": { - "type": "object", - "properties": { - "max_amount_usd_cents": { - "type": "integer", - "minimum": 0, - "description": "Threshold in USD cents. Payins and payouts on this rail at or below it skip the manual review.", - "example": 100000 - } - }, - "required": [ - "max_amount_usd_cents" - ] - }, - "pix": { - "type": "object", - "properties": { - "max_amount_brl_cents": { - "type": "integer", - "minimum": 0, - "description": "Threshold in BRL cents. Pix payins and payouts at or below it skip the manual review.", - "example": 500000 - } - }, - "required": [ - "max_amount_brl_cents" - ] - } - }, - "description": "Per-rail threshold (in cents of the rail currency: USD for ach/wire/rtp, BRL for pix) at or below which payins and payouts skip the manual review. Takes precedence over the manual-review toggles (customer force_manual_review and instance manual_review_all_payments). FULL bypass: it also takes precedence over the SEON pre-send fraud gate (the check still runs and flags are still posted to Slack for audit). Configure only for fully trusted instances with low thresholds.", - "example": { - "ach": { - "max_amount_usd_cents": 100000 - }, - "wire": { - "max_amount_usd_cents": 500000 - }, - "rtp": { - "max_amount_usd_cents": 50000 - }, - "pix": { - "max_amount_brl_cents": 500000 - } - } - }, - "InstanceOut": { - "type": "object", - "properties": { - "id": { - "type": "string", - "minLength": 15, - "maxLength": 15, - "example": "in_000000000000" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "example": "My Instance" - }, - "type": { - "type": "string", - "enum": [ - "production", - "development" - ], - "example": "development" - }, - "last_payout_date": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "example": "2022-01-01T00:00:00.000Z" - }, - "customers_amount": { - "type": [ - "number", - "null" - ], - "example": 150 - }, - "subscription_features": { - "anyOf": [ - { - "type": "object", - "properties": { - "international_swift": { - "type": "boolean" - }, - "virtual_accounts": { - "type": "boolean" - }, - "otc": { - "type": [ - "boolean", - "null" - ] - }, - "otc_dynamic_rate": { - "type": [ - "boolean", - "null" - ] - }, - "otc_manual_execution": { - "type": [ - "boolean", - "null" - ] - }, - "billing_charge": { - "type": [ - "boolean", - "null" - ] - }, - "wallets_and_transfers": { - "type": [ - "boolean", - "null" - ] - }, - "manual_review_all_payments": { - "type": [ - "boolean", - "null" - ] - }, - "ted_payin": { - "type": [ - "boolean", - "null" - ] - }, - "payment_route": { - "$ref": "#/components/schemas/PaymentRoute" - }, - "manual_review_skip": { - "$ref": "#/components/schemas/ManualReviewSkip" - } - }, - "required": [ - "international_swift", - "virtual_accounts" - ] - }, - { - "type": "string" - } - ], - "example": { - "international_swift": true, - "virtual_accounts": false, - "otc": false, - "otc_manual_execution": false, - "billing_charge": false, - "wallets_and_transfers": false, - "manual_review_all_payments": false - } - }, - "subscription_plan": { - "type": [ - "string", - "null" - ], - "enum": [ - "Basic", - "Business", - "Enterprise" - ], - "description": "Subscription plan: Basic, Business, or Enterprise", - "example": "Basic" - }, - "subscription_status": { - "type": [ - "string", - "null" - ], - "enum": [ - "active", - "pending_payment", - "past_due", - "cancelled" - ], - "description": "Subscription status: active, pending_payment, past_due, or cancelled", - "example": "active" - }, - "subscription_plan_amount": { - "type": [ - "number", - "null" - ], - "minimum": 0, - "description": "Monthly subscription plan amount in USD", - "example": 249 - }, - "invoice_due_date_days": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "description": "Number of days from invoice creation to due date", - "example": 15 - }, - "minimum_monthly_amount": { - "type": [ - "number", - "null" - ], - "minimum": 0, - "description": "Minimum monthly billing amount in USD", - "example": 2000 - }, - "user_owner_id": { - "type": "string", - "example": "us_000000000000" - }, - "user_role": { - "type": [ - "string", - "null" - ], - "enum": [ - "owner", - "admin", - "finance", - "checker", - "operations", - "developer", - "viewer" - ], - "example": "admin" - }, - "onboarding_step": { - "type": "string", - "enum": [ - "initial", - "business_details", - "business_profile", - "documents", - "applicant", - "completed", - "blocked" - ], - "example": "initial" - }, - "customer_invite_redirect_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "example": "https://blindpay.com" - }, - "email_notifications": { - "type": "boolean", - "default": true, - "description": "Whether email notifications are enabled for this instance", - "example": true - }, - "require_passkey": { - "type": "boolean", - "default": false, - "description": "Whether passkey verification is required for protected actions", - "example": false - }, - "compliance_emails": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string", - "format": "email" - }, - "maxItems": 20, - "description": "When non-empty, compliance Request for Information emails are sent only to these addresses instead of all instance members", - "example": [ - "compliance@example.com" - ] - }, - "customer_rfi_emails_enabled": { - "type": "boolean", - "default": true, - "description": "Whether customer (customer) Request for Information notification emails are sent for this instance. Instance-level RFI emails are always sent regardless of this setting.", - "example": true - }, - "is_fbo": { - "type": [ - "boolean", - "null" - ], - "example": false - } - }, - "required": [ - "id", - "name", - "type", - "subscription_features", - "user_owner_id", - "onboarding_step" - ] - }, - "ExternalInstanceOut": { - "type": "object", - "properties": { - "legal_name": { - "type": [ - "string", - "null" - ], - "example": "My Company" - }, - "customer_invite_redirect_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "example": "https://blindpay.com" - } - } - }, "UpdateInstanceIn": { "type": "object", "properties": { @@ -17218,43 +16376,6 @@ "user_role" ] }, - "CopyInstanceMembersOut": { - "type": "object", - "properties": { - "copied_members": { - "type": "integer", - "example": 3 - }, - "copied_invites": { - "type": "integer", - "example": 1 - }, - "skipped_members": { - "type": "integer", - "description": "Source members that already belong to the target instance", - "example": 2 - } - }, - "required": [ - "copied_members", - "copied_invites", - "skipped_members" - ] - }, - "CopyInstanceMembersIn": { - "type": "object", - "properties": { - "source_instance_id": { - "type": "string", - "minLength": 15, - "maxLength": 15, - "example": "in_000000000000" - } - }, - "required": [ - "source_instance_id" - ] - }, "MigrateInstanceOwnershipIn": { "type": "object", "properties": { @@ -17269,316 +16390,6 @@ "user_id" ] }, - "AuditActor": { - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": [ - "string", - "null" - ] - }, - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "image_url": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "id", - "name", - "email", - "image_url" - ] - }, - "AuditLog": { - "type": "object", - "properties": { - "id": { - "type": "string", - "minLength": 15, - "maxLength": 15, - "example": "al_000000000000" - }, - "instance_id": { - "type": "string", - "minLength": 15, - "maxLength": 15, - "example": "in_000000000000" - }, - "actor_type": { - "type": "string", - "enum": [ - "user", - "api_key" - ], - "example": "user" - }, - "user_id": { - "type": [ - "string", - "null" - ], - "example": "us_000000000000" - }, - "api_key_id": { - "type": [ - "string", - "null" - ], - "example": null - }, - "role": { - "type": "string", - "example": "admin" - }, - "feature": { - "type": "string", - "example": "payin" - }, - "operation": { - "type": "string", - "enum": [ - "create", - "update", - "delete" - ], - "example": "create" - }, - "entity_type": { - "type": "string", - "example": "payin" - }, - "entity_id": { - "type": "string", - "example": "pi_000000000000" - }, - "metadata": { - "type": "object", - "additionalProperties": {}, - "example": {} - }, - "ip_address": { - "type": [ - "string", - "null" - ], - "example": "177.137.230.244" - }, - "user_agent": { - "type": [ - "string", - "null" - ], - "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)" - }, - "country": { - "type": [ - "string", - "null" - ], - "example": "US" - }, - "has_passkey": { - "type": [ - "boolean", - "null" - ], - "example": true - }, - "request_id": { - "type": [ - "string", - "null" - ], - "example": "abcd1234" - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "example": "2021-01-01T00:00:00Z" - } - }, - "required": [ - "id", - "instance_id", - "actor_type", - "user_id", - "api_key_id", - "role", - "feature", - "operation", - "entity_type", - "entity_id", - "metadata", - "ip_address", - "user_agent", - "country", - "has_passkey", - "request_id" - ] - }, - "AuditLogOut": { - "allOf": [ - { - "$ref": "#/components/schemas/AuditLog" - }, - { - "type": "object", - "properties": { - "actor": { - "$ref": "#/components/schemas/AuditActor" - } - }, - "required": [ - "actor" - ] - } - ] - }, - "FeedbackOut": { - "type": "object", - "properties": { - "id": { - "type": "string", - "example": "fb_000000000000" - }, - "instance_id": { - "type": [ - "string", - "null" - ], - "example": "in_000000000000" - }, - "user_id": { - "type": [ - "string", - "null" - ], - "example": "us_000000000000" - }, - "type": { - "type": "string", - "enum": [ - "bug", - "suggestion", - "feedback", - "praise", - "complaint" - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "page_url": { - "type": [ - "string", - "null" - ] - }, - "user_agent": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "example": "2021-01-01T00:00:00Z" - } - }, - "required": [ - "id", - "instance_id", - "user_id", - "type", - "title", - "description", - "email", - "page_url", - "user_agent" - ] - }, - "CreateFeedbackIn": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "bug", - "suggestion", - "feedback", - "praise" - ], - "example": "bug" - }, - "title": { - "type": "string", - "minLength": 1, - "maxLength": 200, - "example": "Cannot create payout" - }, - "description": { - "type": "string", - "minLength": 1, - "maxLength": 5000, - "example": "When I click the create payout button, nothing happens." - }, - "page_url": { - "type": [ - "string", - "null" - ], - "maxLength": 2000, - "example": "https://app.blindpay.com/instances/in_123/payouts" - }, - "user_agent": { - "type": [ - "string", - "null" - ], - "maxLength": 500, - "example": "Mozilla/5.0" - } - }, - "required": [ - "type", - "title", - "description" - ] - }, "FeeOptions": { "type": "object", "properties": { @@ -17728,39 +16539,6 @@ "solana" ] }, - "CreateInviteIn": { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "example": "john@doe.com" - }, - "user_role": { - "type": "string", - "enum": [ - "owner", - "admin", - "finance", - "checker", - "operations", - "developer", - "viewer" - ], - "example": "admin" - }, - "invite_all_owned_instances": { - "type": "boolean", - "default": false, - "description": "When true, the member is added/invited to every instance the inviter owns, ignoring the instance in the path.", - "example": false - } - }, - "required": [ - "email", - "user_role" - ] - }, "InitiateTosOut": { "type": "object", "properties": { @@ -17803,246 +16581,6 @@ "idempotency_key" ] }, - "AcceptTosOut": { - "type": "object", - "properties": { - "tos_id": { - "type": "string", - "minLength": 15, - "maxLength": 15, - "example": "to_000000000000" - }, - "idempotency_key": { - "type": "string", - "format": "uuid", - "example": "123e4567-e89b-12d3-a456-426614174000" - }, - "customer_id": { - "type": [ - "string", - "null" - ], - "minLength": 15, - "maxLength": 15, - "example": "re_000000000000" - }, - "version": { - "type": [ - "string", - "null" - ], - "enum": [ - "1.0.0", - "1.0.1" - ], - "example": "1.0.0" - } - }, - "required": [ - "tos_id", - "idempotency_key" - ] - }, - "AcceptTosIn": { - "type": "object", - "properties": { - "session_token": { - "type": "string", - "example": "SESSION_TOKEN_FROM_INITIATE_TOS_RESPONSE" - }, - "idempotency_key": { - "type": "string", - "format": "uuid", - "example": "123e4567-e89b-12d3-a456-426614174000" - }, - "customer_id": { - "type": [ - "string", - "null" - ], - "minLength": 15, - "maxLength": 15, - "example": "re_000000000000" - }, - "session": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "session_token", - "idempotency_key" - ] - }, - "CreateExternalCustomerTokenIn": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "individual", - "business" - ], - "example": "individual" - }, - "kyc_type": { - "type": "string", - "enum": [ - "light", - "standard", - "enhanced" - ], - "example": "standard" - } - }, - "required": [ - "type", - "kyc_type" - ] - }, - "CreateInstanceOnboardingInviteIn": { - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "description": "Email address of the person who will receive the onboarding invite", - "example": "collaborator@example.com" - } - }, - "required": [ - "email" - ] - }, - "CreateApiKeyOut": { - "type": "object", - "properties": { - "id": { - "type": "string", - "minLength": 15, - "maxLength": 15, - "example": "ap_000000000000" - }, - "token": { - "type": "string", - "example": "token" - } - }, - "required": [ - "id", - "token" - ] - }, - "CreateApiKeyIn": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "example": "API Key Name" - }, - "permission": { - "type": "string", - "enum": [ - "full_access" - ], - "example": "full_access" - }, - "ip_whitelist": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string", - "format": "ip" - }, - "example": [ - "127.0.0.1", - "192.168.0.1" - ] - } - }, - "required": [ - "name", - "permission" - ] - }, - "ApiKeyPublic": { - "type": "object", - "properties": { - "id": { - "type": "string", - "minLength": 15, - "maxLength": 15, - "example": "ap_000000000000" - }, - "name": { - "type": "string", - "minLength": 1, - "example": "API Key Name" - }, - "permission": { - "type": "string", - "enum": [ - "full_access" - ], - "example": "full_access" - }, - "token": { - "type": "string", - "example": "token" - }, - "ip_whitelist": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string", - "format": "ip" - }, - "example": [ - "127.0.0.1", - "192.168.0.1" - ] - }, - "last_used_at": { - "example": "2021-01-01T00:00:00Z" - }, - "instance_id": { - "type": "string", - "minLength": 15, - "maxLength": 15, - "example": "in_000000000000" - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "example": "2021-01-01T00:00:00Z" - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "example": "2021-01-01T00:00:00Z" - } - }, - "required": [ - "id", - "name", - "permission", - "token", - "instance_id" - ] - }, "WebhookEndpointOut": { "type": "object", "properties": { @@ -18348,7 +16886,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -19435,7 +17974,8 @@ "Citi", "CFSB", "Triple A Technologies", - "Portage Bank" + "Portage Bank", + "SSB Bank" ], "description": "Payment provider name", "example": "HSBC" @@ -20185,884 +18725,6 @@ "token" ] }, - "BillingSubscription": { - "type": "object", - "properties": { - "minimum_per_month": { - "type": "integer", - "description": "Minimum monthly billing amount in cents", - "example": 0 - }, - "subscription_plan": { - "type": [ - "string", - "null" - ], - "enum": [ - "Basic", - "Business", - "Enterprise" - ], - "description": "Subscription plan: Basic, Business, or Enterprise", - "example": "Basic" - }, - "subscription_price": { - "type": "integer", - "description": "Subscription price in cents", - "example": 24900 - }, - "started_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "When the subscription started", - "example": "2025-01-01T00:00:00.000Z" - }, - "invoice_due_date_days": { - "type": "integer", - "description": "Days after period end when invoice is due", - "example": 15 - }, - "status": { - "type": "string", - "enum": [ - "active", - "pending_payment", - "past_due", - "cancelled" - ], - "description": "Subscription billing status: active (no issues), overdue (invoice past due), pending (awaiting payment)", - "example": "active" - }, - "billing_charge": { - "type": [ - "boolean", - "null" - ], - "description": "If true, fees are charged via monthly invoice instead of at transaction time", - "example": false - } - }, - "required": [ - "minimum_per_month", - "subscription_price", - "invoice_due_date_days", - "status" - ] - }, - "BillingDetails": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "Blind Pay, Inc." - }, - "email": { - "anyOf": [ - { - "type": "string", - "format": "email" - }, - { - "type": "string", - "enum": [ - "" - ] - } - ], - "example": "billing@blindpay.com" - }, - "tax_id": { - "type": "string", - "example": "123456789" - }, - "address_line_1": { - "type": "string", - "example": "8 The Green, #19364" - }, - "address_line_2": { - "type": "string", - "example": "Suite 200" - }, - "city": { - "type": "string", - "example": "Dover" - }, - "state_province_region": { - "type": "string", - "example": "DE" - }, - "postal_code": { - "type": "string", - "example": "19901" - }, - "country": { - "type": "string", - "example": "United States" - }, - "copy_emails": { - "type": "array", - "items": { - "type": "string", - "format": "email" - }, - "default": [], - "description": "Optional CC emails for billing communications", - "example": [ - "finance@example.com" - ] - } - }, - "required": [ - "name", - "email", - "tax_id", - "address_line_1", - "address_line_2", - "city", - "state_province_region", - "postal_code", - "country" - ] - }, - "VirtualAccountsUsage": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "description": "Number of active virtual accounts", - "example": 100 - }, - "unit_cost": { - "type": "integer", - "description": "Cost per virtual account in cents", - "example": 1500 - }, - "total": { - "type": "integer", - "description": "Total virtual account fees in cents", - "example": 150000 - } - }, - "required": [ - "count", - "unit_cost", - "total" - ] - }, - "AddonItemSchema": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Recurring item or invoice item ID", - "example": "ri_000000000000" - }, - "name": { - "type": "string", - "description": "Addon name", - "example": "Swift" - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "Addon description", - "example": "Swift" - }, - "amount": { - "type": "integer", - "description": "Addon amount in cents", - "example": 50000 - }, - "quantity": { - "type": "integer", - "description": "Addon quantity", - "example": 1 - } - }, - "required": [ - "id", - "name", - "amount", - "quantity" - ] - }, - "CurrentUsageSchema": { - "type": "object", - "properties": { - "period_start": { - "type": "string", - "format": "date-time", - "description": "Start of billing period", - "example": "2025-12-01T00:00:00.000Z" - }, - "period_end": { - "type": "string", - "format": "date-time", - "description": "End of billing period", - "example": "2025-12-31T23:59:59.999Z" - }, - "due_date": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "Expected due date when invoice is generated (null for partner-fee-only invoices)", - "example": "2025-01-21T00:00:00.000Z" - }, - "minimum_monthly_amount": { - "type": "integer", - "description": "Minimum monthly amount in cents", - "example": 200000 - }, - "subscription_plan": { - "type": [ - "string", - "null" - ], - "enum": [ - "Basic", - "Business", - "Enterprise" - ], - "description": "Subscription plan: Basic, Business, or Enterprise", - "example": "Basic" - }, - "subscription_plan_amount": { - "type": "integer", - "description": "Subscription plan amount in cents", - "example": 24900 - }, - "virtual_accounts": { - "$ref": "#/components/schemas/VirtualAccountsUsage" - }, - "virtual_account_fees": { - "type": "integer", - "description": "Virtual account fees in cents", - "example": 10000 - }, - "payin_billing_fees": { - "type": "integer", - "description": "Payin billing fees in cents", - "example": 10000 - }, - "payin_partner_fees": { - "type": "integer", - "description": "Payin partner fees in cents (earnings)", - "example": 25000 - }, - "payout_billing_fees": { - "type": "integer", - "description": "Payout billing fees in cents", - "example": 10000 - }, - "payout_partner_fees": { - "type": "integer", - "description": "Payout partner fees in cents (earnings)", - "example": 25000 - }, - "total_to_pay": { - "type": "integer", - "description": "Total amount owed to Blindpay in cents", - "example": 40000 - }, - "total_to_collect": { - "type": "integer", - "description": "Total partner fees to collect (earnings) in cents", - "example": 50000 - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AddonItemSchema" - }, - "description": "Recurring addon items due for the current period" - } - }, - "required": [ - "period_start", - "period_end", - "due_date", - "minimum_monthly_amount", - "subscription_plan_amount", - "virtual_accounts", - "virtual_account_fees", - "payin_billing_fees", - "payin_partner_fees", - "payout_billing_fees", - "payout_partner_fees", - "total_to_pay", - "total_to_collect", - "items" - ] - }, - "InvoiceItemSchema": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Invoice ID", - "example": "iv_000000000000" - }, - "period_start": { - "type": "string", - "format": "date-time", - "description": "Start of billing period", - "example": "2025-11-01T00:00:00.000Z" - }, - "period_end": { - "type": "string", - "format": "date-time", - "description": "End of billing period", - "example": "2025-11-30T23:59:59.999Z" - }, - "due_date": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "Invoice due date (null for partner-fee-only invoices)", - "example": "2025-11-21T00:00:00.000Z" - }, - "status": { - "type": "string", - "enum": [ - "owing", - "paid", - "claimable", - "collected", - "expired", - "overdue" - ], - "description": "Invoice status: owing (unpaid), paid (payment received), claimable (has partner fees to claim), collected (partner fees claimed), expired (voided), overdue (past due date)", - "example": "paid" - }, - "virtual_account_fees": { - "type": "integer", - "description": "Virtual account fees in cents", - "example": 10000 - }, - "payin_billing_fees": { - "type": "integer", - "description": "Payin billing fees in cents", - "example": 10000 - }, - "payin_partner_fees": { - "type": "integer", - "description": "Payin partner fees in cents (earnings)", - "example": 25000 - }, - "payout_billing_fees": { - "type": "integer", - "description": "Payout billing fees in cents", - "example": 10000 - }, - "payout_partner_fees": { - "type": "integer", - "description": "Payout partner fees in cents (earnings)", - "example": 25000 - }, - "total_to_pay": { - "type": "integer", - "description": "Total amount owed to Blindpay in cents", - "example": 40000 - }, - "total_to_collect": { - "type": "integer", - "description": "Total partner fees to collect (earnings) in cents", - "example": 50000 - }, - "discount": { - "type": "integer", - "description": "Discount amount in cents from Stripe coupon", - "example": 0 - }, - "reference": { - "type": [ - "string", - "null" - ], - "description": "Invoice reference (billing period month/year)", - "example": "01/2026" - }, - "url": { - "type": "string", - "description": "Invoice URL", - "example": "https://example.com" - }, - "payment_id": { - "type": [ - "string", - "null" - ], - "description": "Reference to invoice_payment record", - "example": "ip_000000000000" - }, - "collection_id": { - "type": [ - "string", - "null" - ], - "description": "Reference to invoice_collection record", - "example": "ic_000000000000" - }, - "has_partner_fee_invoice": { - "type": "boolean", - "description": "Whether a partner fee collection invoice PDF is available", - "example": false - }, - "minimum_per_month": { - "type": "integer", - "description": "Minimum monthly amount in cents at time of invoice", - "example": 200000 - }, - "subscription_plan": { - "type": [ - "string", - "null" - ], - "enum": [ - "Basic", - "Business", - "Enterprise" - ], - "description": "Subscription plan used", - "example": "Basic" - }, - "subscription_price": { - "type": "integer", - "description": "Subscription price in cents used", - "example": 24900 - } - }, - "required": [ - "id", - "period_start", - "period_end", - "due_date", - "status", - "virtual_account_fees", - "payin_billing_fees", - "payin_partner_fees", - "payout_billing_fees", - "payout_partner_fees", - "total_to_pay", - "total_to_collect", - "discount", - "url", - "has_partner_fee_invoice", - "minimum_per_month", - "subscription_price" - ] - }, - "GetInvoicesSchemaOut": { - "type": "object", - "properties": { - "current": { - "$ref": "#/components/schemas/CurrentUsageSchema" - }, - "invoices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InvoiceItemSchema" - } - } - }, - "required": [ - "current", - "invoices" - ] - }, - "GetInvoiceSchemaOut": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Invoice ID", - "example": "iv_000000000000" - }, - "status": { - "type": "string", - "enum": [ - "owing", - "paid", - "claimable", - "collected", - "expired", - "overdue" - ], - "description": "Invoice status: owing (unpaid), paid (payment received), claimable (has partner fees to claim), collected (partner fees claimed), expired (voided), overdue (past due date)", - "example": "paid" - }, - "period_start": { - "type": "string", - "format": "date-time", - "description": "Start of billing period", - "example": "2025-11-01T00:00:00.000Z" - }, - "period_end": { - "type": "string", - "format": "date-time", - "description": "End of billing period", - "example": "2025-11-30T23:59:59.999Z" - }, - "due_date": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "Invoice due date (null for partner-fee-only invoices)", - "example": "2025-11-21T00:00:00.000Z" - }, - "virtual_account_fees": { - "type": "integer", - "description": "Virtual account fees in cents", - "example": 10000 - }, - "payin_billing_fees": { - "type": "integer", - "description": "Payin billing fees in cents", - "example": 10000 - }, - "payin_partner_fees": { - "type": "integer", - "description": "Payin partner fees in cents (earnings)", - "example": 25000 - }, - "payout_billing_fees": { - "type": "integer", - "description": "Payout billing fees in cents", - "example": 10000 - }, - "payout_partner_fees": { - "type": "integer", - "description": "Payout partner fees in cents (earnings)", - "example": 25000 - }, - "total_to_pay": { - "type": "integer", - "description": "Total amount owed to Blindpay in cents", - "example": 40000 - }, - "total_to_collect": { - "type": "integer", - "description": "Total partner fees to collect (earnings) in cents", - "example": 50000 - }, - "discount": { - "type": "integer", - "description": "Discount amount in cents from Stripe coupon", - "example": 0 - }, - "credit_note_amount": { - "type": "integer", - "description": "Credit note amount in cents", - "example": 0 - }, - "url": { - "type": "string", - "description": "Invoice URL", - "example": "https://example.com" - }, - "payment_id": { - "type": [ - "string", - "null" - ], - "description": "Reference to invoice payment record", - "example": "ip_000000000000" - }, - "collection_id": { - "type": [ - "string", - "null" - ], - "description": "Reference to invoice collection record", - "example": "ic_000000000000" - }, - "has_partner_fee_invoice": { - "type": "boolean", - "description": "Whether a partner fee collection invoice PDF is available", - "example": false - }, - "minimum_per_month": { - "type": "integer", - "description": "Minimum monthly amount in cents", - "example": 200000 - }, - "subscription_plan": { - "type": [ - "string", - "null" - ], - "enum": [ - "Basic", - "Business", - "Enterprise" - ], - "description": "Subscription plan: Basic, Business, or Enterprise", - "example": "Basic" - }, - "subscription_price": { - "type": "integer", - "description": "Subscription price in cents", - "example": 24900 - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AddonItemSchema" - }, - "description": "Addon items" - } - }, - "required": [ - "id", - "status", - "period_start", - "period_end", - "due_date", - "virtual_account_fees", - "payin_billing_fees", - "payin_partner_fees", - "payout_billing_fees", - "payout_partner_fees", - "total_to_pay", - "total_to_collect", - "discount", - "credit_note_amount", - "url", - "has_partner_fee_invoice", - "minimum_per_month", - "subscription_price", - "items" - ] - }, - "GetInvoicePdfSchemaOut": { - "type": "object", - "properties": { - "url": { - "type": "string", - "description": "Signed URL to the partner fee invoice PDF (expires in 15 minutes)", - "example": "https://invoices-bucket.s3.us-east-1.amazonaws.com/signed-url..." - } - }, - "required": [ - "url" - ] - }, - "PayInvoiceSchemaOut": { - "type": "object", - "properties": { - "amount": { - "type": "integer", - "description": "Amount to pay in cents (USD)", - "example": 40000 - }, - "tron_wallet": { - "type": "string", - "description": "Tron wallet address to send USDT to", - "example": "TXYZabcd1234567890" - }, - "solana_wallet": { - "type": "string", - "description": "Solana wallet address to send USDC to", - "example": "Sol1abc123def456" - } - }, - "required": [ - "amount", - "tron_wallet", - "solana_wallet" - ] - }, - "CollectInvoiceSchemaOut": { - "type": "object", - "properties": { - "collection_id": { - "type": "string", - "description": "Invoice collection record ID", - "example": "ic_000000000000" - }, - "status": { - "type": "string", - "enum": [ - "pending", - "processing", - "completed", - "failed" - ], - "example": "pending" - }, - "amount": { - "type": "integer", - "description": "Amount to collect in cents", - "example": 50000 - }, - "network": { - "type": "string", - "example": "polygon" - }, - "token": { - "type": "string", - "example": "USDC" - }, - "wallet_address": { - "type": "string", - "example": "0x1234567890abcdef1234567890abcdef12345678" - } - }, - "required": [ - "collection_id", - "status", - "amount", - "network", - "token", - "wallet_address" - ] - }, - "CollectInvoiceBody": { - "type": "object", - "properties": { - "network": { - "type": "string", - "enum": [ - "polygon", - "base", - "arbitrum", - "ethereum", - "tron", - "solana", - "stellar" - ], - "description": "Blockchain network for collection", - "example": "polygon" - }, - "token": { - "type": "string", - "enum": [ - "USDC", - "USDT" - ], - "description": "Token to collect", - "example": "USDC" - }, - "wallet_address": { - "type": "string", - "description": "Wallet address to receive partner fees", - "example": "0x1234567890abcdef1234567890abcdef12345678" - } - }, - "required": [ - "network", - "token", - "wallet_address" - ] - }, - "CreatePortalSessionSchemaOut": { - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "description": "Stripe Customer Portal session URL", - "example": "https://billing.stripe.com/p/session/test_xxx" - } - }, - "required": [ - "url" - ] - }, - "PaymentMethodSchemaOut": { - "type": "object", - "properties": { - "type": { - "type": [ - "string", - "null" - ], - "enum": [ - "card", - "us_bank_account" - ], - "description": "Payment method type: card or us_bank_account", - "example": "card" - }, - "brand": { - "type": [ - "string", - "null" - ], - "description": "Card brand (visa, mastercard, amex, etc)", - "example": "visa" - }, - "last4": { - "type": [ - "string", - "null" - ], - "description": "Last 4 digits of card number or bank account", - "example": "4242" - }, - "exp_month": { - "type": [ - "number", - "null" - ], - "description": "Card expiration month (1-12)", - "example": 12 - }, - "exp_year": { - "type": [ - "number", - "null" - ], - "description": "Card expiration year", - "example": 2025 - }, - "bank_name": { - "type": [ - "string", - "null" - ], - "description": "Bank name for us_bank_account type", - "example": "Chase" - }, - "account_type": { - "type": [ - "string", - "null" - ], - "description": "Bank account type: checking or savings", - "example": "checking" - }, - "created_at": { - "type": [ - "string", - "null" - ], - "description": "ISO timestamp when payment method was added", - "example": "2024-12-27T00:00:00.000Z" - } - }, - "required": [ - "type", - "brand", - "last4", - "exp_month", - "exp_year", - "bank_name", - "account_type", - "created_at" - ] - }, "TransferOut": { "type": "object", "properties": { @@ -28566,7 +26228,8 @@ "citi", "hsbc", "cfsb", - "portage" + "portage", + "ssb" ], "example": "jpmorgan" }, @@ -28885,7 +26548,8 @@ "citi", "hsbc", "cfsb", - "portage" + "portage", + "ssb" ], "example": "jpmorgan" }, @@ -34884,521 +32548,6 @@ "submitted_at", "created_at" ] - }, - "RecurringItem": { - "type": "object", - "properties": { - "id": { - "type": "string", - "example": "rc_000000000000" - }, - "instance_id": { - "type": "string", - "example": "in_000000000000" - }, - "description": { - "type": "string", - "example": "Premium Support" - }, - "amount": { - "type": "integer", - "description": "Amount in cents for fixed billing", - "example": 5000 - }, - "frequency_months": { - "type": "integer", - "exclusiveMinimum": 0, - "description": "Billing frequency in months (1=monthly, 3=quarterly, etc)", - "example": 1 - }, - "first_invoice_sequence": { - "type": "integer", - "exclusiveMinimum": 0, - "description": "Invoice sequence number when this item first becomes due", - "example": 1 - }, - "billing_scheme": { - "type": "string", - "enum": [ - "fixed", - "metered" - ], - "example": "fixed" - }, - "metric_id": { - "type": [ - "string", - "null" - ], - "example": "approved_individual_customers" - }, - "per_unit_amount": { - "type": [ - "integer", - "null" - ], - "description": "Override default rate in cents for metered billing", - "example": 20 - }, - "product_id": { - "type": [ - "string", - "null" - ], - "example": "pr_000000000000" - }, - "product_name": { - "type": [ - "string", - "null" - ], - "description": "Product name when product_id is set (from stripe product catalog)", - "example": "Swift Addon" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - } - }, - "required": [ - "id", - "instance_id", - "description", - "amount", - "frequency_months", - "first_invoice_sequence", - "billing_scheme", - "metric_id", - "per_unit_amount", - "product_id" - ] - }, - "CreateRecurringItemSchemaIn": { - "type": "object", - "properties": { - "description": { - "type": "string", - "minLength": 1, - "example": "Swift Addon" - }, - "amount": { - "type": "integer", - "minimum": 0, - "description": "Amount in cents", - "example": 5000 - }, - "frequency_months": { - "type": "integer", - "exclusiveMinimum": 0, - "example": 1 - }, - "first_invoice_sequence": { - "type": "integer", - "exclusiveMinimum": 0, - "example": 1 - }, - "product_id": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "description", - "amount", - "frequency_months", - "first_invoice_sequence" - ] - }, - "UpdateRecurringItemSchemaIn": { - "type": "object", - "properties": { - "description": { - "type": "string", - "minLength": 1 - }, - "amount": { - "type": "integer", - "minimum": 0 - }, - "frequency_months": { - "type": "integer", - "exclusiveMinimum": 0 - }, - "first_invoice_sequence": { - "type": "integer", - "exclusiveMinimum": 0 - }, - "product_id": { - "type": [ - "string", - "null" - ] - } - } - }, - "CreateComplaintIn": { - "type": "object", - "properties": { - "first_name": { - "type": "string", - "minLength": 1 - }, - "last_name": { - "type": "string", - "minLength": 1 - }, - "email": { - "type": "string", - "format": "email" - }, - "complaint_type": { - "type": "string", - "minLength": 1 - }, - "description": { - "type": "string", - "minLength": 20, - "maxLength": 5000 - } - }, - "required": [ - "first_name", - "last_name", - "email", - "complaint_type", - "description" - ] - }, - "FeedbackActor": { - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "id", - "name", - "email" - ] - }, - "FeedbackWithActorOut": { - "allOf": [ - { - "$ref": "#/components/schemas/FeedbackOut" - }, - { - "type": "object", - "properties": { - "actor": { - "$ref": "#/components/schemas/FeedbackActor" - } - }, - "required": [ - "actor" - ] - } - ] - }, - "CreateRfiBody": { - "type": "object", - "properties": { - "created_by_email": { - "type": "string", - "format": "email" - }, - "request": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RfiSection" - }, - "minItems": 1, - "maxItems": 20 - }, - "keep_customer_approved": { - "type": "boolean", - "default": false, - "description": "When true, sets the customer to approved_rfi (keeps full access while the RFI is open) instead of compliance_request (blocked).", - "example": false - } - }, - "required": [ - "created_by_email", - "request" - ] - }, - "KycDecisionBody": { - "type": "object", - "properties": { - "decision": { - "type": "string", - "enum": [ - "approved", - "rejected" - ] - }, - "reviewed_by": { - "type": "string", - "format": "email" - }, - "reason": { - "type": "string", - "maxLength": 2048 - } - }, - "required": [ - "decision", - "reviewed_by" - ] - }, - "UpdateDynamicRateOtcIn": { - "type": "object", - "properties": { - "dynamic_rate_otc": { - "type": "integer", - "minimum": 0, - "description": "Dynamic OTC rate markup in basis points (e.g. 5 = 0.05%)", - "example": 5 - } - }, - "required": [ - "dynamic_rate_otc" - ] - }, - "LedgerOperation": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "payin", - "payout" - ] - }, - "id": { - "type": "string" - }, - "instance_id": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": [ - "string", - "null" - ] - }, - "provider": { - "type": [ - "string", - "null" - ] - }, - "currency": { - "type": [ - "string", - "null" - ] - }, - "sender_amount": { - "type": [ - "string", - "null" - ] - }, - "receiver_amount": { - "type": [ - "string", - "null" - ] - }, - "network": { - "type": [ - "string", - "null" - ] - }, - "counterparty_address": { - "type": [ - "string", - "null" - ] - }, - "tx_hashes": { - "type": "array", - "items": { - "type": "string" - } - }, - "provider_transaction_ids": { - "type": "array", - "items": { - "type": "string" - } - }, - "external_id": { - "type": [ - "string", - "null" - ] - }, - "bank_external_id": { - "type": [ - "string", - "null" - ] - }, - "memo_code": { - "type": [ - "string", - "null" - ] - }, - "recipient_tax_id": { - "type": [ - "string", - "null" - ] - }, - "veem_customer_id": { - "type": [ - "string", - "null" - ] - }, - "funding_end_to_end_id": { - "type": [ - "string", - "null" - ] - }, - "payer_tax_id": { - "type": [ - "string", - "null" - ] - }, - "is_otc": { - "type": "boolean" - }, - "created_at": { - "type": [ - "string", - "null" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "kind", - "id", - "instance_id", - "status", - "provider", - "currency", - "sender_amount", - "receiver_amount", - "network", - "counterparty_address", - "tx_hashes", - "provider_transaction_ids", - "external_id", - "bank_external_id", - "memo_code", - "recipient_tax_id", - "veem_customer_id", - "funding_end_to_end_id", - "payer_tax_id", - "is_otc", - "created_at", - "updated_at" - ] - }, - "MonitoredWallet": { - "type": "object", - "properties": { - "network": { - "type": "string" - }, - "address": { - "type": "string" - }, - "label": { - "type": "string", - "description": "treasury: for the shared treasury wallet, instance: for a `wallet` row, instance::offramp for an `offramp_wallet` row.", - "example": "instance:inst_abc123" - }, - "source": { - "type": "string", - "enum": [ - "treasury", - "wallet", - "offramp_wallet" - ] - }, - "instance_id": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "network", - "address", - "label", - "source", - "instance_id" - ] - }, - "CreateInstanceRfiBody": { - "type": "object", - "properties": { - "created_by_email": { - "type": "string", - "format": "email" - }, - "request": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RfiSection" - }, - "minItems": 1, - "maxItems": 20 - } - }, - "required": [ - "created_by_email", - "request" - ] } }, "parameters": {} @@ -53928,4 +51077,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/blindpay/types.py b/src/blindpay/types.py index 7eb8cea..bbbed0e 100644 --- a/src/blindpay/types.py +++ b/src/blindpay/types.py @@ -388,7 +388,7 @@ class TrackingPartnerFee(TypedDict): "other", ] -BankingPartner = Literal["cfsb", "citi", "hsbc", "jpmorgan", "portage"] +BankingPartner = Literal["cfsb", "citi", "hsbc", "jpmorgan", "portage", "ssb"] PaymentMethod = Literal["ach", "wire", "pix", "spei", "transfers", "pse", "international_swift", "rtp", "ted"]