{
  "openapi": "3.1.0",
  "info": {
    "title": "Bridflow public HTTP API",
    "version": "1",
    "description": "Source-contract snapshot for the public read-only development endpoints. Refer to the Environments guide for runtime availability."
  },
  "servers": [
    {
      "url": "https://development-api.bridflow.com",
      "description": "Configured development origin"
    }
  ],
  "paths": {
    "/api/v1/health/ping": {
      "get": {
        "operationId": "GetHealthPingQueryV1",
        "responses": {
          "200": {
            "description": "Service process is live"
          }
        },
        "security": [
          {}
        ],
        "summary": "Get health ping query V1",
        "tags": [],
        "x-sentyhub-http-reason": "operational",
        "x-sentyhub-kind": "query",
        "x-sentyhub-transport": "http"
      }
    },
    "/api/v1/health/ready": {
      "get": {
        "operationId": "GetHealthReadinessQueryV1",
        "responses": {
          "200": {
            "description": "Required service components are ready"
          },
          "503": {
            "description": "A required service component is unavailable"
          }
        },
        "security": [
          {}
        ],
        "summary": "Get health readiness query V1",
        "tags": [],
        "x-sentyhub-http-reason": "operational",
        "x-sentyhub-kind": "query",
        "x-sentyhub-transport": "http"
      }
    },
    "/api/v1/transfer-previews/routes": {
      "get": {
        "operationId": "TransferPreviewRoutesQueryV1",
        "parameters": [
          {
            "in": "query",
            "name": "flow",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/TransferAssetFlow"
            }
          },
          {
            "in": "query",
            "name": "sourceCurrency",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Currency"
            }
          },
          {
            "in": "query",
            "name": "destinationCurrency",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Currency"
            }
          },
          {
            "description": "Include asset choices in the response, preserving the currency-only response for other clients.",
            "in": "query",
            "name": "includeAssets",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Selects a published source currency, rail, and fulfillment together.",
            "in": "query",
            "name": "sourceAssetKey",
            "required": false,
            "schema": {
              "maxLength": 128,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferPreviewRoutesQueryV1Result"
                }
              }
            },
            "description": "Published route options before account eligibility is evaluated"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Invalid currency or flow"
          },
          "429": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Network or anonymous request budget exhausted"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Request admission unavailable"
          }
        },
        "security": [
          {}
        ],
        "summary": "Transfer preview routes query V1",
        "tags": [],
        "x-sentyhub-http-reason": "Browser bootstrap for the public direct and automatic transfer preview. It contains no account data, executes no payment and does not expose authenticated transfer routing.",
        "x-sentyhub-kind": "query",
        "x-sentyhub-transport": "http"
      }
    },
    "/api/v1/transfer-previews/quote": {
      "get": {
        "operationId": "TransferPreviewQuoteQueryV1",
        "parameters": [
          {
            "in": "query",
            "name": "flow",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/TransferAssetFlow"
            }
          },
          {
            "in": "query",
            "name": "routeKey",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "Gross amount in the route's source currency.",
            "in": "query",
            "name": "amount",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ExactDecimal"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferPreviewQuoteQueryV1Result"
                }
              }
            },
            "description": "Indicative published fees and net amount, when a public price is available"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Invalid route, flow or amount"
          },
          "429": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Network, anonymous or quote request budget exhausted"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Pricing or request admission unavailable"
          }
        },
        "security": [
          {}
        ],
        "summary": "Transfer preview quote query V1",
        "tags": [],
        "x-sentyhub-http-reason": "Public browser preview before a user connects or signs in. This read-only estimate uses published pricing, never accesses account pricing and cannot authorize or prepare a transfer.",
        "x-sentyhub-kind": "query",
        "x-sentyhub-transport": "http"
      }
    },
    "/api/v1/payment-instruction-notices": {
      "get": {
        "operationId": "PaymentInstructionNoticesQueryV1",
        "parameters": [
          {
            "in": "query",
            "name": "provider",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/ProviderType"
            }
          },
          {
            "in": "query",
            "name": "flowType",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/TransactionFlowType"
            }
          },
          {
            "in": "query",
            "name": "autoConvertRouteKind",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/AutoConvertRouteKind"
            }
          },
          {
            "in": "query",
            "name": "currency",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Currency"
            }
          },
          {
            "in": "query",
            "name": "paymentRail",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/PaymentRail"
            }
          },
          {
            "in": "query",
            "name": "direction",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/TransferDirection"
            }
          },
          {
            "description": "Informational legal-type context; never evidence of account or payment eligibility.",
            "in": "query",
            "name": "accountType",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/AccountType"
            }
          },
          {
            "description": "Explicit language tag; omitted or unavailable translations use canonical English.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "maxLength": 35,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInstructionNoticesQueryV1Result"
                }
              }
            },
            "description": "Localized informational rail guidance; this does not authorize a payment"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Invalid filters or language"
          },
          "429": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Network or anonymous request budget exhausted"
          },
          "500": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Catalog unavailable"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Request admission unavailable"
          }
        },
        "security": [
          {}
        ],
        "summary": "Payment instruction notices query V1",
        "tags": [],
        "x-sentyhub-http-reason": "Public static bootstrap catalog for unauthenticated landing pages; contains no account data and performs no provider calls. Authenticated application instructions remain on WebSocket.",
        "x-sentyhub-kind": "query",
        "x-sentyhub-transport": "http"
      }
    }
  },
  "components": {
    "schemas": {
      "AccountType": {
        "enum": [
          "Undefined",
          "Personal",
          "Business"
        ],
        "type": "string"
      },
      "AttemptRecovery": {
        "description": "How an unsuccessful command attempt may be continued by the caller.",
        "enum": [
          "retry_same_request",
          "revise_request"
        ],
        "type": "string"
      },
      "AutoConvertRouteKind": {
        "enum": [
          "Undefined",
          "VirtualAccount",
          "LiquidationAddress"
        ],
        "type": "string"
      },
      "Currency": {
        "enum": [
          "Undefined",
          "Usd",
          "Eur",
          "Mxn",
          "Dai",
          "Eurc",
          "Pyusd",
          "Ousd",
          "Usdb",
          "Usdc",
          "Usdt",
          "Usdp",
          "Cash",
          "Brl",
          "Cop",
          "Gbp",
          "Usdcbl",
          "Usdg",
          "Usdsui",
          "Pathusd"
        ],
        "type": "string"
      },
      "ExactDecimal": {
        "description": "Exact base-10 value. The wire keeps its scale and never passes through binary floating point.",
        "format": "decimal",
        "pattern": "^-?[0-9]+(\\.[0-9]{1,28})?$",
        "type": "string"
      },
      "FieldViolation": {
        "description": "Stable machine-readable validation failure attached to application Problem Details.",
        "properties": {
          "code": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "code",
          "message"
        ],
        "type": "object"
      },
      "PaymentInstructionNotice": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "$ref": "#/components/schemas/PaymentInstructionNoticeKind"
          },
          "description": {
            "type": "string"
          },
          "items": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "severity": {
            "$ref": "#/components/schemas/PaymentInstructionNoticeLevel"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "severity",
          "title",
          "description",
          "items"
        ],
        "type": "object"
      },
      "PaymentInstructionNoticeKind": {
        "enum": [
          "usdBankDeposits",
          "eurSepa",
          "mxnSpei",
          "brlPix",
          "gbpFps",
          "copBankTransfers"
        ],
        "type": "string"
      },
      "PaymentInstructionNoticeLevel": {
        "enum": [
          "info"
        ],
        "type": "string"
      },
      "PaymentInstructionNoticesQueryV1Result": {
        "additionalProperties": false,
        "properties": {
          "notices": {
            "items": {
              "$ref": "#/components/schemas/PaymentInstructionNotice"
            },
            "type": "array"
          }
        },
        "required": [
          "notices"
        ],
        "type": "object"
      },
      "PaymentRail": {
        "enum": [
          "Undefined",
          "Ach",
          "Wire",
          "AchSameDay",
          "Arbitrum",
          "AvalancheCChain",
          "Base",
          "Ethereum",
          "Optimism",
          "Polygon",
          "Sepa",
          "Solana",
          "Spei",
          "Stellar",
          "Swift",
          "Tron",
          "Pix",
          "Aptos",
          "BrebBankTransferBeta",
          "BridgeWallet",
          "Celo",
          "FasterPayments",
          "HyperEvm",
          "Plasma",
          "Sui",
          "Tempo",
          "WorldChain",
          "AchPush",
          "Fednow",
          "Linea",
          "Monad"
        ],
        "type": "string"
      },
      "Problem": {
        "description": "Common Problem Details fields for HTTP responses and JSON-RPC error data.\n\nProtocol endpoints such as OAuth and OIDC own their specification-defined\nerror representation instead of using this application profile.",
        "properties": {
          "attemptRecovery": {
            "$ref": "#/components/schemas/AttemptRecovery"
          },
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "errorId": {
            "type": "string"
          },
          "fieldErrors": {
            "items": {
              "$ref": "#/components/schemas/FieldViolation"
            },
            "type": "array"
          },
          "requestId": {
            "type": "string"
          },
          "retryAfterSeconds": {
            "$ref": "#/components/schemas/UnsignedSchema",
            "description": "Minimum wait before a new attempt, in whole seconds within the exact JSON integer range."
          },
          "title": {
            "type": "string"
          },
          "traceId": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "attemptRecovery",
          "type",
          "title",
          "detail",
          "code",
          "errorId"
        ],
        "type": "object"
      },
      "ProblemDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Problem"
          },
          {
            "properties": {
              "status": {
                "format": "int32",
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "status"
            ],
            "type": "object"
          }
        ],
        "description": "RFC 9457 HTTP representation. Status is mandatory here and absent on WebSocket."
      },
      "ProviderType": {
        "enum": [
          "Undefined",
          "Bridge",
          "Circle"
        ],
        "type": "string"
      },
      "TransactionFlowType": {
        "enum": [
          "Undefined",
          "Direct",
          "AutoConvert"
        ],
        "type": "string"
      },
      "TransferAssetFlow": {
        "enum": [
          "Direct",
          "AutoConvert"
        ],
        "type": "string"
      },
      "TransferDirection": {
        "enum": [
          "Undefined",
          "Deposit",
          "Withdrawal",
          "ExternalConversion",
          "Refund"
        ],
        "type": "string"
      },
      "TransferPreviewAsset": {
        "additionalProperties": false,
        "properties": {
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "fulfillment": {
            "$ref": "#/components/schemas/TransferRouteFulfillment"
          },
          "key": {
            "type": "string"
          },
          "rail": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PaymentRail"
              }
            ]
          }
        },
        "required": [
          "key",
          "currency",
          "rail",
          "fulfillment"
        ],
        "type": "object"
      },
      "TransferPreviewDestination": {
        "additionalProperties": false,
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/TransferPreviewAsset"
          },
          "routeKey": {
            "type": "string"
          }
        },
        "required": [
          "asset",
          "routeKey"
        ],
        "type": "object"
      },
      "TransferPreviewEstimate": {
        "additionalProperties": false,
        "properties": {
          "destinationAmount": {
            "$ref": "#/components/schemas/ExactDecimal",
            "description": "Quoted net amount in destination currency units."
          },
          "estimatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "sourceAmount": {
            "$ref": "#/components/schemas/ExactDecimal",
            "description": "Quoted gross amount in source currency units."
          },
          "sourceMinimum": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TransferPreviewSourceMinimum",
                "description": "Amount eligibility for direct routes whose standard net source amount is modeled here."
              }
            ]
          },
          "totalFeeUsd": {
            "$ref": "#/components/schemas/ExactDecimal"
          }
        },
        "required": [
          "sourceAmount",
          "destinationAmount",
          "totalFeeUsd",
          "estimatedAt",
          "sourceMinimum"
        ],
        "type": "object"
      },
      "TransferPreviewQuoteQueryV1Result": {
        "additionalProperties": false,
        "properties": {
          "estimate": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TransferPreviewEstimate",
                "description": "Null means a reliable public estimate is unavailable, for example when network gas\ndepends on the eventual wallet and payout details."
              }
            ]
          }
        },
        "required": [
          "estimate"
        ],
        "type": "object"
      },
      "TransferPreviewRoute": {
        "additionalProperties": false,
        "properties": {
          "destinationFulfillment": {
            "$ref": "#/components/schemas/TransferRouteFulfillment"
          },
          "destinationRail": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PaymentRail"
              }
            ]
          },
          "key": {
            "type": "string"
          },
          "minimumSourceAmount": {
            "$ref": "#/components/schemas/ExactDecimal"
          },
          "sourceFulfillment": {
            "$ref": "#/components/schemas/TransferRouteFulfillment"
          },
          "sourceRail": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PaymentRail"
              }
            ]
          }
        },
        "required": [
          "key",
          "sourceRail",
          "destinationRail",
          "sourceFulfillment",
          "destinationFulfillment",
          "minimumSourceAmount"
        ],
        "type": "object"
      },
      "TransferPreviewRoutesQueryV1Result": {
        "additionalProperties": false,
        "properties": {
          "destinationAssets": {
            "description": "Available only for the selected source asset, including its rail and fulfillment.",
            "items": {
              "$ref": "#/components/schemas/TransferPreviewDestination"
            },
            "type": "array"
          },
          "destinationCurrencies": {
            "description": "Available for the selected source, regardless of the selected destination.",
            "items": {
              "$ref": "#/components/schemas/Currency"
            },
            "type": "array"
          },
          "routes": {
            "description": "Options for the selected pair, or empty until both currencies are selected.",
            "items": {
              "$ref": "#/components/schemas/TransferPreviewRoute"
            },
            "type": "array"
          },
          "sourceAssets": {
            "items": {
              "$ref": "#/components/schemas/TransferPreviewAsset"
            },
            "type": "array"
          },
          "sourceCurrencies": {
            "items": {
              "$ref": "#/components/schemas/Currency"
            },
            "type": "array"
          }
        },
        "required": [
          "sourceCurrencies",
          "destinationCurrencies",
          "routes"
        ],
        "type": "object"
      },
      "TransferPreviewSourceMinimum": {
        "additionalProperties": false,
        "properties": {
          "met": {
            "description": "Whether the quote meets the route's positive net source requirement.",
            "type": "boolean"
          },
          "netAmount": {
            "$ref": "#/components/schemas/ExactDecimal"
          },
          "requiredNetAmount": {
            "$ref": "#/components/schemas/ExactDecimal",
            "description": "Both amounts use the selected route's source currency."
          }
        },
        "required": [
          "requiredNetAmount",
          "netAmount",
          "met"
        ],
        "type": "object"
      },
      "TransferRouteFulfillment": {
        "enum": [
          "userProvidedInstruction",
          "internalWallet",
          "providerGeneratedInstruction"
        ],
        "type": "string"
      },
      "UnsignedSchema": {
        "maximum": 9007199254740991,
        "minimum": 0,
        "type": "integer"
      }
    }
  },
  "x-source-revision": "251931351cb462dad31dad04f2f37a7ac0a9afb3"
}
