Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Afterpay Disputes API

Afterpay Global API for listing disputes and submitting evidence to contest Afterpay buy-now-pay-later chargebacks.

Afterpay Disputes API is one of 12 APIs that Cash App publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Disputes and Afterpay. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 6 operations across 5 paths, and defines 9 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against 2 base URLs: https://global-api-sandbox.afterpay.com, https://global-api.afterpay.com.

6 operations 5 paths 9 schemas 4 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://global-api.afterpay.com
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

Afterpay Disputes API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (sec0).

Paths & Operations 6

Across 5 paths, the API surfaces 6 operations — 4 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Operations 6
GET
/v2/disputes
Retrieve Dispute
retrieve-dispute 10 params → 200
GET
/v2/disputes/{dispute_id}
Receive Dispute
receive-dispute 4 params → 200
POST
/v2/disputes/{dispute_id}
Respond to Dispute
respond-to-dispute 4 params body → 200
GET
/v2/disputes/{dispute_id}/accept
Accept Dispute
accept-dispute 5 params → 200
POST
/v2/disputes/files
Upload File
upload-file 3 params body → 200
GET
/v2/disputes/files/{id}
Retrieve file
retrieve-file 5 params → 200401404412413415422429

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are dispute (17 properties), evidence (11 properties), meta (4 properties), retrieve-dispute_Response_200 (4 properties). Each schema is shown below with its type and property counts.

DisputeReason
string
The reason for the dispute.
DisputeStatus
string
The current state of the dispute. Values depend on how the dispute state machine is modeled.
DisputeClosingReason
string
A reason indicating how the final decision on the dispute was reached. Recommended possible values listed in Closing Reasons.
meta
object
4 properties 2 required
dispute
object
Dispute object
17 properties 13 required
retrieve-dispute_Response_200
object
4 properties
evidence
object
11 properties
upload-file_Response_200
object
3 properties
retrieve-file_Response_200
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cash-app-disputes-openapi.json Raw ↑

Other APIs Cash App publishes across the network.

Cash App Pay Network API
Cash App Pay Customer Request API
Cash App Pay Management API
Afterpay Payments API
Afterpay Checkouts API
Afterpay Orders API
Afterpay Configuration API
Afterpay Grants API
Add Cash App Pay to Your Site (Grants) API
Afterpay Service Status API
Afterpay Billing Agreements API (Deprecated)