Fees

Show Fee

Show details of a specific Fee using a given :id. If the item_amount is specified, the response also shows the calculated_fee based on a percentage of the item_amount.

get/fees/{id}

Request

  • Base URL
    https://test.api.promisepay.com
  • URL
    https://test.api.promisepay.com/fees/{id}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://au-0000.sandbox.auth.assemblypay.com/tokens

Path parameters

idstring required

Fee ID

Query parameters

item_amountinteger required

The cost of the item in cents on which the calculated Fee is based

Response

OK

Example response

{
  "fees": {
    "id": "36020976-f345-4d0f-b860-9c025ccce668",
    "name": "Seller Success Fee",
    "to": "seller",
    "calculated_fee": 400
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.