{
  "openapi": "3.1.0",
  "info": {
    "title": "Money API",
    "description": "Endpoints are authenticated with an API key: send api-access-key, api-timestamp, and api-signature on each request. Public endpoints (security: []) take no key.",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.pax.markets",
      "description": "Production API"
    }
  ],
  "paths": {
    "/v1/money/assets/{asset}/chains": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get supported chains for asset",
        "operationId": "MoneyService_GetSupportedChainsForAsset",
        "parameters": [
          {
            "in": "path",
            "name": "asset",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/paxcommonAsset"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetSupportedChainsForAssetResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/deposit-addresses": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get deposit addresses",
        "operationId": "MoneyService_GetDepositAddresses",
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetDepositAddressesResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/deposit-addresses/{asset}": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get deposit address",
        "operationId": "MoneyService_GetDepositAddress",
        "parameters": [
          {
            "in": "path",
            "name": "asset",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/paxcommonAsset"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "chain",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetDepositAddressResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/crypto-deposits": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get crypto deposits",
        "operationId": "MoneyService_GetCryptoDeposits",
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetCryptoDepositsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/crypto-deposits/attributes": {
      "post": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Attribute crypto deposit",
        "operationId": "MoneyService_AttributeCryptoDeposit",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/paxmoneyAttributeCryptoDepositRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyAttributeCryptoDepositResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [
              "trade"
            ],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/fiat-deposit-instructions": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get fiat deposit instructions",
        "operationId": "MoneyService_GetFiatDepositInstructions",
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetFiatDepositInstructionsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/fiat-deposits": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get fiat deposits",
        "operationId": "MoneyService_GetFiatDeposits",
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetFiatDepositsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/withdraw-wallets": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get withdraw wallets",
        "operationId": "MoneyService_GetWithdrawWallets",
        "parameters": [
          {
            "in": "query",
            "name": "include_archived",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetWithdrawWalletsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/withdraw-wallets/{withdraw_wallet_id}": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get withdraw wallet",
        "operationId": "MoneyService_GetWithdrawWallet",
        "parameters": [
          {
            "in": "path",
            "name": "withdraw_wallet_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetWithdrawWalletResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      },
      "delete": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Archive withdraw wallet",
        "operationId": "MoneyService_ArchiveWithdrawWallet",
        "parameters": [
          {
            "in": "path",
            "name": "withdraw_wallet_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyArchiveWithdrawWalletResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [
              "withdraw"
            ],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/withdraw-wallets-by-address/{wallet_address}": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get withdraw wallet by address",
        "operationId": "MoneyService_GetWithdrawWalletByAddress",
        "parameters": [
          {
            "in": "path",
            "name": "wallet_address",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "chain",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetWithdrawWalletByAddressResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/crypto-withdrawals": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get crypto withdrawals",
        "operationId": "MoneyService_GetCryptoWithdrawals",
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetCryptoWithdrawalsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      },
      "post": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Submit crypto withdrawal",
        "operationId": "MoneyService_SubmitCryptoWithdrawal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/paxmoneySubmitCryptoWithdrawalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneySubmitCryptoWithdrawalResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [
              "withdraw"
            ],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/crypto-withdrawals/{withdrawal_id}": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get crypto withdrawal",
        "operationId": "MoneyService_GetCryptoWithdrawal",
        "parameters": [
          {
            "in": "path",
            "name": "withdrawal_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetCryptoWithdrawalResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/crypto-withdrawals-by-idempotency-key/{idempotency_key}": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get crypto withdrawal by idempotency key",
        "operationId": "MoneyService_GetCryptoWithdrawalByIdempotencyKey",
        "parameters": [
          {
            "in": "path",
            "name": "idempotency_key",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetCryptoWithdrawalByIdempotencyKeyResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/withdraw-bank-accounts": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get withdraw bank accounts",
        "operationId": "MoneyService_GetWithdrawBankAccounts",
        "parameters": [
          {
            "in": "query",
            "name": "include_archived",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetWithdrawBankAccountsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/withdraw-bank-accounts/{withdraw_bank_account_id}": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get withdraw bank account",
        "operationId": "MoneyService_GetWithdrawBankAccount",
        "parameters": [
          {
            "in": "path",
            "name": "withdraw_bank_account_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetWithdrawBankAccountResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      },
      "delete": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Archive withdraw bank account",
        "operationId": "MoneyService_ArchiveWithdrawBankAccount",
        "parameters": [
          {
            "in": "path",
            "name": "withdraw_bank_account_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyArchiveWithdrawBankAccountResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [
              "withdraw"
            ],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/fiat-withdrawals": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get fiat withdrawals",
        "operationId": "MoneyService_GetFiatWithdrawals",
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetFiatWithdrawalsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      },
      "post": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Submit fiat withdrawal",
        "operationId": "MoneyService_SubmitFiatWithdrawal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/paxmoneySubmitFiatWithdrawalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneySubmitFiatWithdrawalResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [
              "withdraw"
            ],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/fiat-withdrawals/{withdrawal_id}": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get fiat withdrawal",
        "operationId": "MoneyService_GetFiatWithdrawal",
        "parameters": [
          {
            "in": "path",
            "name": "withdrawal_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetFiatWithdrawalResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/fiat-withdrawals-by-idempotency-key/{idempotency_key}": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get fiat withdrawal by idempotency key",
        "operationId": "MoneyService_GetFiatWithdrawalByIdempotencyKey",
        "parameters": [
          {
            "in": "path",
            "name": "idempotency_key",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetFiatWithdrawalByIdempotencyKeyResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/crypto-transfers": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get crypto transfers",
        "operationId": "MoneyService_GetCryptoTransfers",
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetCryptoTransfersResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/conversion-quotes": {
      "post": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Create conversion quote",
        "operationId": "MoneyService_CreateConversionQuote",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/paxmoneyCreateConversionQuoteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyCreateConversionQuoteResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [
              "trade"
            ],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/conversions": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get conversions",
        "operationId": "MoneyService_GetConversions",
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetConversionsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      },
      "post": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Submit conversion",
        "operationId": "MoneyService_SubmitConversion",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/paxmoneySubmitConversionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneySubmitConversionResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [
              "trade"
            ],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    },
    "/v1/money/conversions/{conversion_id}": {
      "get": {
        "tags": [
          "MoneyService"
        ],
        "summary": "Get conversion",
        "operationId": "MoneyService_GetConversion",
        "parameters": [
          {
            "in": "path",
            "name": "conversion_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "default": {
            "description": "An error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/paxmoneyGetConversionResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessKey": [],
            "ApiTimestamp": [],
            "ApiSignature": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "LegacyErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "description": "Why the request failed. Requests stopped before reaching the endpoint, for example by authentication, send an object with a code and a message; errors from the endpoint itself send a string.",
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  }
                },
                "required": [
                  "code",
                  "message"
                ]
              }
            ]
          }
        },
        "required": [
          "error"
        ]
      },
      "paxcommonAsset": {
        "description": "Type of asset.",
        "x-enum-numbers": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "string",
        "enum": [
          "BTC",
          "ETH",
          "SOL",
          "USDT",
          "USDC",
          "USD"
        ]
      },
      "paxmoneyGetSupportedChainsForAssetRequest": {
        "type": "object",
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          }
        },
        "required": [
          "asset"
        ]
      },
      "paxmoneyGetSupportedChainsForAssetResponse": {
        "type": "object",
        "properties": {
          "chains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "paxmoneyGetDepositAddressesRequest": {
        "type": "object"
      },
      "paxmoneyDepositAddress": {
        "type": "object",
        "properties": {
          "chain": {
            "type": "string"
          },
          "asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "address": {
            "type": "string"
          },
          "created_time_ms": {
            "type": "string",
            "format": "int64"
          }
        },
        "required": [
          "chain",
          "asset",
          "address",
          "created_time_ms"
        ]
      },
      "paxmoneyGetDepositAddressesResponse": {
        "type": "object",
        "properties": {
          "deposit_addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyDepositAddress"
            }
          }
        }
      },
      "paxmoneyGetDepositAddressRequest": {
        "type": "object",
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "chain": {
            "type": "string"
          }
        },
        "required": [
          "asset",
          "chain"
        ]
      },
      "paxmoneyGetDepositAddressResponse": {
        "type": "object",
        "properties": {
          "deposit_address": {
            "$ref": "#/components/schemas/paxmoneyDepositAddress"
          }
        },
        "required": [
          "deposit_address"
        ]
      },
      "paxmoneyCryptoDepositCryptoDepositStatus": {
        "x-enum-numbers": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "string",
        "enum": [
          "INITIATED",
          "PENDING_ATTRIBUTION",
          "PENDING_REVIEW",
          "COMPLETED",
          "BLOCKED",
          "FAILED"
        ]
      },
      "paxmoneyGetCryptoDepositsRequest": {
        "type": "object",
        "properties": {
          "status": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyCryptoDepositCryptoDepositStatus"
            }
          }
        }
      },
      "paxmoneyCryptoDeposit": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/paxmoneyCryptoDepositCryptoDepositStatus"
          },
          "chain": {
            "type": "string"
          },
          "asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "amount": {
            "type": "string",
            "format": "int64"
          },
          "source_wallet_address": {
            "type": "string"
          },
          "deposit_wallet_address": {
            "type": "string"
          },
          "transaction_hash": {
            "type": "string"
          },
          "created_time_ms": {
            "type": "string",
            "format": "int64"
          }
        },
        "required": [
          "id",
          "status",
          "chain",
          "asset",
          "amount",
          "source_wallet_address",
          "deposit_wallet_address",
          "transaction_hash",
          "created_time_ms"
        ]
      },
      "paxmoneyGetCryptoDepositsResponse": {
        "type": "object",
        "properties": {
          "deposits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyCryptoDeposit"
            }
          }
        }
      },
      "paxmoneyAttributeCryptoDepositRequestCryptoDepositOriginWalletType": {
        "x-enum-numbers": [
          1,
          2
        ],
        "type": "string",
        "enum": [
          "CUSTODIAL",
          "SELF_HOSTED"
        ]
      },
      "paxmoneyAttributeCryptoDepositRequest": {
        "type": "object",
        "properties": {
          "crypto_deposit_id": {
            "type": "string"
          },
          "originator_country": {
            "type": "string"
          },
          "originator_name": {
            "type": "string"
          },
          "origin_wallet_type": {
            "$ref": "#/components/schemas/paxmoneyAttributeCryptoDepositRequestCryptoDepositOriginWalletType"
          }
        },
        "required": [
          "crypto_deposit_id",
          "originator_country",
          "originator_name",
          "origin_wallet_type"
        ]
      },
      "paxmoneyAttributeCryptoDepositResponse": {
        "type": "object"
      },
      "paxmoneyGetFiatDepositInstructionsRequest": {
        "type": "object"
      },
      "paxmoneyFiatDepositInstructionBankNetwork": {
        "x-enum-numbers": [
          1,
          2,
          3,
          4
        ],
        "type": "string",
        "enum": [
          "US_ACH",
          "US_WIRE",
          "SWIFT",
          "US_RTP"
        ]
      },
      "paxmoneyFiatDepositInstructionInstructionType": {
        "default": "INSTRUCTION_TYPE_UNKNOWN",
        "x-enum-numbers": [
          0,
          1,
          2
        ],
        "type": "string",
        "enum": [
          "INSTRUCTION_TYPE_UNKNOWN",
          "INSTRUCTION_TYPE_DEPOSIT",
          "INSTRUCTION_TYPE_AUTO_CONVERSION"
        ]
      },
      "paxmoneyFiatDepositInstruction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "bank_network": {
            "$ref": "#/components/schemas/paxmoneyFiatDepositInstructionBankNetwork"
          },
          "currency": {
            "type": "string"
          },
          "account_holder_name": {
            "type": "string"
          },
          "account_number": {
            "type": "string"
          },
          "bank_name": {
            "type": "string"
          },
          "bank_routing_number": {
            "type": "string"
          },
          "bank_swift_code": {
            "type": "string"
          },
          "reference_code": {
            "type": "string"
          },
          "convert_to_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "deposit_fee": {
            "type": "string",
            "format": "int64"
          },
          "instruction_type": {
            "$ref": "#/components/schemas/paxmoneyFiatDepositInstructionInstructionType"
          }
        },
        "required": [
          "id",
          "bank_network",
          "currency",
          "account_holder_name",
          "account_number",
          "bank_name",
          "bank_routing_number",
          "bank_swift_code",
          "reference_code",
          "convert_to_asset",
          "deposit_fee",
          "instruction_type"
        ]
      },
      "paxmoneyGetFiatDepositInstructionsResponse": {
        "type": "object",
        "properties": {
          "instructions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyFiatDepositInstruction"
            }
          }
        }
      },
      "paxmoneyGetFiatDepositsRequest": {
        "type": "object"
      },
      "paxmoneyFiatDepositFiatDepositStatus": {
        "x-enum-numbers": [
          1,
          2,
          3
        ],
        "type": "string",
        "enum": [
          "PENDING",
          "COMPLETED",
          "FAILED"
        ]
      },
      "paxmoneyFiatDeposit": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/paxmoneyFiatDepositFiatDepositStatus"
          },
          "currency": {
            "type": "string"
          },
          "amount": {
            "type": "string",
            "format": "int64"
          },
          "fee": {
            "type": "string",
            "format": "int64"
          },
          "credited_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "credited_amount": {
            "type": "string",
            "format": "int64"
          },
          "created_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "bank_network": {
            "$ref": "#/components/schemas/paxmoneyFiatDepositInstructionBankNetwork"
          }
        },
        "required": [
          "id",
          "status",
          "currency",
          "amount",
          "fee",
          "credited_asset",
          "credited_amount",
          "created_time_ms",
          "bank_network"
        ]
      },
      "paxmoneyGetFiatDepositsResponse": {
        "type": "object",
        "properties": {
          "deposits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyFiatDeposit"
            }
          }
        }
      },
      "paxmoneyGetWithdrawWalletsRequest": {
        "type": "object",
        "properties": {
          "include_archived": {
            "type": "boolean"
          }
        }
      },
      "paxmoneyWalletStatus": {
        "default": "PENDING",
        "x-enum-numbers": [
          0,
          1,
          2
        ],
        "type": "string",
        "enum": [
          "PENDING",
          "UNDER_REVIEW",
          "VERIFIED"
        ]
      },
      "paxmoneyWallet": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "chain": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "created_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "archived_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/paxmoneyWalletStatus"
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "chain",
          "address",
          "created_time_ms",
          "status"
        ]
      },
      "paxmoneyGetWithdrawWalletsResponse": {
        "type": "object",
        "properties": {
          "wallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyWallet"
            }
          }
        }
      },
      "paxmoneyGetWithdrawWalletRequest": {
        "type": "object",
        "properties": {
          "withdraw_wallet_id": {
            "type": "string"
          }
        },
        "required": [
          "withdraw_wallet_id"
        ]
      },
      "paxmoneyGetWithdrawWalletResponse": {
        "type": "object",
        "properties": {
          "wallet": {
            "$ref": "#/components/schemas/paxmoneyWallet"
          }
        },
        "required": [
          "wallet"
        ]
      },
      "paxmoneyGetWithdrawWalletByAddressRequest": {
        "type": "object",
        "properties": {
          "chain": {
            "type": "string"
          },
          "wallet_address": {
            "type": "string"
          }
        },
        "required": [
          "chain",
          "wallet_address"
        ]
      },
      "paxmoneyGetWithdrawWalletByAddressResponse": {
        "type": "object",
        "properties": {
          "wallet": {
            "$ref": "#/components/schemas/paxmoneyWallet"
          }
        },
        "required": [
          "wallet"
        ]
      },
      "paxmoneyArchiveWithdrawWalletRequest": {
        "type": "object",
        "properties": {
          "withdraw_wallet_id": {
            "type": "string"
          }
        },
        "required": [
          "withdraw_wallet_id"
        ]
      },
      "paxmoneyArchiveWithdrawWalletResponse": {
        "type": "object"
      },
      "paxmoneySubmitCryptoWithdrawalRequest": {
        "type": "object",
        "properties": {
          "chain": {
            "type": "string"
          },
          "asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "amount": {
            "type": "string",
            "format": "int64"
          },
          "withdraw_wallet_address": {
            "type": "string"
          },
          "idempotency_key": {
            "type": "string"
          }
        },
        "required": [
          "chain",
          "asset",
          "amount",
          "withdraw_wallet_address",
          "idempotency_key"
        ]
      },
      "paxmoneyCryptoWithdrawalCryptoWithdrawalStatus": {
        "x-enum-numbers": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "string",
        "enum": [
          "QUEUED",
          "IN_PROGRESS",
          "PENDING_ON_CHAIN",
          "COMPLETION_NOTIFIED",
          "COMPLETED",
          "FAILURE_NOTIFIED",
          "FAILED"
        ]
      },
      "paxmoneySubmitCryptoWithdrawalResponse": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/paxmoneyCryptoWithdrawalCryptoWithdrawalStatus"
          }
        },
        "required": [
          "status"
        ]
      },
      "paxmoneyGetCryptoWithdrawalsRequest": {
        "type": "object"
      },
      "paxmoneyCryptoWithdrawal": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "idempotency_key": {
            "type": "string"
          },
          "withdraw_wallet_address": {
            "type": "string"
          },
          "chain": {
            "type": "string"
          },
          "asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "amount": {
            "type": "string",
            "format": "int64"
          },
          "fee_token": {
            "type": "string"
          },
          "fee": {
            "type": "string",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/paxmoneyCryptoWithdrawalCryptoWithdrawalStatus"
          },
          "transaction_hash": {
            "type": "string"
          },
          "created_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "updated_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "received_amount": {
            "type": "string",
            "format": "int64"
          }
        },
        "required": [
          "id",
          "idempotency_key",
          "withdraw_wallet_address",
          "chain",
          "asset",
          "amount",
          "fee_token",
          "fee",
          "status",
          "transaction_hash",
          "created_time_ms",
          "updated_time_ms"
        ]
      },
      "paxmoneyGetCryptoWithdrawalsResponse": {
        "type": "object",
        "properties": {
          "withdrawals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyCryptoWithdrawal"
            }
          }
        }
      },
      "paxmoneyGetCryptoWithdrawalRequest": {
        "type": "object",
        "properties": {
          "withdrawal_id": {
            "type": "string"
          }
        },
        "required": [
          "withdrawal_id"
        ]
      },
      "paxmoneyGetCryptoWithdrawalResponse": {
        "type": "object",
        "properties": {
          "withdrawal": {
            "$ref": "#/components/schemas/paxmoneyCryptoWithdrawal"
          }
        },
        "required": [
          "withdrawal"
        ]
      },
      "paxmoneyGetCryptoWithdrawalByIdempotencyKeyRequest": {
        "type": "object",
        "properties": {
          "idempotency_key": {
            "type": "string"
          }
        },
        "required": [
          "idempotency_key"
        ]
      },
      "paxmoneyGetCryptoWithdrawalByIdempotencyKeyResponse": {
        "type": "object",
        "properties": {
          "withdrawal": {
            "$ref": "#/components/schemas/paxmoneyCryptoWithdrawal"
          }
        },
        "required": [
          "withdrawal"
        ]
      },
      "paxmoneyGetWithdrawBankAccountsRequest": {
        "type": "object",
        "properties": {
          "include_archived": {
            "type": "boolean"
          }
        }
      },
      "paxmoneyBankAccountBankAccountType": {
        "x-enum-numbers": [
          1
        ],
        "type": "string",
        "enum": [
          "US"
        ]
      },
      "paxmoneyBankAccountUsBankAccountTransferType": {
        "x-enum-numbers": [
          1,
          2,
          3
        ],
        "type": "string",
        "enum": [
          "ACH",
          "WIRE",
          "RTP"
        ]
      },
      "paxmoneyBankAccountUsBankAccount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "nickname": {
            "type": "string"
          },
          "transfer_type": {
            "$ref": "#/components/schemas/paxmoneyBankAccountUsBankAccountTransferType"
          },
          "account_holder_name": {
            "type": "string"
          },
          "account_number": {
            "type": "string"
          },
          "bank_name": {
            "type": "string"
          },
          "bank_routing_number": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "nickname",
          "transfer_type",
          "account_holder_name",
          "account_number",
          "bank_name",
          "bank_routing_number"
        ]
      },
      "paxmoneyBankAccountStatus": {
        "default": "STATUS_UNKNOWN",
        "x-enum-numbers": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "string",
        "enum": [
          "STATUS_UNKNOWN",
          "PENDING",
          "ACTIVE",
          "FAILED",
          "INACTIVE"
        ]
      },
      "paxmoneyBankAccount": {
        "type": "object",
        "properties": {
          "bank_account_type": {
            "$ref": "#/components/schemas/paxmoneyBankAccountBankAccountType"
          },
          "us_bank_account": {
            "$ref": "#/components/schemas/paxmoneyBankAccountUsBankAccount"
          },
          "status": {
            "$ref": "#/components/schemas/paxmoneyBankAccountStatus"
          },
          "created_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "archived_time_ms": {
            "type": "string",
            "format": "int64"
          }
        },
        "required": [
          "bank_account_type",
          "us_bank_account",
          "status",
          "created_time_ms"
        ]
      },
      "paxmoneyGetWithdrawBankAccountsResponse": {
        "type": "object",
        "properties": {
          "bank_accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyBankAccount"
            }
          }
        }
      },
      "paxmoneyGetWithdrawBankAccountRequest": {
        "type": "object",
        "properties": {
          "withdraw_bank_account_id": {
            "type": "string"
          }
        },
        "required": [
          "withdraw_bank_account_id"
        ]
      },
      "paxmoneyGetWithdrawBankAccountResponse": {
        "type": "object",
        "properties": {
          "bank_account": {
            "$ref": "#/components/schemas/paxmoneyBankAccount"
          }
        },
        "required": [
          "bank_account"
        ]
      },
      "paxmoneyArchiveWithdrawBankAccountRequest": {
        "type": "object",
        "properties": {
          "withdraw_bank_account_id": {
            "type": "string"
          }
        },
        "required": [
          "withdraw_bank_account_id"
        ]
      },
      "paxmoneyArchiveWithdrawBankAccountResponse": {
        "type": "object"
      },
      "paxmoneySubmitFiatWithdrawalRequest": {
        "type": "object",
        "properties": {
          "idempotency_key": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "amount": {
            "type": "string",
            "format": "int64"
          },
          "withdraw_bank_account_id": {
            "type": "string"
          },
          "memo": {
            "type": "string"
          }
        },
        "required": [
          "idempotency_key",
          "currency",
          "amount",
          "withdraw_bank_account_id",
          "memo"
        ]
      },
      "paxmoneyFiatWithdrawalFiatWithdrawalStatus": {
        "default": "QUEUED",
        "x-enum-numbers": [
          0,
          1,
          4,
          5,
          6
        ],
        "type": "string",
        "enum": [
          "QUEUED",
          "PENDING",
          "COMPLETED",
          "FAILED",
          "RETURNED"
        ]
      },
      "paxmoneySubmitFiatWithdrawalResponse": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/paxmoneyFiatWithdrawalFiatWithdrawalStatus"
          }
        },
        "required": [
          "status"
        ]
      },
      "paxmoneyGetFiatWithdrawalsRequest": {
        "type": "object"
      },
      "paxmoneyFiatWithdrawalTransferMethod": {
        "x-enum-numbers": [
          1,
          2,
          3
        ],
        "type": "string",
        "enum": [
          "US_ACH",
          "US_WIRE",
          "US_RTP"
        ]
      },
      "paxmoneyFiatWithdrawal": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "idempotency_key": {
            "type": "string"
          },
          "bank_account_id": {
            "type": "string"
          },
          "transfer_method": {
            "$ref": "#/components/schemas/paxmoneyFiatWithdrawalTransferMethod"
          },
          "currency": {
            "type": "string"
          },
          "amount": {
            "type": "string",
            "format": "int64"
          },
          "fee_currency": {
            "type": "string"
          },
          "fee": {
            "type": "string",
            "format": "int64"
          },
          "memo": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/paxmoneyFiatWithdrawalFiatWithdrawalStatus"
          },
          "reference": {
            "type": "string"
          },
          "created_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "updated_time_ms": {
            "type": "string",
            "format": "int64"
          }
        },
        "required": [
          "id",
          "idempotency_key",
          "bank_account_id",
          "transfer_method",
          "currency",
          "amount",
          "fee_currency",
          "fee",
          "memo",
          "status",
          "reference",
          "created_time_ms",
          "updated_time_ms"
        ]
      },
      "paxmoneyGetFiatWithdrawalsResponse": {
        "type": "object",
        "properties": {
          "withdrawals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyFiatWithdrawal"
            }
          }
        }
      },
      "paxmoneyGetFiatWithdrawalRequest": {
        "type": "object",
        "properties": {
          "withdrawal_id": {
            "type": "string"
          }
        },
        "required": [
          "withdrawal_id"
        ]
      },
      "paxmoneyGetFiatWithdrawalResponse": {
        "type": "object",
        "properties": {
          "withdrawal": {
            "$ref": "#/components/schemas/paxmoneyFiatWithdrawal"
          }
        },
        "required": [
          "withdrawal"
        ]
      },
      "paxmoneyGetFiatWithdrawalByIdempotencyKeyRequest": {
        "type": "object",
        "properties": {
          "idempotency_key": {
            "type": "string"
          }
        },
        "required": [
          "idempotency_key"
        ]
      },
      "paxmoneyGetFiatWithdrawalByIdempotencyKeyResponse": {
        "type": "object",
        "properties": {
          "withdrawal": {
            "$ref": "#/components/schemas/paxmoneyFiatWithdrawal"
          }
        },
        "required": [
          "withdrawal"
        ]
      },
      "paxmoneyGetCryptoTransfersRequest": {
        "type": "object"
      },
      "paxmoneyCryptoTransferCryptoTransferType": {
        "x-enum-numbers": [
          1,
          2
        ],
        "type": "string",
        "enum": [
          "DEPOSIT",
          "WITHDRAWAL"
        ]
      },
      "paxmoneyCryptoTransfer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/paxmoneyCryptoTransferCryptoTransferType"
          },
          "chain": {
            "type": "string"
          },
          "asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "amount": {
            "type": "string",
            "format": "int64"
          },
          "fee_token": {
            "type": "string"
          },
          "fee": {
            "type": "string",
            "format": "int64"
          },
          "sender_wallet_address": {
            "type": "string"
          },
          "receiver_wallet_address": {
            "type": "string"
          },
          "deposit_status": {
            "$ref": "#/components/schemas/paxmoneyCryptoDepositCryptoDepositStatus"
          },
          "withdrawal_status": {
            "$ref": "#/components/schemas/paxmoneyCryptoWithdrawalCryptoWithdrawalStatus"
          },
          "transaction_hash": {
            "type": "string"
          },
          "created_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "updated_time_ms": {
            "type": "string",
            "format": "int64"
          }
        },
        "required": [
          "id",
          "type",
          "chain",
          "asset",
          "amount",
          "fee_token",
          "fee",
          "sender_wallet_address",
          "receiver_wallet_address",
          "deposit_status",
          "withdrawal_status",
          "transaction_hash",
          "created_time_ms",
          "updated_time_ms"
        ]
      },
      "paxmoneyGetCryptoTransfersResponse": {
        "type": "object",
        "properties": {
          "transfers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyCryptoTransfer"
            }
          }
        }
      },
      "paxmoneyCreateConversionQuoteRequest": {
        "type": "object",
        "properties": {
          "from_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "to_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "from_amount": {
            "type": "string",
            "format": "int64"
          }
        },
        "required": [
          "from_asset",
          "to_asset",
          "from_amount"
        ]
      },
      "paxmoneyCreateConversionQuoteResponse": {
        "type": "object",
        "properties": {
          "from_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "from_amount": {
            "type": "string",
            "format": "int64"
          },
          "to_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "to_amount": {
            "type": "string",
            "format": "int64"
          },
          "valid_until_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "quote_id": {
            "type": "string"
          }
        },
        "required": [
          "from_asset",
          "from_amount",
          "to_asset",
          "to_amount",
          "valid_until_time_ms",
          "quote_id"
        ]
      },
      "paxmoneySubmitConversionRequest": {
        "type": "object",
        "properties": {
          "idempotency_key": {
            "type": "string"
          },
          "from_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "to_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "from_amount": {
            "type": "string",
            "format": "int64"
          },
          "min_to_amount": {
            "type": "string",
            "format": "int64"
          },
          "quote_id": {
            "type": "string"
          }
        },
        "required": [
          "idempotency_key",
          "from_asset",
          "to_asset",
          "from_amount",
          "min_to_amount",
          "quote_id"
        ]
      },
      "paxmoneyConversionConversionStatus": {
        "x-enum-numbers": [
          1,
          2,
          3
        ],
        "type": "string",
        "enum": [
          "PENDING",
          "COMPLETED",
          "FAILED"
        ]
      },
      "paxmoneySubmitConversionResponse": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/paxmoneyConversionConversionStatus"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "id"
        ]
      },
      "paxmoneyGetConversionsRequest": {
        "type": "object"
      },
      "paxmoneyConversion": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/paxmoneyConversionConversionStatus"
          },
          "from_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "from_amount": {
            "type": "string",
            "format": "int64"
          },
          "to_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "to_amount": {
            "type": "string",
            "format": "int64"
          },
          "created_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "updated_time_ms": {
            "type": "string",
            "format": "int64"
          },
          "fee_asset": {
            "$ref": "#/components/schemas/paxcommonAsset"
          },
          "fee_amount": {
            "type": "string",
            "format": "int64"
          }
        },
        "required": [
          "id",
          "status",
          "from_asset",
          "from_amount",
          "to_asset",
          "to_amount",
          "created_time_ms",
          "updated_time_ms",
          "fee_asset",
          "fee_amount"
        ]
      },
      "paxmoneyGetConversionsResponse": {
        "type": "object",
        "properties": {
          "conversions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/paxmoneyConversion"
            }
          }
        }
      },
      "paxmoneyGetConversionRequest": {
        "type": "object",
        "properties": {
          "conversion_id": {
            "type": "string"
          }
        },
        "required": [
          "conversion_id"
        ]
      },
      "paxmoneyGetConversionResponse": {
        "type": "object",
        "properties": {
          "conversion": {
            "$ref": "#/components/schemas/paxmoneyConversion"
          }
        },
        "required": [
          "conversion"
        ]
      }
    },
    "securitySchemes": {
      "ApiAccessKey": {
        "type": "apiKey",
        "in": "header",
        "name": "api-access-key",
        "description": "The key id of the API key making the request. Endpoints that need more than read access list `trade` or `withdraw` as a role."
      },
      "ApiTimestamp": {
        "type": "apiKey",
        "in": "header",
        "name": "api-timestamp",
        "description": "Request timestamp in milliseconds since the Unix epoch. Requests outside recvWindow are rejected."
      },
      "ApiSignature": {
        "type": "apiKey",
        "in": "header",
        "name": "api-signature",
        "description": "Signature over the request, produced with the API key's secret."
      }
    }
  },
  "security": [
    {
      "ApiAccessKey": [],
      "ApiTimestamp": [],
      "ApiSignature": []
    }
  ],
  "tags": [
    {
      "name": "MoneyService"
    }
  ]
}