{
  "openapi": "3.0.3",
  "info": {
    "title": "Bullring Partner API",
    "version": "1.0.0",
    "description": "Signed NGN partner endpoints. The playground can show request and response schemas; generate X-Digital-Signature from the exact raw request bytes before sending.",
    "license": {
      "name": "Proprietary",
      "url": "https://www.bullring.finance/tos"
    }
  },
  "servers": [
    {
      "url": "https://sandbox-api.bullring.finance",
      "description": "Sandbox"
    },
    {
      "url": "https://api.bullring.finance",
      "description": "Production"
    }
  ],
  "tags": [
    {
      "name": "Deposits",
      "description": "NGN deposit instructions, deposit history and sandbox simulation."
    },
    {
      "name": "Recipients",
      "description": "NGN bank recipient registration and lookup."
    },
    {
      "name": "Withdrawals",
      "description": "NGN withdrawal creation and status lookup."
    },
    {
      "name": "Conversion quotes",
      "description": "Read-only exchange and fee quotes."
    }
  ],
  "paths": {
    "/v2/ramp/{storeId}/banking/deposits": {
      "get": {
        "tags": [
          "Deposits"
        ],
        "operationId": "listStoreDeposits",
        "summary": "List store deposits",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "channelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 20
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/DepositList"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "post": {
        "tags": [
          "Deposits"
        ],
        "operationId": "createVirtualAccount",
        "summary": "Create an NGN virtual account",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DepositInstructionsRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/DepositInstructions"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "502": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v2/ramp/{storeId}/banking/deposits/simulate": {
      "post": {
        "tags": [
          "Deposits"
        ],
        "operationId": "simulateDeposit",
        "summary": "Simulate a deposit (sandbox only)",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SimulateDepositRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/EmptySuccess"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v2/ramp/{storeId}/banking/recipients": {
      "get": {
        "tags": [
          "Recipients"
        ],
        "operationId": "listRecipients",
        "summary": "List recipients",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "responses": {
          "200": {
            "description": "Recipients",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Recipient"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "post": {
        "tags": [
          "Recipients"
        ],
        "operationId": "createRecipient",
        "summary": "Create an NGN recipient",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecipientRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created recipient",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Recipient"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "502": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v2/ramp/{storeId}/banking/recipients/{recipientId}": {
      "get": {
        "tags": [
          "Recipients"
        ],
        "operationId": "getRecipient",
        "summary": "Get a recipient",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/RecipientId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "responses": {
          "200": {
            "description": "Recipient",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Recipient"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        }
      }
    },
    "/v2/ramp/{storeId}/banking/withdrawals": {
      "get": {
        "tags": [
          "Withdrawals"
        ],
        "operationId": "listWithdrawals",
        "summary": "List withdrawals",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/WithdrawalList"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "post": {
        "tags": [
          "Withdrawals"
        ],
        "operationId": "createWithdrawal",
        "summary": "Create an NGN withdrawal",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WithdrawalRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Withdrawal accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Withdrawal"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "502": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v2/ramp/{storeId}/banking/withdrawals/{withdrawalId}": {
      "get": {
        "tags": [
          "Withdrawals"
        ],
        "operationId": "getWithdrawal",
        "summary": "Get a withdrawal",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/WithdrawalId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "responses": {
          "200": {
            "description": "Withdrawal",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Withdrawal"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        }
      }
    },
    "/v1/ramp/{storeId}/banking/conversions/quote": {
      "post": {
        "tags": [
          "Conversion quotes"
        ],
        "operationId": "getConversionQuote",
        "summary": "Get a conversion quote",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuoteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Quote",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Quote"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "503": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v2/ramp/{storeId}/banking/deposits/{depositId}": {
      "get": {
        "tags": [
          "Deposits"
        ],
        "operationId": "getDeposit",
        "summary": "Get a deposit",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "name": "depositId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "responses": {
          "200": {
            "description": "Deposit",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Deposit"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    },
    "/v2/ramp/{storeId}/banking/ngn/institutions": {
      "get": {
        "tags": [
          "NGN banking"
        ],
        "operationId": "listNgnInstitutions",
        "summary": "List NGN banking institutions",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "responses": {
          "200": {
            "description": "NGN institutions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NgnInstitution"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v2/ramp/{storeId}/banking/ngn/validate": {
      "post": {
        "tags": [
          "NGN banking"
        ],
        "operationId": "validateNgnAccount",
        "summary": "Validate an NGN bank account",
        "parameters": [
          {
            "$ref": "#/components/parameters/StoreId"
          },
          {
            "$ref": "#/components/parameters/SignatureHeaders"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NgnAccountValidationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Validation result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NgnAccountValidation"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "StoreId": {
        "name": "storeId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "RecipientId": {
        "name": "recipientId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "WithdrawalId": {
        "name": "withdrawalId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "SignatureHeaders": {
        "name": "X-Key-Id",
        "in": "header",
        "required": true,
        "description": "Also send X-Timestamp, X-Idempotency-Id and X-Digital-Signature. Sign the exact raw request bytes.",
        "schema": {
          "type": "string",
          "example": "prod-2026-02"
        }
      }
    },
    "schemas": {
      "DepositInstructionsRequest": {
        "type": "object",
        "required": [
          "channelId"
        ],
        "properties": {
          "channelId": {
            "type": "string",
            "example": "ngn-channel-id-bullring-finance"
          },
          "generateNewAccount": {
            "type": "boolean"
          },
          "beneficiaryName": {
            "type": "string",
            "maxLength": 255
          }
        }
      },
      "SimulateDepositRequest": {
        "type": "object",
        "properties": {
          "depositType": {
            "type": "string",
            "enum": [
              "deposit",
              "onramp",
              "offramp"
            ]
          },
          "currency": {
            "type": "string",
            "example": "NGN"
          },
          "amount": {
            "type": "number",
            "example": 100
          },
          "transferReference": {
            "type": "string"
          }
        }
      },
      "RecipientRequest": {
        "type": "object",
        "required": [
          "currency",
          "payment_rail",
          "bank_name",
          "account_number",
          "bank_code"
        ],
        "properties": {
          "currency": {
            "type": "string",
            "example": "NGN"
          },
          "payment_rail": {
            "type": "string",
            "example": "BANK_TRANSFER"
          },
          "bank_name": {
            "type": "string",
            "example": "Parkway"
          },
          "account_number": {
            "type": "string",
            "example": "8120001540"
          },
          "bank_code": {
            "type": "string",
            "example": "058"
          }
        }
      },
      "Recipient": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "account_owner_name": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "currency": {
            "type": "string"
          },
          "account_id": {
            "type": "string"
          },
          "payment_rail": {
            "type": "string"
          },
          "bank_name": {
            "type": "string"
          },
          "last_4": {
            "type": "string"
          }
        }
      },
      "WithdrawalRequest": {
        "type": "object",
        "required": [
          "recipient_id",
          "amount",
          "currency"
        ],
        "properties": {
          "recipient_id": {
            "type": "string",
            "format": "uuid"
          },
          "amount": {
            "type": "string",
            "example": "1000"
          },
          "currency": {
            "type": "string",
            "example": "NGN"
          },
          "client_reference": {
            "type": "string"
          }
        }
      },
      "Withdrawal": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "amount": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "example": "screening"
          },
          "fee_amount": {
            "type": "string"
          },
          "fee_currency": {
            "type": "string"
          },
          "net_amount": {
            "type": "string"
          },
          "client_reference": {
            "type": "string"
          }
        }
      },
      "QuoteRequest": {
        "type": "object",
        "required": [
          "fromCurrency",
          "toCurrency",
          "amount"
        ],
        "properties": {
          "fromCurrency": {
            "type": "string",
            "example": "USD"
          },
          "toCurrency": {
            "type": "string",
            "example": "NGN"
          },
          "amount": {
            "type": "number",
            "example": 1000
          }
        }
      },
      "Quote": {
        "type": "object",
        "properties": {
          "fromCurrency": {
            "type": "string"
          },
          "toCurrency": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "grossTargetAmount": {
            "type": "string"
          },
          "sourceNetAmount": {
            "type": "string"
          },
          "feeAmount": {
            "type": "string"
          },
          "feeCurrency": {
            "type": "string"
          },
          "feeAppliedTo": {
            "type": "string",
            "enum": [
              "source",
              "target"
            ]
          },
          "netTargetAmount": {
            "type": "string"
          },
          "rate": {
            "type": "number"
          },
          "rawRate": {
            "type": "number"
          },
          "rateDetails": {
            "type": "object",
            "additionalProperties": true
          },
          "routeType": {
            "type": "string"
          },
          "bridgeCurrency": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DepositList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Deposit"
            }
          },
          "count": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "limit": {
            "type": "integer"
          },
          "totalPages": {
            "type": "integer"
          }
        }
      },
      "WithdrawalList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Withdrawal"
            }
          },
          "count": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "limit": {
            "type": "integer"
          },
          "totalPages": {
            "type": "integer"
          }
        }
      },
      "Deposit": {
        "type": "object",
        "required": [
          "id",
          "status",
          "amount",
          "currency",
          "createdAt"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "type": "string"
          },
          "amount": {
            "type": "string",
            "example": "100.00000000"
          },
          "localAmount": {
            "type": "string"
          },
          "currency": {
            "type": "string",
            "example": "NGN"
          },
          "localCurrency": {
            "type": "string"
          },
          "fee": {
            "type": "string"
          },
          "feeCurrency": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "reference": {
            "type": "string"
          },
          "bankInfo": {
            "type": "object",
            "additionalProperties": true
          },
          "depositor": {
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "DepositInstruction": {
        "type": "object",
        "required": [
          "currency",
          "bankInfo",
          "channelId"
        ],
        "properties": {
          "currency": {
            "type": "string",
            "example": "NGN"
          },
          "bankInfo": {
            "type": "object",
            "required": [
              "bankAccountNumber",
              "bankBeneficiaryName",
              "bankName"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "bankBeneficiaryName": {
                "type": "string"
              },
              "bankName": {
                "type": "string"
              },
              "bankAccountNumber": {
                "type": "string"
              },
              "bankCode": {
                "type": "string"
              }
            }
          },
          "channelId": {
            "type": "string"
          }
        }
      },
      "ApiError": {
        "type": "object",
        "required": [
          "statusCode",
          "message"
        ],
        "properties": {
          "statusCode": {
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "message": {}
        }
      },
      "NgnInstitution": {
        "type": "object",
        "required": [
          "name",
          "code"
        ],
        "properties": {
          "name": {
            "type": "string",
            "example": "Example Bank"
          },
          "code": {
            "type": "string",
            "example": "058"
          },
          "nibssCode": {
            "type": "string",
            "example": "000058"
          },
          "cbnCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
        "NgnAccountValidation": {
          "type": "object",
          "required": [
            "valid"
          ],
          "properties": {
            "valid": {
              "type": "boolean",
              "example": true
            },
            "bank": {
              "$ref": "#/components/schemas/NgnInstitution"
            },
            "account_name": {
              "type": "string",
              "example": "SIMULATED HOLDER 1540"
            },
            "message": {
              "type": "string"
            },
            "provider": {
              "type": "object",
              "additionalProperties": true
            },
            "providerError": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
      "NgnAccountValidationRequest": {
        "type": "object",
        "required": [
          "accountNumber",
          "bankCode"
        ],
        "properties": {
          "accountNumber": {
            "type": "string",
            "example": "0123456789"
          },
          "bankCode": {
            "type": "string",
            "example": "058",
            "description": "Institution code or institution name"
          }
        }
      }
    },
    "responses": {
      "Error": {
        "description": "Error response",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "statusCode": {
                  "type": "integer"
                },
                "code": {
                  "type": "string"
                },
                "message": {}
              }
            }
          }
        }
      },
      "EmptySuccess": {
        "description": "Accepted"
      },
      "DepositList": {
        "description": "Deposit list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DepositList"
            }
          }
        }
      },
      "DepositInstructions": {
        "description": "NGN deposit instructions",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DepositInstruction"
            }
          }
        }
      },
      "WithdrawalList": {
        "description": "Withdrawal list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/WithdrawalList"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Missing or invalid signature",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "Forbidden": {
        "description": "Scope or store access denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "NotFound": {
        "description": "Resource not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "Conflict": {
        "description": "Idempotency or state conflict",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ServerError": {
        "description": "Temporary service failure",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "partnerSignature": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Key-Id",
        "description": "This selects the registered RSA public key. Also send X-Timestamp, X-Idempotency-Id and X-Digital-Signature."
      }
    }
  },
  "security": [
    {
      "partnerSignature": []
    }
  ]
}
