Pin Payments MCP by usefulapi

v1.12.1
io.usefulapi/pin-payments Checked 2 days ago Published 1 day ago

Read Pin Payments charges, refunds, balances, transfers and subscriptions without moving money.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pinpayments_get_balance Get balance

The current Pin Payments account balance: available (ready to transfer) and pending (available plus estimated funds from charges that have not settled yet), per currency, in the currency's base unit (cents for AUD). GET /balance.

pinpayments_list_charges List charges

List charges (card payments), 25 per page: amount (in the currency's base unit, e.g. cents for AUD), currency, description, payer email, status_message/success, total_fees, merchant_entitlement, amount_refunded, captured, settlement transfers, chargebacks flag, metadata. The card is shown only as scheme and last four digits. GET /charges.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_search_charges Search charges

Search charges by free text (description, email, metadata, cardholder name, currency, exact amount in the currency's base unit, exact charge/card/refund/customer token) and/or a created-date range. GET /charges/search.

ParameterTypeDescription
directionstringSort direction (default asc).
end_datestringCreated before this date, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.
querystringText to match.
sortstringSort field (default created_at).
start_datestringCreated on or after this date, yyyy-mm-dd.

pinpayments_get_charge Get charge

One charge by token (ch_...), with fees, refunds total, settlement transfer state and chargeback flag. GET /charges/{token}.

ParameterTypeDescription
charge_token *stringCharge token, e.g. ch_lfUYEBK14zotCTykezJkfg.

pinpayments_list_charge_refunds List refunds of a charge

All refunds issued against one charge. GET /charges/{token}/refunds.

ParameterTypeDescription
charge_token *stringCharge token (ch_...).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_list_refunds List refunds

List all refunds, 25 per page: amount (in the currency's base unit), currency, charge token, status_message, error_message, created_at. GET /refunds.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_get_refund Get refund

One refund by token (rf_...). GET /refunds/{token}.

ParameterTypeDescription
refund_token *stringRefund token, e.g. rf_ERCQy--Ay6o-NKGiUVcKKA.

pinpayments_list_authorisations List authorisations

List card authorisations (held funds, not yet captured; they expire after seven days) with amount, amount_captured, amount_remaining and expired flags. GET /authorisations.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_get_authorisation Get authorisation

One authorisation by token (auth_...). GET /authorisations/{token}.

ParameterTypeDescription
authorisation_token *stringAuthorisation token, e.g. auth_NRzYklT8z3p0yiozsXEAIg.

pinpayments_list_customers List customers

List stored customers, 25 per page: token, email, first_name, last_name, phone_number, company, notes and the primary card as scheme and last four digits. GET /customers.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_get_customer Get customer

One customer by token (cus_...). GET /customers/{token}.

ParameterTypeDescription
customer_token *stringCustomer token, e.g. cus_XZg1ULpWaROQCOT5PdwLkQ.

pinpayments_list_customer_charges List a customer's charges

Charges made by one customer. GET /customers/{token}/charges.

ParameterTypeDescription
customer_token *stringCustomer token (cus_...).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_list_customer_cards List a customer's cards

Cards stored for one customer, each shown only as scheme, last four digits and issuing country (no token, expiry or address). GET /customers/{token}/cards.

ParameterTypeDescription
customer_token *stringCustomer token (cus_...).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_list_customer_subscriptions List a customer's subscriptions

Subscriptions of one customer: state, plan, next billing date, active interval, cancellation time. GET /customers/{token}/subscriptions.

ParameterTypeDescription
customer_token *stringCustomer token (cus_...).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_list_deposits List deposits

List deposits made to the account (amount, currency, bank narration, available_at). GET /deposits.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_get_deposit Get deposit

One deposit by token (dpo_...). GET /deposits/{token}.

ParameterTypeDescription
deposit_token *stringDeposit token, e.g. dpo_Ts3YECK14zotCTykezRspu.

pinpayments_list_transfers List transfers

List transfers (payouts to bank accounts), 25 per page: status, amount, debits/credits, paid_at, reference, line item count, bank account (masked) and recipient. GET /transfers.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_search_transfers Search transfers

Search transfers by token, description, amount or recipient details and/or a created-date range. GET /transfers/search.

ParameterTypeDescription
directionstringSort direction (default asc).
end_datestringCreated before this date, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.
querystringText to match.
sortstringSort field (the only option is paid_at, also the default).
start_datestringCreated on or after this date, yyyy-mm-dd.

pinpayments_get_transfer Get transfer

One transfer by token (tfer_...). GET /transfers/{token}.

ParameterTypeDescription
transfer_token *stringTransfer token, e.g. tfer_lfUYEBK14zotCTykezJkfg.

pinpayments_list_transfer_line_items List transfer line items

The ledger line items that make up one transfer (charge entitlements, fees, refunds, chargebacks). GET /transfers/{token}/line_items.

ParameterTypeDescription
transfer_token *stringTransfer token (tfer_...).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_list_recipients List recipients

List transfer recipients (name, email, masked bank account). GET /recipients.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_get_recipient Get recipient

One recipient by token (rp_...). GET /recipients/{token}.

ParameterTypeDescription
recipient_token *stringRecipient token, e.g. rp_a98a4fafROQCOT5PdwLkQ.

pinpayments_list_recipient_transfers List a recipient's transfers

Transfers paid to one recipient. GET /recipients/{token}/transfers.

ParameterTypeDescription
recipient_token *stringRecipient token (rp_...).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_list_disputes List disputes

List chargeback disputes: category, status, amount, the disputed charge, evidence_required_by and the relevant evidence types. GET /disputes.

ParameterTypeDescription
directionstringSort direction (default asc).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.
sortstringSort field.

pinpayments_search_disputes Search disputes

Search disputes by status or exact charge token, optionally filtered by status. GET /disputes/search.

ParameterTypeDescription
directionstringSort direction (default asc).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.
querystringText to match (status, or an exact charge token); at least 3 characters.
sortstringSort field.
statusstringDispute status, e.g. evidence_required.

pinpayments_get_dispute Get dispute

One dispute by token (dis_...). GET /disputes/{token}.

ParameterTypeDescription
dispute_token *stringDispute token, e.g. dis_JRs6Xgk4jMyF33yGijQ7Nw.

pinpayments_get_dispute_activity Get dispute activity

The activity feed of one dispute (status changes, ledger entries such as chargeback fees and recoveries). GET /disputes/{token}/activity.

ParameterTypeDescription
dispute_token *stringDispute token (dis_...).

pinpayments_list_plans List plans

List subscription plans: name, amount, currency, interval, trial and setup amounts, subscription counts by state. GET /plans.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_get_plan Get plan

One plan by token (plan_...). GET /plans/{token}.

ParameterTypeDescription
plan_token *stringPlan token, e.g. plan_ZyDee4HNeUHFHC4SpM2idg.

pinpayments_list_plan_subscriptions List a plan's subscriptions

Subscriptions to one plan. GET /plans/{token}/subscriptions.

ParameterTypeDescription
plan_token *stringPlan token (plan_...).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_list_subscriptions List subscriptions

List all subscriptions: state (trial, active, cancelling, cancelled), plan, customer, next_billing_date, active interval, cancelled_at. GET /subscriptions.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_get_subscription Get subscription

One subscription by token (sub_...). GET /subscriptions/{token}.

ParameterTypeDescription
subscription_token *stringSubscription token, e.g. sub_bZWXhTzHooKpk9FZjQfzqQ.

pinpayments_get_subscription_ledger Get subscription ledger

The ledger entries (credits and debits) of one subscription. GET /subscriptions/{token}/ledger.

ParameterTypeDescription
subscription_token *stringSubscription token (sub_...).
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_list_events List events

The account's event log (charge.captured, refund.created, dispute.updated, ...), each with the affected record (cards masked). GET /events.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page.

pinpayments_get_event Get event

One event by token (evt_...). GET /events/{token}.

ParameterTypeDescription
event_token *stringEvent token, e.g. evt_12K4fafROQsdI5PdwLkX.