# Stax API Documentation

This is the complete API documentation for connecting to the Stax API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Stax connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/stax/actions/{actionSlug}/run
```

## Stax actions

- PUT `capture-pre-auth-transaction` Capture Pre-Auth Transaction
- POST `charge-payment-method` Charge Payment Method
- POST `create-card-payment-method` Create Card Payment Method
- POST `create-customer` Create Customer
- POST `create-payment-link` Create Payment Link
- DELETE `delete-customer` Delete Customer
- DELETE `delete-payment-link` Delete Payment Link
- DELETE `delete-payment-method` Delete Payment Method
- GET `get-customer` Get Customer
- GET `get-daily-sales` Get Daily Sales
- GET `get-deposit-details` Get Deposit Details
- GET `get-invoice` Get Invoice
- GET `get-payment-link` Get Payment Link
- GET `get-payment-link-active-status` Get Payment Link Active Status
- GET `get-payment-method` Get Payment Method
- GET `get-related-transactions` Get Related Transactions
- GET `get-statement-ach-rejections` Get Statement ACH Rejections
- GET `get-statement-card-processing` Get Statement Card Processing
- GET `get-statement-disputes` Get Statement Disputes
- GET `get-statement-fees` Get Statement Fees
- GET `get-statement-refunds-and-adjustments` Get Statement Refunds and Adjustments
- GET `get-statement-surcharging` Get Statement Surcharging
- GET `get-statement-volumes-by-card-type` Get Statement Volumes by Card Type
- GET `get-team-summary` Get Team Summary
- GET `get-transaction` Get Transaction
- GET `get-transaction-funding-instructions` Get Transaction Funding Instructions
- GET `get-user-and-team-info` Get User and Team Info
- GET `list-customer-payment-methods` List Customer Payment Methods
- GET `list-customers` List Customers
- GET `list-deposits` List Deposits
- GET `list-invoices` List Invoices
- GET `list-merchant-payment-methods` List Merchant Payment Methods
- GET `list-payment-links` List Payment Links
- GET `list-team-users` List Team Users
- GET `list-transactions` List Transactions
- GET `review-transaction-surcharge` Review Transaction Surcharge
- PUT `update-customer` Update Customer
- PUT `update-payment-link` Update Payment Link
- PUT `update-payment-method` Update Payment Method
- POST `verify-payment-method` Verify Payment Method
- POST `void-or-refund-transaction` Void or Refund Transaction
