How can I see the total amount of fees collected to date?
You can utilize Get a Balance Transaction Summary to return all of your balance transactions with Tilled. This endpoint allows you to specify which fee type(s) to return:
fee, platform_fee, platform_fee_refund, charge_fee, refund_fee, account_fee, payment_method_fee, and/or tilled_fee.
How can I see how much it costs to process transactions for a month?
In the Reports module of the console, there is a Downloads Tab which has the Payouts Report that allows you to export a CSV file which contains all charges, settlements and fees associated with the activity in the desired date range. Simply select your desired date range and total the fee amounts based on the type in Column C. Everything in Column C listed as a fee, is a cost associated with the corresponding transaction or payout.
How can I view transactions per customer?
To view transactions for a specific customer, you must have added an identifier using metadata within the PaymentIntent's RequestBody. Following this, you would use the List all PaymentIntents query to query the transaction, adding the metadata to the URL Parameters. For example:
https://sandbox-api.tilled.com/v1/payment-intents?metadata [KEY]=VALUE
You can also filter the result of the List All PaymentIntents call to the specific customer id (res.items.payment_method.customer_id === cus_XXXX).
Can I filter records by metadata?
Yes, on the List operation for Accounts, Customers, PaymentIntents, Refunds, or Subscriptions, you can pass in a query parameter like this: ?metadata[membership_level]=gold.