---
title: "Get Delivery Fee"
method: POST
path: "/relay/delivery/fee"
tags: ["Relay Delivery"]
---

# Get Delivery Fee

`POST /relay/delivery/fee`

Calculate the delivery fee for a relay delivery. The returned fee ID is required to create a delivery.

## Request body

- object
  - `source_address` object
    - `latitude` number, float — Latitude of the pickup address
    - `longitude` number, float — Longitude of the pickup address
  - `destination_address` object
    - `latitude` number, double — Latitude of the destination
    - `longitude` number, double — Longitude of the destination
  - `estimated_order_amount` integer — Chowdeck can provide full reimbursement of the estimated order amount for damages or losses that occur while the package is in transit, this service incurs an additional safety fee and requires that this parameter be supplied.
  - `source_address_string` string — A string pick up address
  - `destination_address_string` string — A string drop off address

## Response `200`

200

- object
  - `status` string
  - `message` string
  - `data` object
    - `id` integer
    - `total_amount` integer
    - `service_amount` integer
    - `delivery_amount` integer
    - `safety_fee` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/chowdeck/apis/chowdeck-api.md) · [All operations](https://skmtc.dev/chowdeck/apis/chowdeck-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chowdeck/chowdeck-api/revisions/5830cc8467d8/schema)
