payments-mcp
v0.2.0-beta.0MCP server for Easypay Payments API
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_single_payments
List all single payments for the account with optional filters. API endpoint: GET /single Supports filtering by payment method, type, customer, key, expiration, and creation date range. Results are paginated with page and records_per_page.
| Parameter | Type | Description |
|---|---|---|
customer | string | Filter by customer key identifier. |
end_date | string | Filter until this creation date (e.g. "2025-01-31" or "2025-01-31 23:59"). Must be provided together with start_date. Maximum range: 30 days. |
expiration_time | string | Filter by expiration time interval. Format: "interval(YYYY-MM-DD HH:MM,YYYY-MM-DD HH:MM)". |
key | string | Filter by your internal reference key. |
method | string | Filter by payment method. Options: CC (Credit Card), VI (Visa), DD (Direct Debit), MB (Multibanco), MBW (MB WAY), AP (Apple Pay), GP (Google Pay). |
page | number | Page number to fetch (default 1). |
payment_type | string | Filter by payment type. Options: "sale" or "authorisation". |
records_per_page | number | Number of results per page (default 20). |
start_date | string | Filter from this creation date (e.g. "2025-01-01" or "2025-01-01 00:00"). Must be provided together with end_date. Maximum range: 30 days. |
get_single_payment
Get full details of a specific single payment by its UUID. API endpoint: GET /single/{id} Returns comprehensive payment information including captures, transactions, customer data, and method-specific details (card info, Multibanco entity/reference, SDD mandate, etc.).
| Parameter | Type | Description |
|---|---|---|
payment_id * | string | The UUID of the single payment. |
create_single_payment
Create a new single (one-time) payment. API endpoint: POST /single Supports 7 payment methods with two payment types. The "sale" type captures funds immediately; "authorisation" holds funds for later capture via the create_capture tool. Payment value must be between 0.50 and 999999.99 and is rounded to 2 decimal places. IMPORTANT for method="DD" (SEPA Direct Debit): you MUST also pass sdd_mandate_iban, sdd_mandate_name, sdd_mandate_email, and sdd_mandate_phone (sdd_mandate_account_holder defaults to sdd_mandate_name when omitted). There is no `sdd_mandate_id` parameter — mandates are cre…
| Parameter | Type | Description |
|---|---|---|
value * | number | Payment amount (e.g. 15.50). Range: 0.50–999999.99, rounded to 2 decimals. |
capture_descriptive | string | Description shown on bank statement / payment reference (max 255 chars). |
capture_transaction_key | string | Your internal reference key for the capture transaction (max 50 chars). |
currency | string | ISO 4217 currency code. Default: "EUR". Also supports "BRL". |
customer_email | string | Customer email address. |
customer_fiscal_number | string | Customer tax ID / fiscal number with country prefix (e.g. "PT123456789"). |
customer_key | string | Your internal customer identifier. |
customer_language | string | Customer preferred language for communications. Options: "PT", "EN", "ES". |
customer_name | string | Customer full name. |
customer_phone | string | Customer phone number without country code (e.g. "912345678"). Required for MBW (MB WAY). |
customer_phone_indicative | string | Country calling code (e.g. "+351"). Sent separately from phone. |
expiration_time | string | Payment expiration datetime (ISO 8601, e.g. "2026-12-31T23:59:00"). Deprecated: use multibanco_expiration_time instead. |
key | string | Your internal reference key for this payment (max 50 chars). |
method | string | Payment method code. Default: "MB". Options: CC, VI, DD, MB, MBW, AP, GP. |
multibanco_expiration_time | string | Multibanco only. Deadline to pay the reference, RFC3339 (e.g. "2026-12-31T23:59:00Z"). Required when any other multibanco_* field is set. |
multibanco_product | string | Multibanco only. Reference product. Default: "CHECKDIGIT". Options: CHECKDIGIT (immediate issuance), SPG, FILE (both support a start date). Additional costs may apply. |
multibanco_start_time | string | Multibanco only. When the reference becomes payable, RFC3339. Defaults to now. Only for the SPG and FILE products. |
payment_type | string | "sale" (immediate capture) or "authorisation" (capture later). Default: "sale". |
sdd_mandate_account_holder | string | Bank account holder name. Required when method is DD. |
sdd_mandate_email | string | Mandate holder email address. Required when method is DD. |
sdd_mandate_iban | string | SEPA DD mandate IBAN. Required when method is DD. |
sdd_mandate_name | string | Mandate holder full name. Required when method is DD. |
sdd_mandate_phone | string | Mandate holder phone number without country code. Required when method is DD. |
update_single_payment
Update an existing single payment. API endpoint: PATCH /single/{id} Partially updates a single payment. Only the provided fields are updated; omitted fields remain unchanged. Supports updating customer data, SEPA Direct Debit mandate, currency, expiration time, and internal key.
| Parameter | Type | Description |
|---|---|---|
payment_id * | string | The UUID of the single payment to update. |
currency | string | New ISO 4217 currency code (e.g. "EUR"). |
customer_email | string | New customer email address. |
customer_fiscal_number | string | New customer tax ID with country prefix (e.g. "PT123456789"). |
customer_key | string | New internal customer identifier. |
customer_language | string | New customer language. Options: "PT", "EN", "ES". |
customer_name | string | New customer full name. |
customer_phone | string | New customer phone number without country code. |
customer_phone_indicative | string | New country calling code (e.g. "+351"). |
expiration_time | string | New payment expiration datetime (e.g. "2026-12-31T23:59:00"). Deprecated in the API spec, which has no replacement field on PATCH /single/{id} yet. |
key | string | New internal reference key (max 50 chars). |
sdd_mandate_account_holder | string | New bank account holder name. |
sdd_mandate_email | string | New mandate holder email. |
sdd_mandate_iban | string | New SEPA DD mandate IBAN. |
sdd_mandate_name | string | New mandate holder full name. |
sdd_mandate_phone | string | New mandate holder phone without country code. |
delete_single_payment
Cancel or void a single payment. API endpoint: DELETE /single/{id} Behavior varies by payment method: - CC (Credit Card) / MBW (MB WAY): Voids all authorizations, releasing held funds. - MB (Multibanco): Cancels the payment reference number. - DD (Direct Debit): Cancels if requested before 18:00 (Europe/Lisbon timezone). After 18:00, same-day cancellation is not possible.
| Parameter | Type | Description |
|---|---|---|
payment_id * | string | The UUID of the single payment to cancel. |
list_frequent_payments
List all frequent (tokenized) payments for the account with optional filters. API endpoint: GET /frequent Frequent payments are reusable tokens that allow repeated variable-amount charges without requiring the customer to re-enter payment details.
| Parameter | Type | Description |
|---|---|---|
customer | string | Filter by customer key identifier. |
end_date | string | Filter until this creation date (e.g. "2025-01-31" or "2025-01-31 23:59"). Must be provided together with start_date. Maximum range: 30 days. |
expiration_time | string | Filter by expiration time interval. Format: "interval(YYYY-MM-DD HH:MM,YYYY-MM-DD HH:MM)". |
key | string | Filter by your internal reference key. |
method | string | Filter by payment method. Options: CC, VI, DD, MB, MBW. Note: Apple Pay (AP) is not supported for frequent payments. |
page | number | Page number to fetch (default 1). |
records_per_page | number | Number of results per page (default 20). |
start_date | string | Filter from this creation date (e.g. "2025-01-01" or "2025-01-01 00:00"). Must be provided together with end_date. Maximum range: 30 days. |
get_frequent_payment
Get details of a specific frequent payment by its UUID. API endpoint: GET /frequent/{id} Returns comprehensive token details including charge bounds, customer data, method information, and transaction history.
| Parameter | Type | Description |
|---|---|---|
payment_id * | string | The UUID of the frequent payment. |
create_frequent_payment
Create a new frequent (tokenized) payment for recurring variable-amount charges. API endpoint: POST /frequent Enables repeatable transactions of varying sums without the customer having to re-enter their payment details. The customer authorizes the token setup once, and the merchant can then charge against it using create_frequent_authorisation. Supported methods: CC (Credit Card), MBW (MB WAY), MB (Multibanco), DD (Direct Debit), VI (Virtual IBAN). The API requires a customer object, so pass at least one customer_* field. There is no initial amount: charges are made later with create_freq…
| Parameter | Type | Description |
|---|---|---|
currency | string | ISO 4217 currency code. Default: "EUR". Also supports "BRL". |
customer_email | string | Customer email address. |
customer_fiscal_number | string | Customer tax ID with country prefix (e.g. "PT123456789"). |
customer_key | string | Your internal customer identifier. |
customer_language | string | Customer preferred language. Options: "PT", "EN", "ES". |
customer_name | string | Customer full name. |
customer_phone | string | Customer phone number without country code (e.g. "912345678"). Required for MBW (MB WAY). |
customer_phone_indicative | string | Country calling code (e.g. "+351"). |
expiration_time | string | Token expiration datetime (format: "YYYY-MM-DD HH:MM"). |
key | string | Your internal reference key for this frequent payment. |
max_value | number | Maximum amount allowed per charge against this token. |
method | string | Payment method code. Default: "MB". Options: CC, MBW, MB, DD, VI. |
min_value | number | Minimum amount allowed per charge against this token. |
sdd_mandate_account_holder | string | Bank account holder name. Required when method is DD. |
sdd_mandate_email | string | Mandate holder email address. Required when method is DD. |
sdd_mandate_iban | string | SEPA DD mandate IBAN. Required when method is DD. |
sdd_mandate_name | string | Mandate holder full name. Required when method is DD. |
sdd_mandate_phone | string | Mandate holder phone without country code. Required when method is DD. |
unlimited_payments | boolean | If true, transactions are unlimited and the min/max values are refreshed on each payment. The API defaults to true when omitted. |
update_frequent_payment
Update an existing frequent payment token. API endpoint: PATCH /frequent/{id} Partially updates a frequent payment's configuration. Only the provided fields are updated; omitted fields remain unchanged. Supports changing status, charge bounds (min/max value), expiration, and customer/mandate data.
| Parameter | Type | Description |
|---|---|---|
payment_id * | string | The UUID of the frequent payment token to update. |
currency | string | New ISO 4217 currency code. |
customer_email | string | New customer email address. |
customer_fiscal_number | string | New customer tax ID with country prefix. |
customer_key | string | New internal customer identifier. |
customer_language | string | New customer language. Options: "PT", "EN", "ES". |
customer_name | string | New customer full name. |
customer_phone | string | New customer phone number without country code. |
customer_phone_indicative | string | New country calling code (e.g. "+351"). |
expiration_time | string | New token expiration datetime (format: "YYYY-MM-DD HH:MM"). |
key | string | New internal reference key. |
max_value | number | New maximum amount allowed per charge. |
min_value | number | New minimum amount allowed per charge. |
sdd_mandate_account_holder | string | New bank account holder name. |
sdd_mandate_email | string | New mandate holder email. |
sdd_mandate_iban | string | New SEPA DD mandate IBAN. |
sdd_mandate_name | string | New mandate holder full name. |
sdd_mandate_phone | string | New mandate holder phone without country code. |
status | string | New status. Options: "active" or "deleted". |
unlimited_payments | boolean | If true, refreshes min/max on each transaction (no max constraint). |
delete_frequent_payment
Delete a frequent payment token. API endpoint: DELETE /frequent/{id} The system processes deletion requests 3 times daily (10am, 3pm, 10pm), so deletion may not take effect immediately.
| Parameter | Type | Description |
|---|---|---|
payment_id * | string | The UUID of the frequent payment to delete. |
create_frequent_authorisation
Create a new authorisation (charge) against an existing frequent payment token. API endpoint: POST /frequent/authorisation/{id} Charges the specified amount against an active frequent payment token. The value must be within the token's min_value/max_value bounds (unless unlimited_payments is set). The amount is auto-rounded to 2 decimal places.
| Parameter | Type | Description |
|---|---|---|
descriptive * | string | Description shown on bank statement / MB WAY app notification (max 255 chars). Required. |
payment_id * | string | The UUID of the frequent payment token to charge against. |
value * | number | Amount to charge (minimum 0.50). Must be within the token's min_value/max_value bounds. Auto-rounded to 2 decimal places. |
force_3ds | boolean | Force 3D Secure authentication for card payments (CC/VI). |
transaction_key | string | Your internal key identifying this authorisation (max 255 chars). |
list_subscriptions
List all subscription payments for the account with optional filters. API endpoint: GET /subscription Subscriptions are automated recurring fixed-amount payments at configurable intervals. Only CC (Credit Card) and DD (Direct Debit) methods are supported for subscriptions.
| Parameter | Type | Description |
|---|---|---|
customer | string | Filter by customer key identifier. |
end_date | string | Filter until this creation date (e.g. "2025-01-31"). Must be provided together with start_date. Maximum range: 30 days. |
expiration_time | string | Filter by expiration time interval. Format: "interval(YYYY-MM-DD HH:MM,YYYY-MM-DD HH:MM)". |
key | string | Filter by your internal reference key. |
method | string | Filter by payment method. Options: CC (Credit Card), DD (Direct Debit). |
page | number | Page number to fetch (default 1). |
records_per_page | number | Number of results per page (default 20). |
start_date | string | Filter from this creation date (e.g. "2025-01-01"). Must be provided together with end_date. Maximum range: 30 days. |
status | string | Filter by subscription status. Options: "active", "inactive". |
get_subscription
Get details of a specific subscription by its UUID. API endpoint: GET /subscription/{id} Returns comprehensive subscription details including billing configuration, customer data, method information, and transaction history.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The UUID of the subscription. |
create_subscription
Create a new subscription for automated recurring fixed-amount payments. API endpoint: POST /subscription Sets up recurring charges at the specified frequency. Only Credit Card (CC) and Direct Debit (DD) methods are supported for subscriptions. Duration: You must specify at least one of expiration_time, max_captures, or unlimited_payments to define when the subscription ends. Payment value is rounded to 2 decimal places. IMPORTANT for method="DD" (SEPA Direct Debit): you MUST also pass sdd_mandate_iban, sdd_mandate_name, sdd_mandate_email, and sdd_mandate_phone (sdd_mandate_account_holder…
| Parameter | Type | Description |
|---|---|---|
frequency * | string | Billing frequency interval. Options: "1D" (daily), "1W" (weekly), "2W" (biweekly), "1M" (monthly), "2M" (bimonthly), "3M" (quarterly), "4M" (every 4 months), "6M" (semi-annual), "1Y" (annual), "2Y" (b… |
value * | number | Fixed recurring payment amount. Rounded to 2 decimal places. |
capture_descriptive | string | Description shown on bank statement (max 255 chars). |
capture_now | boolean | If true, schedules the first capture immediately. Default: false. |
capture_transaction_key | string | Your internal reference for the capture (max 50 chars). |
currency | string | ISO 4217 currency code. Default: "EUR". |
customer_email | string | Customer email address. |
customer_fiscal_number | string | Customer tax ID with country prefix (e.g. "PT123456789"). |
customer_key | string | Your internal customer identifier. |
customer_language | string | Customer preferred language. Options: "PT", "EN", "ES". |
customer_name | string | Customer full name. |
customer_phone | string | Customer phone number without country code. |
customer_phone_indicative | string | Country calling code (e.g. "+351"). |
expiration_time | string | Subscription end datetime (format: "YYYY-MM-DD HH:MM"). Required unless max_captures or unlimited_payments is set. |
failover | boolean | If true, attempts an alternative payment method after all retries fail. |
key | string | Your internal reference key for this subscription. |
max_captures | number | Maximum number of recurring charges. Required unless expiration_time or unlimited_payments is set. |
method | string | Payment method. Default: "CC". Options: CC (Credit Card), DD (Direct Debit). |
retries | number | Number of retry attempts per billing cycle if a charge fails. |
sdd_mandate_account_holder | string | Bank account holder name. Required when method is DD. |
sdd_mandate_email | string | Mandate holder email. Required when method is DD. |
sdd_mandate_iban | string | SEPA DD mandate IBAN. Required when method is DD. |
sdd_mandate_name | string | Mandate holder full name. Required when method is DD. |
sdd_mandate_phone | string | Mandate holder phone without country code. Required when method is DD. |
start_time | string | When to start the billing cycle (format: "YYYY-MM-DD HH:MM"). If omitted, starts immediately. |
unlimited_payments | boolean | If true, subscription charges indefinitely until cancelled. Required unless expiration_time or max_captures is set. |
update_subscription
Update an existing subscription. API endpoint: PATCH /subscription/{id} Partially updates a subscription. Only the provided fields are updated; omitted fields remain unchanged. Setting status to "inactive" removes pending cycles; setting it to "active" schedules new cycles based on frequency/start_time.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The UUID of the subscription to update. |
capture_descriptive | string | New description shown on bank statement (max 255 chars). |
capture_transaction_key | string | New internal reference for the capture (max 50 chars). |
currency | string | New ISO 4217 currency code. |
customer_email | string | New customer email address. |
customer_fiscal_number | string | New customer tax ID with country prefix. |
customer_key | string | New internal customer identifier. |
customer_language | string | New customer language. Options: "PT", "EN", "ES". |
customer_name | string | New customer full name. |
customer_phone | string | New customer phone number without country code. |
customer_phone_indicative | string | New country calling code (e.g. "+351"). |
expiration_time | string | New subscription end datetime (format: "YYYY-MM-DD HH:MM"). |
failover | boolean | If true, attempts an alternative payment method after all retries fail. |
frequency | string | New billing frequency. Options: "1D", "1W", "2W", "1M", "2M", "3M", "4M", "6M", "1Y", "2Y", "3Y". |
key | string | New internal reference key. |
max_captures | number | New total billing cycle count. Deactivates unlimited_payments. |
retries | number | New retry attempts per cycle if a charge fails. |
sdd_mandate_account_holder | string | New bank account holder name. |
sdd_mandate_email | string | New mandate holder email. |
sdd_mandate_iban | string | New SEPA DD mandate IBAN. |
sdd_mandate_name | string | New mandate holder full name. |
sdd_mandate_phone | string | New mandate holder phone without country code. |
start_time | string | New billing cycle start datetime (format: "YYYY-MM-DD HH:MM"). |
status | string | New status. Options: "active" or "inactive". |
unlimited_payments | boolean | If true, subscription charges indefinitely until cancelled. |
value | number | New recurring payment amount. Rounded to 2 decimal places. |
delete_subscription
Cancel and delete a subscription. API endpoint: DELETE /subscription/{id} Permanently stops all future recurring charges for this subscription.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The UUID of the subscription to cancel. |
list_captures
List all captures for the account. API endpoint: GET /capture Captures represent collected funds from previously authorised payments.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from a previous response to fetch the next page. |
limit | number | Number of results per page (default 20, max 100). |
get_capture
Get details of a specific capture by its UUID. API endpoint: GET /capture/{id} Returns capture details including amount, status, authorization reference, transaction details, and fee breakdowns.
| Parameter | Type | Description |
|---|---|---|
capture_id * | string | The UUID of the capture. |
create_capture
Capture a previously authorised payment (single auth, frequent, or frequent auth). API endpoint: POST /capture/{id} Collects funds from an authorised payment. Supports partial captures — you can capture less than the full authorised amount. A single authorisation can be split across multiple capture requests at different times (useful for staged fulfillment). Captures must occur within method-specific hold periods or the authorisation expires: - Debit cards: typically 3–7 days. - MB WAY: 7 days. - Credit cards: varies by issuer. Uncaptured funds are automatically released after the hold…
| Parameter | Type | Description |
|---|---|---|
transaction_id * | string | The UUID of the authorised transaction to capture. |
account_id | string | Destination account UUID for multi-account fund routing. |
capture_date | string | Scheduled capture execution date (format: "YYYY-MM-DD"). If omitted, captures immediately. |
descriptive | string | Description shown on bank statement. Helps customers identify the transaction (max 255 chars). |
transaction_key | string | Your internal reference key for this capture (max 50 chars). |
value | number | Amount to capture (range: 0.50–999999.99). If omitted, captures the full authorised amount. Must be <= the authorised amount. |
get_authorisation
Get details of a specific authorisation by its UUID. API endpoint: GET /authorisation/{id} Returns authorisation details including amount, status, method, timestamp, and whether the authorisation is still available for capture or void.
| Parameter | Type | Description |
|---|---|---|
authorisation_id * | string | The UUID of the authorisation. |
get_void
Get details of a specific void operation by its UUID. API endpoint: GET /void/{id}
| Parameter | Type | Description |
|---|---|---|
void_id * | string | The UUID of the void. |
create_void
Void a previously authorised payment (single auth or frequent auth). API endpoint: POST /void/{id} Releases the held funds back to the customer. Can only void uncaptured authorisations — once captured, use create_refund instead.
| Parameter | Type | Description |
|---|---|---|
transaction_id * | string | The UUID of the authorised transaction to void. |
descriptive | string | Description for the void operation. |
list_refunds
List all refunds for the account. API endpoint: GET /refund Returns a cursor-paginated list of all refund operations.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from a previous response to fetch the next page. |
limit | number | Number of results per page (default 20, max 100). |
get_refund
Get details of a specific refund by its UUID. API endpoint: GET /refund/{id} Returns refund details including amount, status, method, associated capture, and timestamps.
| Parameter | Type | Description |
|---|---|---|
refund_id * | string | The UUID of the refund. |
create_refund
Process a refund for a captured payment. Supports full or partial refunds. API endpoint: POST /refund/{id} Refund deadlines vary by payment method — refunds beyond these windows will fail: - MBW (MB WAY), VI (Visa), CC (Credit Card), AP (Apple Pay), GP (Google Pay), and other wallet methods (Samsung Pay): 12 months from capture. - MB SPG references: 120 days from capture. - Other MB (Multibanco): No time limit. - DD (Direct Debit): 180 days from capture. Multiple partial refunds can be applied to the same capture as long as the total refunded does not exceed the captured amount.
| Parameter | Type | Description |
|---|---|---|
capture_id * | string | The UUID of the capture to refund. |
transaction_key | string | Your internal key identifying this refund (max 50 chars). |
value | number | Amount to refund. If omitted, refunds the full captured amount. Must be <= the remaining captured amount (after prior partial refunds). |
list_chargebacks
List all chargebacks (consumer-initiated payment reversals and disputes). API endpoint: GET /chargeback Chargebacks are initiated by the consumer through their bank, not by the merchant. They are read-only — you cannot create chargebacks via this API. Chargebacks may not be available in sandbox environments.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from a previous response to fetch the next page. |
limit | number | Number of results per page (default 20, max 100). |
get_chargeback
Get details of a specific chargeback including the dispute reason. API endpoint: GET /chargeback/{id} Returns chargeback details including dispute reason, amount, original transaction reference, and status.
| Parameter | Type | Description |
|---|---|---|
chargeback_id * | string | The UUID of the chargeback. |
get_checkout
Get details of a checkout session by its UUID. API endpoint: GET /checkout/{id} Returns checkout session details including the session token, payment status, and configuration.
| Parameter | Type | Description |
|---|---|---|
checkout_id * | string | The UUID of the checkout session. |
create_checkout
Create an embedded checkout payment form session. API endpoint: POST /checkout Returns a checkout id and session token that can be used to render the Easypay payment form (embeddable in an iframe or opened directly). The checkout_type determines the payment flow and which parameters apply. IMPORTANT when pre-filling a SEPA Direct Debit mandate: if you pass any sdd_mandate_* field, you MUST pass all of sdd_mandate_iban, sdd_mandate_name, sdd_mandate_email, and sdd_mandate_phone (sdd_mandate_account_holder defaults to sdd_mandate_name when omitted). There is no `sdd_mandate_id` parameter —…
| Parameter | Type | Description |
|---|---|---|
checkout_type * | string | Type of checkout session. Options: "single" — one-time payment, "frequent" — tokenized payment for future variable-amount charges, "subscription" — recurring fixed-amount charges at set interval… |
capture_descriptive | string | Description shown on bank statement (max 255 chars). Required for MBW (MB WAY) method. |
capture_now | boolean | If true, schedules immediate first capture. |
capture_transaction_key | string | Your internal reference for the capture (max 50 chars). |
currency | string | ISO 4217 currency code. Default: "EUR". |
customer_email | string | Pre-fill customer email. |
customer_fiscal_number | string | Customer tax ID with country prefix (e.g. "PT123456789"). |
customer_key | string | Your internal customer identifier. |
customer_language | string | Customer preferred language. Options: "PT", "EN", "ES". |
customer_name | string | Pre-fill customer name in the checkout form. |
customer_phone | string | Pre-fill customer phone (without country code, e.g. "912345678"). |
customer_phone_indicative | string | Country calling code (e.g. "+351"). |
expiration_time | string | Checkout/payment expiration datetime (format: "YYYY-MM-DD HH:MM"). |
failover | boolean | If true, attempts alternative method after retries fail. |
frequency | string | Billing frequency. Required for subscription type. Options: "1D", "1W", "2W", "1M", "2M", "3M", "4M", "6M", "1Y", "2Y", "3Y". |
key | string | Your internal reference key for the payment, sent as payment.key. |
max_captures | number | Maximum recurring charges. Required unless expiration_time is set. |
max_value | number | Maximum amount allowed per charge against the token. |
methods | array | Allowed payment methods (e.g. ["MB", "MBW", "VI", "CC"]). Options: MB, MBW, DD, CC, VI, AP, GP, SW. If omitted, all account-enabled methods are shown. |
min_value | number | Minimum amount allowed per charge against the token. |
payment_type | string | For single checkouts only. "sale" (immediate capture) or "authorisation" (capture later). Ignored for frequent/subscription types. |
retries | number | Retry attempts per billing cycle on failure. |
sdd_mandate_account_holder | string | Bank account holder name. Required for DD. |
sdd_mandate_email | string | Mandate holder email. Required when using DD method. |
sdd_mandate_iban | string | SEPA DD mandate IBAN. Required when using DD method. |
sdd_mandate_name | string | Mandate holder full name. Required when using DD method. |
sdd_mandate_phone | string | Mandate holder phone without country code. Required for DD. |
start_time | string | Billing cycle start datetime (format: "YYYY-MM-DD HH:MM"). |
value | number | Order amount, sent as order.value. Required for "single" and "subscription" types. Optional for "frequent" type. |
delete_checkout
Cancel a checkout session and its associated payment. API endpoint: DELETE /checkout/{id} Cancels the checkout session and deletes the associated payment if possible. If the payment has already been completed, the deletion may not succeed.
| Parameter | Type | Description |
|---|---|---|
checkout_id * | string | The UUID of the checkout session to cancel. |
list_payment_links
List all payment links for the account. API endpoint: GET /link Payment links are shareable secure URLs that take customers directly to a ready-to-pay checkout page.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from a previous response to fetch the next page. |
limit | number | Number of results per page (default 20, max 100). |
get_payment_link
Get details of a specific payment link by its UUID. API endpoint: GET /link/{id} Returns link details including the shareable URL, status, expiration, max payments, and associated payment information.
| Parameter | Type | Description |
|---|---|---|
link_id * | string | The UUID of the payment link. |
create_payment_link
Generate a shareable secure payment link (pay-by-link). API endpoint: POST /link Generates a unique URL that takes customers directly to a secure and ready-to-pay checkout page. The link can be shared via email, SMS, messaging apps, etc. Required: expiration_time, customer_name, customer_language, payment_methods, and for type SINGLE, payment_single_requested_amount. Only SINGLE links are available for now: FREQUENT and SUBSCRIPTION links answer with a 501. Only the payment_<type>_* fields that match `type` are sent. communication_channels EMAIL requires customer_email, and SMS requires cus…
| Parameter | Type | Description |
|---|---|---|
customer_language * | string | Customer preferred language. Required. Options: "PT", "EN", "ES". |
customer_name * | string | Customer full name (max 255 chars). Required. |
expiration_time * | string | Link expiration datetime in RFC3339 (e.g. "2026-12-31T23:59:00Z"). Must be in the future and not past 2037. For subscriptions, not later than the subscription's own expiration_time. |
payment_methods * | array | Allowed payment methods, at least one (e.g. ["MB", "MBW", "CC"]). Options: MB, MBW, DD, CC, VI, AP, GP, SW. |
communication_channels | array | Where Easypay sends the link. Options: SMS, EMAIL. If omitted, the link is not sent anywhere and you hand it to the customer. |
customer_email | string | Customer email (max 70 chars). Required for the EMAIL channel and the instructions email notification; otherwise collected on the checkout page. |
customer_phone | string | Customer phone in E.164 format (e.g. "+351912345678"). Required for the SMS channel; otherwise collected on the checkout page. |
notification_customer_method_instructions_email | boolean | If true, emails the customer the payment instructions after they choose the method. Requires customer_name, customer_email and customer_language. |
payment_capture_descriptive | string | Description for the capture (max 255 chars). |
payment_capture_key | string | Your internal reference key for the capture (max 50 chars). |
payment_frequent_maximum_amount | number | FREQUENT links only (not implemented by the API yet). Maximum amount. |
payment_frequent_minimum_amount | number | FREQUENT links only (not implemented by the API yet). Minimum amount. |
payment_frequent_unlimited_payments | boolean | FREQUENT links only (not implemented by the API yet). Whether payments can be unlimited. |
payment_single_requested_amount | number | Amount to request for a SINGLE link (minimum 0.50). Rounded to 2 decimal places. Required when type is SINGLE. |
payment_subscription_capture_now | boolean | SUBSCRIPTION links only. If true, captures immediately; the second capture is on the start date. |
payment_subscription_expiration_time | string | SUBSCRIPTION links only. Date the subscription expires (format: "YYYY-MM-DD", not past 2037). Required when payment_subscription_maximum_captures is not set. |
payment_subscription_failover | boolean | SUBSCRIPTION links only. After all retries fail, try once more with another single method. |
payment_subscription_frequency | string | SUBSCRIPTION links only (not implemented by the API yet). Billing frequency. Options: "1D", "1W", "2W", "1M", "2M", "3M", "4M", "6M", "1Y", "2Y", "3Y". |
payment_subscription_maximum_captures | number | SUBSCRIPTION links only. Maximum number of captures. Required when payment_subscription_expiration_time is not set. |
payment_subscription_retries | number | SUBSCRIPTION links only. Number of retries in each payment cycle. |
payment_subscription_start_time | string | SUBSCRIPTION links only. Start date of the billing cycles (format: "YYYY-MM-DD", in the future). |
type | string | Payment type of the link. Default: "SINGLE". Options: SINGLE, FREQUENT, SUBSCRIPTION. |
update_payment_link
Update the expiration date of an existing payment link. API endpoint: PATCH /link/{id} The expiration date is the only field the API lets you change on a link.
| Parameter | Type | Description |
|---|---|---|
expiration_time * | string | New link expiration datetime in RFC3339 (e.g. "2026-12-31T23:59:00Z"). Required. |
link_id * | string | The UUID of the payment link to update. |
delete_payment_link
Permanently delete a payment link. This action is irreversible. API endpoint: DELETE /link/{id} Once deleted, the link becomes invalid and can no longer be used for payments. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
link_id * | string | The UUID of the payment link to delete. |
get_ledger
Get itemized ledger entries for reconciliation and financial analysis. API endpoint: GET /report/ledger Returns detailed ledger entries including captures, refunds, fees, and other financial operations. Designed for accounting, auditing, and reconciliation. Both start_date and end_date must be provided together. Maximum range is 30 days.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from a previous response to fetch the next page. |
end_date | string | End of date range in UTC (e.g. "2024-01-31" or "2024-01-31 23:59"). Must be provided together with start_date. |
limit | number | Number of results per page (default 100, max 100). |
start_date | string | Start of date range in UTC (e.g. "2024-01-01" or "2024-01-01 00:00"). Must be provided together with end_date. |
transaction_type | string | Filter by transaction type. Options: CP = Capture, RF = Refund, RV = Revert, SP = Split Payment, FEE = Fee, MAN = Manual Movement, TB = Bank Transfer, OT = Out Transfer, CB = Chargeback, OP = Out Paym… |
transfer_batch | string | Filter by transfer batch ID. |
get_transactions
List account transactions for reporting. API endpoint: GET /report/transactions Returns a list of account transactions. Unlike the ledger, start_date and end_date can be provided independently. Results are paginated with page and records_per_page. Deprecated: use get_ledger instead. The API marks this endpoint End of Life, with removal announced for 2026-07-31.
| Parameter | Type | Description |
|---|---|---|
end_date | string | Filter until this date (format: "Y-m-d H:i" in UTC, e.g. "2024-12-31"). |
page | number | Page number to fetch (default 1). |
records_per_page | number | Number of results per page (default 20). |
start_date | string | Filter from this date (format: "Y-m-d H:i" in UTC, e.g. "2024-01-01"). |
get_account_config
Retrieve current account configuration including notification URLs and settings. API endpoint: GET /config Returns the account's configured notification URLs, payment method settings, and other account-level configuration.
update_account_config
Update account configuration (notification URLs and redirect URLs). API endpoint: PATCH /config Partially updates the account configuration. Only the provided fields are updated; omitted fields remain unchanged. Used to configure webhook URLs for payment events and redirect URLs for card payments.
| Parameter | Type | Description |
|---|---|---|
authorisation | string | URL for payment authorisation notifications (webhook). |
generic | string | URL for generic event notifications (webhook). |
transaction | string | URL for transaction event notifications (webhook). |
visa_detail | string | URL for the credit card payment detail page. |
visa_fwd | string | URL for credit card forward redirect after payment completion. |
ping
Test connectivity and validate that the configured Easypay credentials are correct. API endpoint: GET /system/ping Use this tool to verify that the MCP server can reach the Easypay API and that the configured account ID and API key are valid.