Cash App Payments API

The payments API from Cash App — 6 operation(s) for payments.

GitHub OpenAPI
Business capability
Payment Processing Management BC-1340.20

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /payments List payments · List payments #
Ask an LLM
“How do I list payments made by a customer?”
“Can I filter payments by reference ID or merchant?”
Tell an agent
List payments made by customer {customer_id}.
Show payments with reference ID {reference_id}.
POST /payments Create a payment from a customer to a merchant · Create payment #
Ask an LLM
“How do I charge a customer for a purchase?”
“What grant do I need to create a payment?”
Tell an agent
Create a payment {payment} from the customer to the merchant.
Charge the customer for {payment} using idempotency key {idempotency_key}.
GET /payments/{payment_id} Get a payment by ID · Retrieve payment #
Ask an LLM
“How do I look up one payment by its ID?”
“What details are returned for a single payment?”
Tell an agent
Get payment {payment_id}.
Show the details of payment {payment_id}.
POST /payments/{payment_id}/authorizations Authorize more funds on a payment · Create incremental authorization #
Ask an LLM
“How do I ask a customer for more money on an existing payment?”
“Can I increase the amount authorized on a payment?”
Tell an agent
Authorize {authorization} on payment {payment_id}.
Increase the authorization on payment {payment_id} to {authorization}.
POST /payments/{payment_id}/capture Capture a payment · Capture payment #
Ask an LLM
“How do I collect the money from a customer's payment?”
“Can I capture only part of a payment?”
Tell an agent
Capture {amount} from payment {payment_id}.
Finalize payment {payment_id} by collecting {amount}.
POST /payments/{payment_id}/void Void an authorized payment · Void payment #
Ask an LLM
“How do I cancel a payment before it is captured?”
“Can I void a payment that has already been captured?”
Tell an agent destructive · confirm first
Void payment {payment_id}.
Cancel the authorization on payment {payment_id}.
POST /payments/void-by-idempotency-key Void a payment by its idempotency key · Void payment by idempotency key #
Ask an LLM
“Can I void a payment using the idempotency key I used to create it?”
“What happens if I try to void a payment that was already voided?”
Tell an agent destructive · confirm first
Void the payment created with idempotency key {idempotency_key}.
Cancel the authorization for the payment with key {idempotency_key}.
GET /v2/payments List payments with order details · List Payments #
Ask an LLM
“How do I list payments along with their order details?”
“Can I filter payments by date or status?”
Tell an agent
List payments with order details for {merchantReferences}.
Show payments with status {statuses} created between {fromCreatedDate} and {toCreatedDate}.
POST /v2/payments/auth Request an authorization for a payment · Auth #
Ask an LLM
“How do I check whether a customer can pay for an order?”
“How long does an authorization stay valid?”
Tell an agent
Request an authorization for order {token}.
Check if customer {token} can pay for {amount}.
POST /v2/payments/capture Capture the full amount of a payment · Capture Full Payment #
Ask an LLM
“How do I capture the full amount of a payment plan?”
“Can I capture a payment after the customer has paid?”
Tell an agent
Capture the full amount of payment {token}.
Complete the payment {token} for {amount}.
GET /v2/payments/{orderId} Look up a payment by Afterpay order ID · Get Payment By Order ID #
Ask an LLM
“What was paid for an Afterpay order, and what does the order contain?”
“Can I pull up a completed payment using only its Afterpay order ID?”
Tell an agent
Retrieve the payment and order details for Afterpay order ID {orderId}.
Look up the completed payment tied to order ID {orderId}.
PUT /v2/payments/{orderId} Set a merchant order ID on a payment · Update Payment by Order ID #
Ask an LLM
“How do I link my own order ID to an Afterpay order?”
“Can I change the merchant reference on a payment after it's created?”
Tell an agent
Set merchant reference {merchantReference} on payment {orderId}.
Link my order {merchantReference} to Afterpay order {orderId}.
POST /v2/payments/{orderId}/capture Capture a payment by Afterpay order ID · Capture Payment #
Ask an LLM
“How do I capture a payment using its Afterpay order ID?”
“Can I capture only part of an order's amount?”
Tell an agent
Capture payment {orderId}.
Capture {amount} of Afterpay order {orderId}.
PUT /v2/payments/{orderId}/courier Update a payment's shipping courier · Update Shipping Courier #
Ask an LLM
“How do I record the courier a customer's order shipped with?”
“Can I update shipping details on a payment after it's created?”
Tell an agent
Set shipping courier {name} tracking {tracking} on payment {orderId}.
Mark payment {orderId} as shipped by {name} with tracking {tracking}.
POST /v2/payments/{orderId}/refund Refund a payment · Create Refund #
Ask an LLM
“How do I refund a customer's payment?”
“Can I give a partial refund instead of refunding the whole charge?”
Tell an agent
Refund {amount} of payment {orderId}.
Issue a refund for payment {orderId} with reference {merchantReference}.
POST /v2/payments/{orderId}/void Void an Afterpay payment and refund · Void #
Ask an LLM
“How do I cancel and refund an Afterpay order?”
“Can I void a partial amount of an order?”
Tell an agent destructive · confirm first
Void order {orderId}.
Void {amount} of order {orderId} and refund the customer.
GET /v2/payments/token:{token} Look up a payment by checkout token · Get Payment By Token #
Ask an LLM
“Can I find a completed payment from the checkout token that was used to pay?”
“What payment and order details come back when I search with an order token?”
Tell an agent
Retrieve the payment and order details for checkout token {token}.
Look up the completed payment made with order token {token}.
POST /v2/payments/token:{token}/reversal Reverse a checkout that started a payment · Reverse Payment By Token #
Ask an LLM
“How do I cancel a checkout before it is captured?”
“Can I reverse a checkout that was created within ten minutes?”
Tell an agent destructive · confirm first
Reverse checkout {token}.
Cancel the payment started by checkout {token}.

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cash-app:cash-app-payments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cash-app-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cash App Payments API
  version: 1.0.0
  description: 'Operations tagged payments across 2 of this provider''s published API definitions: cash-app-network-api-openapi.json, cash-app-payments-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.cash.app/network/v1
  description: Production
- url: https://sandbox.api.cash.app/network/v1
  description: Sandbox
- url: https://global-api-sandbox.afterpay.com
  description: Sandbox
- url: https://global-api.afterpay.com
  description: Production
tags:


# --- truncated at 32 KB (88 KB total) ---
# Full source: https://artifacts.apis.io/cash-app/openapi/cash-app-payments-api-openapi.yml