> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chessa.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Order by ID

> Get a specific order by its ID.



## OpenAPI

````yaml GET /v1/orders/{orderId}
openapi: 3.0.3
info:
  title: Chessa Accounts API
  description: API collection for Chessa Accounts services
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.chessa.ai
security: []
tags:
  - name: User Endpoints
    description: Endpoints related to user management
  - name: Configuration Endpoints
    description: Endpoints for fetching application configurations
  - name: Recipient Endpoints
    description: Endpoints for managing recipients
  - name: Order Endpoints
    description: Endpoints for managing orders
  - name: Rate Endpoints
    description: Endpoints for exchange rates and fees
  - name: Referral Endpoints
    description: Endpoints for managing referrals
paths:
  /v1/orders/{orderId}:
    get:
      tags:
        - Order Endpoints
      summary: Get Order by ID
      description: Get a specific order by ID.
      operationId: getOrderById
      parameters:
        - name: x-client-id
          in: header
          schema:
            type: string
            example: ''
        - name: x-client-secret
          in: header
          schema:
            type: string
            example: ''
      responses:
        '200':
          description: Success Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  order:
                    type: object
                    properties:
                      createdAt:
                        type: string
                        example: '2025-03-18T06:09:17.823Z'
                      cryptoAddress:
                        type: string
                        example: 5u1gLZrAiyw6yAyYx3N6D916CUqEcoTkwvF54QwDGzRn
                      cryptoAddressChain:
                        type: string
                        example: Solana
                      cryptoAddressId:
                        type: string
                        example: 74b62929-47f4-43f9-a4dc-a987deaff799
                      cryptoAddressTag:
                        type: string
                        example: ''
                      cryptoDeposit:
                        type: object
                        properties:
                          amount:
                            type: string
                            example: '0.95000000'
                          asset:
                            type: string
                            example: USDC
                          chain:
                            type: string
                            example: Solana
                          createdAt:
                            type: string
                            example: '2025-03-18T06:10:12.323Z'
                          explorerUrl:
                            type: string
                            example: >-
                              https://solscan.io/tx/29ukvrz17GupWTTCAR4F661KuouEJ1hes7syG6hZiykdon4DCEj2mEDAFpMg4tRh39SXSyujWMsiv4miKBzmPTJu
                          hash:
                            type: string
                            example: >-
                              29ukvrz17GupWTTCAR4F661KuouEJ1hes7syG6hZiykdon4DCEj2mEDAFpMg4tRh39SXSyujWMsiv4miKBzmPTJu
                          id:
                            type: string
                            example: 8e61243e-aaf7-49e4-a816-2660251acd15
                          orderId:
                            type: string
                            example: 9ec76718-e141-442f-9ec0-2d6f42af91a4
                          status:
                            type: string
                            example: completed
                          tag:
                            type: string
                            example: ''
                          updatedAt:
                            type: string
                            example: '2025-03-18T06:10:12.560Z'
                      cryptoDepositId:
                        type: string
                        example: 8e61243e-aaf7-49e4-a816-2660251acd15
                      cryptoPayout:
                        nullable: true
                        example: null
                      destinationAmount:
                        type: string
                        example: '1500.00000000'
                      destinationAsset:
                        type: string
                        example: NGN
                      destinationCountry:
                        type: string
                        example: NG
                      expiresAt:
                        type: string
                        example: '2025-03-18T08:09:17.822Z'
                      feeAmount:
                        type: string
                        example: '0.00000000'
                      feeCurrency:
                        type: string
                        example: USDC
                      feeUsd:
                        type: string
                        example: '0.00000000'
                      id:
                        type: string
                        example: 9ec76718-e141-442f-9ec0-2d6f42af91a4
                      note:
                        nullable: true
                        example: null
                      originAmount:
                        type: string
                        example: '0.95000000'
                      originAsset:
                        type: string
                        example: USDC
                      partnerId:
                        type: string
                        example: 4646e61e-33cf-452b-8bba-c138b78a57f0
                      recipient:
                        type: object
                        properties:
                          accountName:
                            type: string
                            example: Nwabueze Paul
                          accountNumber:
                            type: string
                            example: '9092323232'
                          additional:
                            nullable: true
                            example: null
                          city:
                            type: string
                            example: ''
                          code:
                            type: string
                            example: ng_9psb
                          country:
                            type: string
                            example: NG
                          createdAt:
                            type: string
                            example: '2025-01-24T03:23:17.897Z'
                          cryptoAddress:
                            nullable: true
                            example: null
                          cryptoTag:
                            nullable: true
                            example: null
                          currency:
                            type: string
                            example: NGN
                          email:
                            nullable: true
                            example: null
                          id:
                            type: string
                            example: 46f08b20-5e47-4898-b9e4-71df9f1b3234
                          institutionName:
                            type: string
                            example: 9 Payment Service Bank
                          isActive:
                            type: boolean
                            example: true
                          phoneNumber:
                            nullable: true
                            example: null
                          postalCode:
                            type: string
                            example: ''
                          region:
                            nullable: true
                            example: null
                          routingNumber:
                            nullable: true
                            example: null
                          street:
                            type: string
                            example: ''
                          type:
                            type: string
                            example: bank
                          updatedAt:
                            type: string
                            example: '2025-03-18T06:10:20.220Z'
                          userId:
                            type: string
                            example: 02e31a45-9474-4858-a833-06e89e494003
                      recipientId:
                        type: string
                        example: 46f08b20-5e47-4898-b9e4-71df9f1b3234
                      refund:
                        nullable: true
                        example: null
                      refundAddress:
                        nullable: true
                        example: null
                      senderConfirmedAt:
                        nullable: true
                        example: null
                      shortId:
                        type: string
                        example: CBWR3AFR
                      status:
                        type: string
                        example: completed
                      updatedAt:
                        type: string
                        example: '2025-03-18T06:10:20.146Z'
                      userId:
                        type: string
                        example: 02e31a45-9474-4858-a833-06e89e494003
              examples:
                Success Response:
                  value:
                    order:
                      createdAt: '2025-03-18T06:09:17.823Z'
                      cryptoAddress: 5u1gLZrAiyw6yAyYx3N6D916CUqEcoTkwvF54QwDGzRn
                      cryptoAddressChain: Solana
                      cryptoAddressId: 74b62929-47f4-43f9-a4dc-a987deaff799
                      cryptoAddressTag: ''
                      cryptoDeposit:
                        amount: '0.95000000'
                        asset: USDC
                        chain: Solana
                        createdAt: '2025-03-18T06:10:12.323Z'
                        explorerUrl: >-
                          https://solscan.io/tx/29ukvrz17GupWTTCAR4F661KuouEJ1hes7syG6hZiykdon4DCEj2mEDAFpMg4tRh39SXSyujWMsiv4miKBzmPTJu
                        hash: >-
                          29ukvrz17GupWTTCAR4F661KuouEJ1hes7syG6hZiykdon4DCEj2mEDAFpMg4tRh39SXSyujWMsiv4miKBzmPTJu
                        id: 8e61243e-aaf7-49e4-a816-2660251acd15
                        orderId: 9ec76718-e141-442f-9ec0-2d6f42af91a4
                        status: completed
                        tag: ''
                        updatedAt: '2025-03-18T06:10:12.560Z'
                      cryptoDepositId: 8e61243e-aaf7-49e4-a816-2660251acd15
                      cryptoPayout: null
                      destinationAmount: '1500.00000000'
                      destinationAsset: NGN
                      destinationCountry: NG
                      expiresAt: '2025-03-18T08:09:17.822Z'
                      feeAmount: '0.00000000'
                      feeCurrency: USDC
                      feeUsd: '0.00000000'
                      id: 9ec76718-e141-442f-9ec0-2d6f42af91a4
                      note: null
                      originAmount: '0.95000000'
                      originAsset: USDC
                      partnerId: 4646e61e-33cf-452b-8bba-c138b78a57f0
                      recipient:
                        accountName: Afolabi Peter
                        accountNumber: '9092813931'
                        additional: null
                        city: ''
                        code: ng_9psb
                        country: NG
                        createdAt: '2025-01-24T03:23:17.897Z'
                        cryptoAddress: null
                        cryptoTag: null
                        currency: NGN
                        email: null
                        id: 46f08b20-5e47-4898-b9e4-71df9f1b3234
                        institutionName: 9 Payment Service Bank
                        isActive: true
                        phoneNumber: null
                        postalCode: ''
                        region: null
                        routingNumber: null
                        street: ''
                        type: bank
                        updatedAt: '2025-03-18T06:10:20.220Z'
                        userId: 02e31a45-9474-4858-a833-06e89e494003
                      recipientId: 46f08b20-5e47-4898-b9e4-71df9f1b3234
                      refund: null
                      refundAddress: null
                      senderConfirmedAt: null
                      shortId: CBWR3AFR
                      status: completed
                      updatedAt: '2025-03-18T06:10:20.146Z'
                      userId: 02e31a45-9474-4858-a833-06e89e494003
        '403':
          description: Error Response - Unauthorized Access
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: forbidden
                  message:
                    type: string
                    example: You do not have permission to access this order
                  statusCode:
                    type: number
                    example: 403
              examples:
                Error Response - Unauthorized Access:
                  value:
                    error: forbidden
                    message: You do not have permission to access this order
                    statusCode: 403
        '404':
          description: Error Response - Order Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: not_found
                  message:
                    type: string
                    example: Order not found
                  statusCode:
                    type: number
                    example: 404
              examples:
                Error Response - Order Not Found:
                  value:
                    error: not_found
                    message: Order not found
                    statusCode: 404

````