# Spreedly MCP connector

The Spreedly connector lets Claude, ChatGPT, Cursor and other AI clients look up transactions, gateways, environments and card refresher inquiries in Spreedly and act on them through one governed endpoint, with every request logged.

Source: https://elaichi.ai/connectors/spreedly/

## Facts

| | |
| --- | --- |
| Application | Spreedly |
| Category | Payment Gateway |
| AI tools | 78 |
| Authentication | Connects with an API key |
| Needs your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. 78 tools is past the 30-tool threshold, so clients use `search_tools` and `execute_tool` |

## What you can ask once Spreedly is connected

- Show all failed Spreedly transactions from yesterday
- Which Spreedly gateways handled the most transactions this week
- Open a card refresher inquiry for expiring cards

## Connect Spreedly in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Spreedly.
2. Optionally set Share with, then press Connect.
3. Paste a Spreedly API key. One person generates a token in Spreedly and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Spreedly tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Connect Spreedly to Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Connect Spreedly to ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web today. The plugin directory lives at chatgpt.com/plugins.

## Connect Spreedly to Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Connect Spreedly to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Only Read is granted by default, which is not enough to call a Spreedly tool. Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Grant Read and Run tools. Think hard before granting Delete, which reaches into connected apps and cannot be undone.

## What teams do with Spreedly through Elaichi

### Find out why a transaction failed

Payments. Ask for a transaction by its Spreedly ID or pull up the most recent ones for a gateway, then read the response message and state without opening the dashboard.

### Pull a transaction export for month end

Finance. Create a Spreedly export of the period you need and get the file ready for reconciliation, then update a transaction's description or reference when the books need a correction.

### Add a new gateway without a ticket

Engineering. Create a Spreedly gateway for a new acquirer, check its settings alongside the gateways already in place, and update credentials when the processor rotates them.

### Check a customer's payment before replying

Support. Look up the transaction a customer is asking about, confirm whether it succeeded, was declined or was refunded, and answer in one message with the facts in front of you.

### Refresh expired cards before renewals run

Revenue operations. Create a Spreedly card refresher inquiry for stored payment methods that are about to expire and review the inquiries that have come back, so subscription charges stop failing on stale card numbers.

### Keep certificates and access secrets in order

Security. List the certificates and access secrets in each Spreedly environment, create replacements ahead of expiry and delete secrets that are no longer in use.

## Frequently asked questions

### How do I connect Spreedly to Claude?

Two steps. In Elaichi, choose Spreedly and paste in the API key from your Spreedly account, then paste the Elaichi endpoint, https://api.elaichi.ai/mcp, into Claude under Customize, then Connectors, then Add. Spreedly connects with an API key, so there is no OAuth application to register and no client ID or secret to generate.

### Does Spreedly work with ChatGPT and Cursor as well as Claude?

Yes. Once Spreedly is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, the Elaichi Agent and any other MCP client. You connect Spreedly once and every client you use picks it up.

### What can an AI agent actually do with my Spreedly account?

It can look up a Spreedly transaction by ID, list recent transactions, create a new one or update its details, and create an export for reconciliation. It can also list, create and update gateways, environments and certificates, manage access secrets, and start card refresher inquiries for stored payment methods. Because Spreedly has many actions, short concrete asks such as "show me yesterday's failed transactions on the Stripe gateway" work better than long paragraphs.

### Does connecting Spreedly give the AI every environment and gateway?

No. The connection carries only the access of the Spreedly API key that was used to connect, and each person signs in to Elaichi as themselves, so requests run inside that person's own permissions. Elaichi can narrow what the AI is allowed to do in Spreedly, and it can never widen it beyond what the key already allows.

### Can my team share one Spreedly connection?

Yes. One person connects Spreedly in Elaichi and shares the connection with a team, and nobody else ever sees or handles the API key. Each teammate still signs in to Elaichi as themselves, so the audit log records who looked up a transaction or changed a gateway.

### Can I stop an agent from deleting or changing things in Spreedly?

Yes. Restrictions in Elaichi work per action, so you can allow reading Spreedly transactions and gateways while blocking the ability to create transactions, update gateways or delete access secrets. A blocked action is never shown to Claude, ChatGPT or any other client, so no prompt can reach it.

### What happens to a Spreedly connection when someone leaves?

Offboarding that person in Elaichi ends their access to Spreedly through every AI client at once. A Spreedly connection they shared keeps working for everyone else on the team. If you want to remove Spreedly entirely, disconnecting it once in Elaichi removes it from Claude, ChatGPT, Cursor and every other client together.

## All 78 Spreedly tools

Every tool below is callable through https://api.elaichi.ai/mcp once Spreedly is connected, subject to the toolbox it is in and the restrictions on the caller.

- **Create a Spreedly export** (Create). Create a batch export of multiple Spreedly payment methods to an SFTP endpoint. The operation is asynchronous — the initial response has state "pending", and the final result is posted to callback_url. Returns: token, state, succeeded, message, payment_methods_submitted, url, and receiver. Required: payment_method_tokens, url, callback_url, body.
- **Update a Spreedly transaction by ID** (Update). Update a Spreedly transaction's status by syncing it with the gateway to resolve an ambiguous state (e.g., pending). Returns: token, succeeded, state, original_transaction_updated, message, gateway_token, transaction_type, created_at, updated_at, and original_transaction. Required: id. Each transaction supports a maximum of 200 inquiry requests; further requests are rejected.
- **Create a Spreedly transaction** (Create). Sync a Spreedly transaction with its gateway by triggering a status inquiry, resolving the transaction's ambiguous state. Returns: token, succeeded, state, transaction_type, message, gateway_token, created_at, updated_at, and original_transaction. Required: id.
- **List all Spreedly transactions** (List). List all Spreedly transactions in the authenticated environment, returned in ordered, paginated form. Returns per record: token, succeeded, state, transaction_type, amount, currency_code, gateway_token, gateway_transaction_id, created_at, updated_at, payment_method, and response. Rate-limited to 30 requests per minute per environment.
- **Get single Spreedly transaction by ID** (Get). Get a single Spreedly transaction by id. Returns: token, succeeded, state, transaction_type, amount, currency_code, gateway_token, gateway_transaction_id, created_at, updated_at, message, and payment_method. Required: id.
- **Create a Spreedly gateway** (Create). Create a new gateway in Spreedly by specifying the gateway type and any required credentials. Returns the provisioned gateway record including token, gateway_type, name, state, payment_methods, characteristics, credentials, gateway_settings, sandbox, redacted, mode, created_at, and updated_at. Required: gateway_type.
- **List all Spreedly gateways** (List). List all provisioned gateways in the Spreedly environment, ordered by creation date. Returns: token, gateway_type, name, state, payment_methods, characteristics, credentials, gateway_settings, sandbox, redacted, created_at, and updated_at per gateway record. Defaults to 20 records; maximum 100 per page.
- **Update a Spreedly gateway by ID** (Update). Update a provisioned Spreedly gateway by id (gateway token), for example to modify credentials or gateway settings. Returns the updated gateway record including token, gateway_type, name, state, credentials, gateway_settings, sandbox, redacted, created_at, and updated_at. Required: id.
- **Get single Spreedly gateway by ID** (Get). Get a single Spreedly gateway by id (gateway token). Returns the gateway record including token, gateway_type, name, state, payment_methods, characteristics, credentials, gateway_settings, sandbox, redacted, created_at, and updated_at. Required: id.
- **Create a Spreedly card refresher inquiry** (Create). Create a Spreedly Just-in-Time card refresher inquiry for a Visa payment method, triggering a real-time card update check via Visa Account Updater (VAU). Returns: token, inquiry_status, message, error_code, region, payment_method_token, and transaction (nullable nested update result containing token, transaction_type, state, and payment_method). Required: payment_method_token, region.
- **List all Spreedly inquiries** (List). List Spreedly Card Refresh inquiries in the current environment, ordered and paginated. Returns: token, inquiry_status, payment_method_token, succeeded, state, created_at, merchant_id, region, and card_refresh_event per inquiry. Max 100 per page.
- **Get single Spreedly inquiry by ID** (Get). Get a single Spreedly Card Refresh inquiry by its token. Returns: token, inquiry_status, payment_method_token, succeeded, state, created_at, merchant_id, region, and card_refresh_event. Required: id.
- **Create a Spreedly certificate** (Create). Create a Spreedly certificate for use in secure payment method tokenization, XML digital signatures, or Apple Pay. Returns: token, cn, email_address, public_key, public_key_hash, csr, pem, created_at, updated_at. Required: certificate.
- **List all Spreedly certificates** (List). List all Spreedly certificates in the authenticated environment in paginated, ordered results. Returns: token, level, algorithm, cn, email_address, public_key, public_key_hash, csr, pem, created_at, updated_at.
- **Update a Spreedly certificate by ID** (Update). Update an existing Spreedly SSL certificate record with a signed certificate value in PEM format. Returns: token, pem, public_key, public_key_hash, csr, cn, email_address, created_at, updated_at. Required: id, certificate.
- **Create a Spreedly claim** (Create). Forward a claim to the Spreedly protection provider for a given payment method. Returns: message, status. Required: payment_method_token, amount, case_id, charge_id, currency, due_date, issue_date, order_id, processor_name, reason_code, reason_description, reason_type, status.
- **Create a Spreedly access secret** (Create). Create a new spreedly access secret in an environment. Returns: key, environment, name, access_secret, created_at. Required: name.
- **Delete a Spreedly access secret by ID** (Delete). Delete a spreedly access secret by id. Returns an empty 204 response on success. Required: id.
- **List all Spreedly access secrets** (List). List all spreedly access secrets in an environment. Returns: key, environment, name, access_secret, created_at.
- **Get single Spreedly access secret by ID** (Get). Get a single spreedly access secret by id. Returns: key, environment, name, access_secret, created_at. Required: id.
- **Create a Spreedly environment** (Create). Create a new Spreedly environment in your organization. Returns: key, name, organization_key, signing_secret, callback_url, smart_routing_enabled, au_enabled, allow_direct_api_payment_method_creation, payment_method_management_enabled, iframe_enhanced_security_enabled, default_gateway_token, retry. Required: name.
- **List all Spreedly environments** (List). List all Spreedly environments in an organization, ordered and paginated. Returns: key, name, organization_key, signing_secret, callback_url, smart_routing_enabled, au_enabled, allow_direct_api_payment_method_creation, payment_method_management_enabled, iframe_enhanced_security_enabled, default_gateway_token, retry per environment.
- **Update a Spreedly environment by ID** (Update). Update a Spreedly environment by id. Returns: key, name, organization_key, signing_secret, callback_url, smart_routing_enabled, au_enabled, allow_direct_api_payment_method_creation, payment_method_management_enabled, iframe_enhanced_security_enabled, default_gateway_token, retry. Required: id.
- **Get single Spreedly environment by ID** (Get). Get a single Spreedly environment by id. Returns: key, name, organization_key, signing_secret, callback_url, smart_routing_enabled, au_enabled, allow_direct_api_payment_method_creation, payment_method_management_enabled, iframe_enhanced_security_enabled, default_gateway_token, retry. Required: id.
- **List all Spreedly events** (List). List all Spreedly events in the authenticated environment, ordered by creation date. Returns: id, event_type, object_type, object_key, request_id, created_at. Optionally filter by event_type or change sort direction with order. Max 100 records per page.
- **Get single Spreedly event by ID** (Get). Get a single Spreedly event by id. Returns: id, event_type, object_type, object_key, request_id, created_at. Required: id.
- **List all Spreedly gateway transactions** (List). List transactions executed against a specific Spreedly gateway in paginated order. Returns: token, succeeded, amount, currency_code, gateway_transaction_id, message, payment_method, order_id, and additional transaction fields. Required: gateway_token.
- **Create a Spreedly general credit** (Create). Create a general credit transaction in Spreedly, adding funds to a credit card outside the scope of any previous reference transaction. Returns: token, succeeded, amount, currency_code, message, gateway_transaction_id, and payment_method details. Required: gateway_token, payment_method_token, amount, currency_code. Support for general credit depends on the gateway.
- **Create a Spreedly merchant profile** (Create). Create a Spreedly merchant profile to store SCA provider details for 3DS authentication. Returns: token, description, created_at, updated_at, sub_merchant_key, card_networks. At least one card network object (visa, mastercard, amex, discover, diners, jcb, dankort, union_pay, or cartes_bancaires) must be included in the request body.
- **List all Spreedly merchant profiles** (List). List all Spreedly merchant profiles in the environment in paginated order. Returns: token, description, created_at, updated_at, sub_merchant_key, card_networks. Defaults to 20 records per page; maximum is 100.
- **Get single Spreedly merchant profile by ID** (Get). Get a single Spreedly merchant profile by its token. Returns: token, description, created_at, updated_at, sub_merchant_key, card_networks. Required: id.
- **Update a Spreedly merchant profile by ID** (Update). Update the description of a Spreedly merchant profile by its token. Only the description field can be modified after creation. Returns: token, description, updated_at, created_at, sub_merchant_key, card_networks. Required: id.
- **Get single Spreedly network tokenization card metadatum by ID** (Get). Retrieve network tokenization card metadata for a Spreedly payment method by its token. Returns: backgroundColor, foregroundColor, labelColor, contactEmail, contactNumber, privacyPolicyURL, termsAndConditionsURL, shortDescription, cardData, and issuerFlags. Response keys are determined and may be changed by the card network at any time and should not be considered idempotent. Required: id.
- **Get single Spreedly network token by ID** (Get). Get the network token status for a Spreedly payment method. Returns: token_status indicating whether the network token is currently active or inactive. Required: payment_method_token.
- **List all Spreedly payment method events** (List). List Spreedly payment method events for a specific payment method. Returns: token, event_type, state, created_at, payment_method_key, event_data, message, request_id. Required: payment_method_token. Optionally filter by event_type or control ordering; max 100 events per page.
- **Get single Spreedly payment method event by ID** (Get). Get a specific Spreedly payment method event by its token. Returns: token, event_type, state, created_at, payment_method_key, event_data, message, request_id. Required: id.
- **List all Spreedly payment method transactions** (List). List transactions executed against a specific Spreedly payment method in ordered, paginated form. Returns: token, succeeded, amount, currency_code, message, order_id, payment_method, and gateway_transaction_id per transaction. Required: payment_method_token.
- **Get single Spreedly payment by ID** (Get). Get a Spreedly payment by its token. A payment represents a collection of transaction attempts made against one or more gateways during a Recover transaction. Returns: token, gateway_tokens, attempts, mode, custom_error_used, override_default_error_codes, created_at, updated_at, stats, and transactions. Required: id.
- **List all Spreedly protection events** (List). List all Spreedly protection events in the environment, ordered and paginated. Returns: token, state, succeeded, fraud_decision, created_at, updated_at, amount, currency_code, and email, along with full fraud check and 3DS authentication details. Max 100 records per page.
- **Get single Spreedly protection event by ID** (Get). Get a single Spreedly protection check event by token. Returns: token, state, succeeded, fraud_decision, created_at, updated_at, amount, currency_code, email, ip, transaction_type, vendor_response, and full 3DS authentication details. Required: id.
- **Create a Spreedly protection provider** (Create). Create a Protection Provider on a spreedly Merchant Profile for use in authorize, purchase, and verify transactions. Returns: token, type, three_ds_enabled, created_at, updated_at, and registered per-card-brand details. Required: merchant_profile_token, merchant_profile_key, type, and at least one card type object (visa, mastercard, amex, discover, diners, jcb, dankort, union_pay, or cartes_bancaires).
- **Get single Spreedly protection provider by ID** (Get). Get a spreedly Protection Provider by its token. Returns: token, type, three_ds_enabled, created_at, updated_at, and registered per-card-brand details (visa, mastercard, amex, discover, diners, jcb, dankort, union_pay, cartes_bancaires). Required: id.
- **Create a Spreedly purchase** (Create). Create a purchase transaction in Spreedly by charging a payment method at a specified gateway. Returns: token, succeeded, message, amount, currency_code, gateway_transaction_id, response, and payment_method. Required: gateway_token, amount, currency_code, and one of payment_method_token, credit_card, bank_account, apple_pay, google_pay, or sca_authentication_token.
- **Create a Spreedly receiver** (Create). Create a spreedly receiver for use in payment method distribution. Returns: token, receiver_type, state, hostnames, credentials, company_name, created_at, updated_at. Required: receiver_type.
- **List all Spreedly receivers** (List). List all spreedly receivers in the authenticated environment in paginated, ordered fashion. Returns per receiver: token, receiver_type, state, hostnames, credentials, company_name, created_at, updated_at.
- **Update a Spreedly receiver by ID** (Update). Redact a spreedly receiver by id, stripping its sensitive credentials and making it inactive. Returns: token, receiver_type, state, hostnames, credentials, company_name, created_at, updated_at. Required: id.
- **Get single Spreedly receiver by ID** (Get). Get a single spreedly receiver by id. Returns: token, receiver_type, state, hostnames, credentials, company_name, created_at, updated_at. Required: id.
- **Create a Spreedly sca authentication** (Create). Create a Spreedly SCA (3DS2) authentication for a payment method and amount. Returns: token, succeeded, state, message, transaction_type, sca_provider_key, three_ds_version, flow_performed, ecommerce_indicator, authentication_value, authentication_response_status, directory_response_status. Required: transaction.payment_method_token, transaction.browser_info.
- **Create a Spreedly sca provider** (Create). Create a Spreedly SCA Provider on a given merchant profile for use in 3DS2 Global authentications. Returns: token, type, sandbox, created_at, updated_at, and per-brand card configuration objects (visa, mastercard, amex, discover). Required: merchant_profile_token, merchant_profile_key, type. At least one card type object (visa, mastercard, amex, or discover) must be included in the request body.
- **Get single Spreedly sca provider by ID** (Get). Get a Spreedly SCA Provider by its token. Returns: token, type, sandbox, created_at, updated_at, and per-brand card configuration objects (visa, mastercard, amex, discover). Required: id.
- **Create a Spreedly sub merchant** (Create). Create a sub-merchant in Spreedly. Returns the created sub-merchant object including token, name, environment_key, organization_key, merchant_email, address, merchant_data, metadata, created_at, and updated_at. Required: name, environment_key.
- **List all Spreedly sub merchants** (List). List all sub-merchants in a Spreedly organization, returned in ordered, paginated form. Returns: token, name, environment_key, organization_key, merchant_email, address, merchant_data, created_at, updated_at per record.
- **Get single Spreedly sub merchant by ID** (Get). Get a single Spreedly sub-merchant by its token. Returns: token, name, environment_key, organization_key, merchant_url, merchant_email, merchant_data, address, metadata, created_at, updated_at. Required: id.
- **Update a Spreedly sub merchant by ID** (Update). Update an existing Spreedly sub-merchant by its token. Returns the updated sub-merchant object including token, name, environment_key, organization_key, merchant_email, address, merchant_data, metadata, created_at, and updated_at. Required: id.
- **List all Spreedly supported gateways** (List). List all payment gateways supported by Spreedly along with their properties, credentials, and capabilities. Returns: name, gateway_type, auth_modes, characteristics, payment_methods, supported_countries, supported_cardtypes, regions, homepage, company_name, display_api_url, gateway_settings, and gateway_specific_fields.
- **Create a Spreedly gateway redaction** (Create). Redact a Spreedly gateway by its gateway_token, permanently removing sensitive credentials from the environment and setting the gateway state to redacted. Returns the updated gateway object including token, gateway_type, state, description, sandbox, created_at, and updated_at. Required: gateway_token.
- **Create a Spreedly gateway retention** (Create). Retain a spreedly gateway to prevent it from being automatically redacted, marking it as permanently kept in the environment. Returns: token, gateway_type, description, sandbox. Required: gateway_token.
- **List all Spreedly supported receivers** (List). List all payment method distribution receivers supported by Spreedly. Returns: name, receiver_type, hostnames, company_name for each receiver. No authentication required.
- **Create a Spreedly receiver redaction** (Create). Redact a Spreedly receiver, permanently marking it as no longer available for payment method delivery. Returns the updated receiver object including token, state (set to `redacted`), receiver_type, company_name, hostnames, credentials, created_at, and updated_at. Required: receiver_token.
- **Create a Spreedly certificate generation** (Create). Generate a new X.509 certificate in Spreedly for use with receivers requiring WS-Security Binary Security Token authentication or Apple Pay payment processing. Returns the generated certificate object including its token, which can be referenced in Spreedly receiver template functions.
- **Create a Spreedly signing secret regeneration** (Create). Regenerate the signing secret for a Spreedly environment; the previous signing secret is immediately invalidated and your application must be updated with the new value. Returns the updated environment object including key, signing_secret, name, organization_key, callback_url, smart_routing_enabled, and other environment settings. Required: environment_key.
- **Create a Spreedly payment method retention** (Create). Retain a Spreedly payment method in the vault, preventing it from expiring or being automatically removed. Returns the resulting transaction object including token, transaction_type, state, succeeded, message, and created_at. Required: payment_method_token.
- **Create a Spreedly payment method recach** (Create). Create a recache for a Spreedly payment method, re-submitting sensitive data (such as CVV) for an already-stored payment method token. Returns a transaction object including token, transaction_type, state, succeeded, message, created_at, and updated_at. Required: payment_method_token.
- **Create a Spreedly payment method delivery** (Create). Create a payment method delivery in Spreedly, forwarding a tokenized payment method to a named receiver endpoint in real time. Returns: token, transaction_type, state, succeeded, message, created_at, updated_at, url, callback_url, receiver. Required: receiver_token.
- **Create a Spreedly payment method export** (Create). Create a Spreedly batch payment method export job that asynchronously delivers card data to an SFTP receiver. Returns: token, state, succeeded, payment_methods_submitted, url, callback_url, and receiver. The initial response has state `pending`; the final transaction state is POSTed to callback_url when complete. Required: payment_method_tokens, url, callback_url, body.
- **List all Spreedly all payment method events** (List). List payment method events from Spreedly. Returns: token for each event record. Pagination is cursor-based; Truto advances the cursor automatically.
- **Create a Spreedly store** (Create). Create a store transaction in spreedly to vault a payment method on a specific gateway. Returns the resulting transaction object including token, succeeded, transaction_type, state, network_transaction_id, and payment_method. Required: gateway_token, payment_method_token.
- **Create a Spreedly authorization** (Create). Create a Spreedly authorization transaction against a gateway, reserving funds on a payment method without capturing them. Returns: token, transaction_type, succeeded, state, amount, currency_code. Required: gateway_token, payment_method_token, amount, currency_code.
- **Create a Spreedly verification** (Create). Create a verification transaction against a Spreedly gateway. Returns: amount, currency. Required: gateway_token.
- **Create a Spreedly reference purchase** (Create). Create a reference purchase transaction in Spreedly, reusing the payment method from a previous successful transaction on a specified gateway. Returns: network_tokenization (provisioned, attempted, token_status, token_reference) and transaction_metadata. Required: gateway_token, amount.
- **Create a Spreedly capture** (Create). Create a capture transaction in Spreedly to collect funds from a previously authorized transaction. Returns: token, succeeded, state, transaction_type, amount, currency_code, created_at, message. Required: transaction_token.
- **Create a Spreedly refund** (Create). Create a credit (refund) against a previously captured transaction in Spreedly. Returns the resulting transaction including token, transaction_type, succeeded, message, amount, currency_code, and payment_method details. Required: transaction_token.
- **Create a Spreedly void** (Create). Create a void transaction in Spreedly against an existing transaction. Returns the resulting void transaction object including token, transaction_type, succeeded, state, and message. Required: transaction_token.
- **Create a Spreedly transaction completion** (Create). Complete a pending spreedly transaction by its transaction_token, moving it from an intermediate gateway state to a final state. The transaction must not already be in a terminal state (succeeded, failed, or gateway_setup_failed). Returns the completed transaction object including token, state, and message. Required: transaction_token.
- **Create a Spreedly transaction confirmation** (Create). Confirm a pending Spreedly transaction to finalize payment processing. Returns the updated transaction object including token, transaction_type, state, and succeeded. Required: transaction_token.
- **Create a Spreedly composer purchase** (Create). Create a Spreedly Composer purchase transaction that packages Authorize and Capture into a single request routed through the specified workflow. Returns the transaction including attempt_3dsecure and a full payment_method object with token, card_type, last_four_digits, fingerprint, and extensive billing and shipping details. Required: workflow_token, payment_method_token, amount, currency_code.
- **Create a Spreedly composer authorization** (Create). Create a Spreedly Composer authorization by routing an authorization request to the gateway configured in a given workflow. Returns: attempt_3dsecure and payment_method (including token, card_type, last_four_digits, first_six_digits, full_name, and billing/shipping address details). Required: workflow_token.
- **Create a Spreedly composer verification** (Create). Verify whether a Spreedly payment method is a chargeable card using a Composer workflow. Returns: token, attempt_3dsecure, and payment_method (including card_type, last_four_digits, storage_state, and billing address fields). Required: workflow_token, payment_method_token.
