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

# Legacy: Get offramp

> Legacy route for retrieving a crypto receive flow

## Overview

Retrieve an offramp through the legacy compatibility route. New integrations should use [`GET /v1/funding-accounts/{id}`](/api-reference/funding-accounts/get-funding-account).

## Authentication

<ParamField header="X-Api-Key" type="string" required>
  Your merchant API key
</ParamField>

## Path Parameters

<ParamField path="id" type="string" required>
  Offramp ID (UUID format)

  **Example:** `a50e8400-e29b-41d4-a716-446655440000`
</ParamField>

## Request Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://api.daya.co/v1/offramps/a50e8400-e29b-41d4-a716-446655440000 \
    --header 'X-Api-Key: YOUR_API_KEY'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://api.daya.co/v1/offramps/a50e8400-e29b-41d4-a716-446655440000',
    {
      headers: {
        'X-Api-Key': 'YOUR_API_KEY'
      }
    }
  );
  const offramp = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.daya.co/v1/offramps/a50e8400-e29b-41d4-a716-446655440000',
      headers={'X-Api-Key': 'YOUR_API_KEY'}
  )
  offramp = response.json()
  ```
</CodeGroup>

## Response

<ResponseField name="id" type="string" required>
  Unique offramp identifier (UUID)
</ResponseField>

<ResponseField name="type" type="string" required>
  Offramp type: `TEMPORARY` or `PERMANENT`
</ResponseField>

<ResponseField name="customer_id" type="string" required>
  Associated customer ID (UUID)
</ResponseField>

<ResponseField name="address" type="string" required>
  Crypto deposit address
</ResponseField>

<ResponseField name="chain" type="string" required>
  Blockchain network: `APTOS`, `BASE`, `CELO`, `ETHEREUM`, `POLYGON`, `SOLANA`, or `TRON`
</ResponseField>

<ResponseField name="asset" type="string" required>
  Stablecoin asset: `USDC` or `USDT`
</ResponseField>

<ResponseField name="status" type="string" required>
  Offramp status: `ACTIVE`, `INACTIVE`, or `EXPIRED`
</ResponseField>

<ResponseField name="developer_fee" type="object" required>
  Developer fee percentage used for deposits received through this offramp.

  <Expandable title="developer_fee properties">
    <ResponseField name="developer_fee.percentage" type="string">
      Configured percentage as a decimal string.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="settlement" type="object" required>
  Settlement configuration

  <Expandable title="settlement properties">
    <ResponseField name="settlement.mode" type="string">
      Settlement mode: `INTERNAL_BALANCE` or `NGN_PAYOUT`
    </ResponseField>

    <ResponseField name="settlement.rate_id" type="string">
      Associated rate identifier (nullable)
    </ResponseField>

    <ResponseField name="settlement.destination_bank" type="object">
      Bank account details (nullable)

      <Expandable title="destination_bank properties">
        <ResponseField name="settlement.destination_bank.account_name" type="string">
          Bank account holder name
        </ResponseField>

        <ResponseField name="settlement.destination_bank.account_number" type="string">
          Bank account number
        </ResponseField>

        <ResponseField name="settlement.destination_bank.bank_code" type="string">
          Bank code
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="created_at" type="string" required>
  When the offramp was created (ISO 8601 timestamp)
</ResponseField>

<ResponseField name="updated_at" type="string" required>
  When the offramp was last updated (ISO 8601 timestamp)
</ResponseField>

### Success Responses

<ResponseExample>
  ```json 200 OK - Internal Balance theme={null}
  {
    "id": "a50e8400-e29b-41d4-a716-446655440000",
    "type": "PERMANENT",
    "customer_id": "650e8400-e29b-41d4-a716-446655440000",
    "address": "0x1a2b3c4d5e6f7890abcdef1234567890abcdef12",
    "chain": "ETHEREUM",
    "asset": "USDC",
    "status": "ACTIVE",
    "developer_fee": {
      "percentage": "2.5"
    },
    "settlement": {
      "mode": "INTERNAL_BALANCE",
      "rate_id": null,
      "destination_bank": null
    },
    "created_at": "2026-01-05T15:04:05Z",
    "updated_at": "2026-01-05T15:04:05Z"
  }
  ```

  ```json 200 OK - NGN Payout theme={null}
  {
    "id": "b60e8400-e29b-41d4-a716-446655440000",
    "type": "PERMANENT",
    "customer_id": "650e8400-e29b-41d4-a716-446655440000",
    "address": "TN3W4H6rK2ce4vX9YnFQHwKENnHjoxb3m9",
    "chain": "TRON",
    "asset": "USDT",
    "status": "ACTIVE",
    "developer_fee": {
      "percentage": "2.5"
    },
    "settlement": {
      "mode": "NGN_PAYOUT",
      "rate_id": "rate_8x7k2mq9p",
      "destination_bank": {
        "account_name": "John Doe",
        "account_number": "0123456789",
        "bank_code": "058"
      }
    },
    "created_at": "2026-01-05T15:04:05Z",
    "updated_at": "2026-01-05T15:04:05Z"
  }
  ```

  ```json 400 Bad Request theme={null}
  {
    "error": {
      "code": "BAD_REQUEST",
      "message": "Invalid offramp ID format",
      "request_id": "550e8400-e29b-41d4-a716-446655440000"
    }
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "error": {
      "code": "NOT_FOUND",
      "message": "Offramp not found",
      "request_id": "550e8400-e29b-41d4-a716-446655440000"
    }
  }
  ```
</ResponseExample>

## Next Steps

<CardGroup cols={2}>
  <Card title="List Offramps" icon="list" href="/api-reference/offramps/list-offramps">
    List all offramps with filters
  </Card>

  <Card title="Create Offramp" icon="plus" href="/api-reference/offramps/create-offramp">
    Create a new offramp
  </Card>
</CardGroup>
