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

# Get Status

> Fetch the current status of a payment by quote ID.

## Example request

```bash theme={null}
curl --location 'https://godirekt.xyz/api/status/5af8532c-5bf4-45c2-b099-1b36e96e91a3' \
  --header 'x-api-key: YOUR_API_KEY'
```

## Example response

```json theme={null}
{
  "success": true,
  "quoteId": "5af8532c-5bf4-45c2-b099-1b36e96e91a3",
  "status": "AWAITING_DEPOSIT",
  "createdAt": 1780010048,
  "expiresAt": 1780010348,
  "depositAddress": "0x7fa491b5765b5eea6b113a9121c311d780f8c61b",
  "deposit": null,
  "gas": null,
  "execution": {
    "startedAt": null,
    "completedAt": null,
    "outputTxHash": null,
    "steps": []
  },
  "route": {
    "from": { "chainId": 8453, "chainName": "Base", "token": "0x0000000000000000000000000000000000000000" },
    "to": { "chainId": 56, "chainName": "BNB Chain", "token": "0x0000000000000000000000000000000000000000" },
    "amount": "1000000000000000000",
    "recipient": "0xa110c77fa4b07ab601e63ecd65e99ddb8f1df6ec"
  },
  "error": null
}
```

## Status values

| Status             | Meaning                              |
| ------------------ | ------------------------------------ |
| `AWAITING_DEPOSIT` | Waiting for the user to send funds   |
| `DEPOSIT_RECEIVED` | Deposit detected on-chain            |
| `EXECUTING`        | Cross-chain swap in progress         |
| `COMPLETED`        | Funds delivered to recipient         |
| `EXPIRED`          | Quote expired before deposit arrived |
| `FAILED`           | Execution failed                     |

<Note>
  `route.amount` is in the token's smallest unit (wei for ETH). `send.amount` from the quote is human-readable.
</Note>


## OpenAPI

````yaml GET /api/status/{id}
openapi: 3.1.0
info:
  title: Direkt API
  description: Accept crypto payments directly — no custodians, no prefunding.
  version: 1.0.0
servers:
  - url: https://godirekt.xyz
    description: Production
security:
  - apiKeyHeader: []
paths:
  /api/status/{id}:
    get:
      summary: Get payment status
      description: Fetch the current status of a payment by quote ID.
      operationId: getStatus
      parameters:
        - name: id
          in: path
          required: true
          description: Quote ID returned from POST /api/quote
          schema:
            type: string
            example: 5af8532c-5bf4-45c2-b099-1b36e96e91a3
      responses:
        '200':
          description: Payment status
          content:
            application/json:
              example:
                success: true
                quoteId: 5af8532c-5bf4-45c2-b099-1b36e96e91a3
                status: AWAITING_DEPOSIT
                createdAt: 1780010048
                expiresAt: 1780010348
                depositAddress: '0x7fa491b5765b5eea6b113a9121c311d780f8c61b'
                deposit: null
                gas: null
                execution:
                  startedAt: null
                  completedAt: null
                  outputTxHash: null
                  steps: []
                route:
                  from:
                    chainId: 8453
                    chainName: Base
                    token: '0x0000000000000000000000000000000000000000'
                  to:
                    chainId: 56
                    chainName: BNB Chain
                    token: '0x0000000000000000000000000000000000000000'
                  amount: '1000000000000000000'
                  recipient: '0xa110c77fa4b07ab601e63ecd65e99ddb8f1df6ec'
                error: null
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  quoteId:
                    type: string
                  status:
                    type: string
                    enum:
                      - AWAITING_DEPOSIT
                      - DEPOSIT_RECEIVED
                      - EXECUTING
                      - COMPLETED
                      - EXPIRED
                      - FAILED
                  createdAt:
                    type: integer
                  expiresAt:
                    type: integer
                  depositAddress:
                    type: string
                  deposit:
                    type: object
                    nullable: true
                  gas:
                    type: object
                    nullable: true
                  execution:
                    type: object
                  route:
                    type: object
                  error:
                    type: string
                    nullable: true
components:
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````