Sample - Stripe API
GET/v1/accounts/{account}/capabilities/{capability}

Retrieve an account capability

Retrieves information about a specific capability associated with an account. Provide the account and capability identifiers to inspect its request state, status, requirements, and future requirements. Use expand to include selected response fields inline.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
accountstringrequired
The account identifier associated with the capability. Maximum 5000 characters.
capabilitystringrequired
The identifier of the capability to retrieve.
expandarray<string>optional
Fields to expand in the response; each field name can be up to 5000 characters.

2 status codes
200Returns the capability object with its account, identifier, request state, status, request timestamp, and current and future requirements.
accountstringrequired
The account for which the capability enables functionality.
future_requirementsobjectoptional
idstringrequired
The identifier for the capability.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:capability
requestedbooleanrequired
Whether the capability has been requested.
requested_atintegeroptional
Time at which the capability was requested. Measured in seconds since the Unix epoch.
requirementsobjectoptional
statusstringrequired
The status of the capability.
Allowed:activeinactivependingunrequested
defaultError response.
errorobjectrequired

Error handling

account must be no longer than 5000 characters, and capability must identify the capability to retrieve for that account. Each expand value must name a response field to expand and must not exceed 5000 characters.