Checkout Sessions

Get fees for a checkout session

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.

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

Path parameters

idstring required

Checkout session ID

Query parameters

payment_method_typestring required

Payment method type

card_binstring

First 6 digits of card number for foreign fee calculation

Response

Fees retrieved successfully

has_moreboolean

Example response

{
  "data": {
    "attributes": {
      "amount": 10000
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.