List payment fees
Lists the fees charged on a payment. An offset-based list. sort_by takes date_created (the default) or date_modified. Secret and trusted tokens that may read fees only; a limited token gets 403.
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
payment_id*stringThe id of the payment.
type?stringOnly fees of this type.
"payment_completed""refund_completed""auth""zero_auth""capture""void""decline""chargeback""fx_conversion""international_card""payout"accounting_id?stringRead and checked, but not used to filter.
limit?integerHow many items to return on one page, from 1 to 100. The default is 100. A value outside 1 to 100, or one that is not a whole number, is a 400.
1 <= value <= 100100offset?integerFor offset-based lists, how many items to skip before the page starts. Use next_page_offset or previous_page_offset from the page you have. A value that is not a whole number is a 400.
0 <= value0sort_by?stringThe field to sort by.
"date_created""date_created""date_modified"desc?booleanSort in descending order (newest, largest or last first) when true. The default is false. A value other than true or false is a 400.
falseshow?stringComma-separated fields to return; all others are left out. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.
hide?stringComma-separated fields to leave out of the response. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.
formatted?booleanWhen true, the object also has a formatted child with amounts and dates as display text in the shopper's language and currency (for example $19.99 or November 7, 2026). The default is false. See Localized formatting.
falseThe fees on the payment.
application/json- response
An offset-based list of the fees on a payment.
total_items*integerThe number of items in the whole list.
total_pages*integerThe number of pages.
current_page*integerThe page number of this page, starting at 1.
next_page_url*|The URL of the next page, or null on the last page.
urinext_page_offset*|The offset of the next page, or null on the last page.
previous_page_url*|The URL of the previous page, or null on the first page.
uriprevious_page_offset*|The offset of the previous page, or null on the first page.
current_page_url*stringThe URL of this page.
uridata*array<>The fees on this page.
curl -X GET 'https://api.comecero.com/api/v1/payments/string/fees'{ "total_items": 1, "total_pages": 1, "current_page": 1, "next_page_url": null, "next_page_offset": null, "previous_page_url": null, "previous_page_offset": null, "current_page_url": "https://api.comecero.com/api/v1/payments/0090460891496PyrYzd9DC/fees?offset=0&limit=10", "data": [ { "object": "fee", "url": "https://api.comecero.com/api/v1/fees/1102611073850FEp6Vb2Qs", "fee_id": "1102611073850FEp6Vb2Qs", "date_created": "2026-11-07T14:32:10Z", "date_modified": "2026-11-07T14:32:10Z", "test": true, "account_id": "AB1234", "fixed_amount": 0.3, "percentage": 2.9, "percentage_amount": 2.9, "total": 3.2, "currency": "USD", "type": "payment_completed", "category": "transaction", "collected": false, "description": "Payment completed", "transaction_type": "payment", "transaction": "https://api.comecero.com/api/v1/payments/1102611073840PAz3Tq9Xc", "contract": null, "accounting_id": "C-AB1234R261130USD" } ]}Retrieve a payment fee summary GET
Returns the fees on a payment added up, fixed and percentage apart, per currency. Secret and trusted tokens that may read fees only; any other token gets `401`.
List payment notifications GET
Lists the emails and other notifications sent for a payment, such as the receipt. An offset-based list. `sort_by` takes `date_created` (the default) or `date_modified`. Any token type may call it; a limited token only for a payment it is bound to.