---
title: "Get fees for a checkout session"
method: GET
path: "/v1/checkout_sessions/{id}/fees"
tags: ["Checkout Sessions"]
---

# Get fees for a checkout session

`GET /v1/checkout_sessions/{id}/fees`

## Request

- Base URL: `https://api.paymongo.com`
- URL: `https://api.paymongo.com/v1/checkout_sessions/{id}/fees`
- Auth: HTTP basic

Returns fee and foreign fee information for a given payment method type in the context of a checkout session. This is a superuser-only endpoint.

## Path parameters

- `id` string, required

## Query parameters

- `payment_method_type` string, required
- `card_bin` string

## Response `200`

Fees retrieved successfully

- WrappedFeesResponseDTO
  - `data` FeesResponseDTO
    - `attributes` FeesAttributesDTO
      - `amount` integer
      - `fee` integer
      - `foreign_fee` integer
    - `type` string
  - `has_more` boolean

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `404`: Checkout session not found
- `500`: Internal server error

---

[API](https://skmtc.dev/paymongo/apis/checkout.md) - [All operations](https://skmtc.dev/paymongo/apis/checkout/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/checkout/revisions/7cff8bcd246d?raw)
