Pacifica
  • Getting Started
    • Closed Alpha Guide
      • Link To Guide PDF
    • Closed Alpha Trading Competition
  • Trading on Pacifica
    • Overview
    • Contract Specifications
      • Oracle Price & Mark Price
      • Settlement Mechanism
    • Order Types
      • Market Order
      • Limit Order
      • Order Rules & Constraints
    • Margin & Leverage
    • Funding Rates
    • Liquidations
  • API Documentation
    • API
      • REST API
        • Markets
          • Get market info
          • Get prices
          • Get kline (candle) data
          • Get recent trades
        • Account
          • Get account info
          • Get account settings
          • Update leverage
          • Update margin mode
          • Get positions
          • Get trade history
          • Get funding history
          • Get account equity history
          • Request withdrawal
        • Subaccounts
          • Create subaccount
          • Subaccount fund transfer
        • Orders
          • Get open orders
          • Get order history
          • Get order history by ID
          • Create order
          • Create stop order
          • Create position TP/SL
          • Cancel order
          • Cancel all orders
          • Cancel stop order
          • Batch order
      • Websocket
        • Subscriptions
          • Prices
          • Orderbook
          • Trades
          • Candle
          • Order updates
          • Account balance
          • Account margin
          • Account leverage
          • Account positions
          • Account orders
          • Account order updates
          • Account trades
        • Trading operations
          • Create order
          • Cancel order
          • Cancel all orders
      • Signing
        • Implementation
        • Operation Types
        • Error Handling
      • Rate limits
      • Tick and lot size
    • Specification
  • Other
    • Audits
    • Brand Assets
    • Contact Us
    • Glossary of Terms
Powered by GitBook
On this page
  1. API Documentation
  2. API
  3. Signing

Operation Types

The following table provides a list of all "type"s required by the signature header and their corresponding API endpoints

Operation Type
API Endpoint

"create_order"

/api/v1/orders/create

"create_stop_order"

/api/v1/orders/stop/create

"cancel_order"

/api/v1/orders/cancel

"cancel_all_orders"

/api/v1/orders/cancel_all

"cancel_stop_order"

/api/v1/orders/stop/cancel

"update_leverage"

/api/v1/account/leverage

"update_margin_mode"

/api/v1/account/margin

"set_position_tpsl"

/api/v1/positions/tpsl

"withdraw"

/api/v1/account/withdraw

"subaccount_initiate"

/api/v1/account/subaccount/create

"subaccount_confirm"

/api/v1/account/subaccount/create

Note: Pacifica's batch order endpoint does NOT have a corresponding operation type as all individual operations within the batch are signed independently with their own operation types.

PreviousImplementationNextError Handling

Last updated 1 day ago