Afterpay Grants API
Afterpay Global API for retrieving and managing the grants that authorize Afterpay payment operations on a customer's behalf.
Afterpay Grants 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 Grants and Afterpay. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.
This API exposes 6 operations across 6 paths, and defines 20 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.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Afterpay Grants API declares
1 security scheme
for authenticating requests.
It accepts HTTP basic authentication (sec0).
Paths & Operations 6
Across 6 paths, the API surfaces 6 operations — 1 GET, 5 POST. Each is listed below with its method, path, parameters, and response codes.
Schemas 20
The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are Grant (10 properties), GrantApprovalRequestMerchant (4 properties), Consumer (4 properties), OnFileGrantStatusUpdated (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Cash App 11
Other APIs Cash App publishes across the network.