> This page is for Afterpay.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.cash.app/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.cash.app/_mcp/server.

### Schema (`response.body`)

```yaml
openapi: 3.1.0
info:
  title: API
  version: 1.0.0
paths:
  /retrieve-grant-request-schema-test:
    get:
      operationId: subpackageSchemas_get-retrieve-grant-request-schema-test
      summary: Get RetrieveGrantRequest Schema Test
      description: Schema for the request to retrieve a grant.
      tags:
        - subpackage_schemas
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Schemas_get-retrieve-grant-request-schema-test_Response_200
tags:
  - name: subpackage_schemas
servers:
  - url: https://global-api-sandbox.afterpay.com
    description: Sandbox
  - url: https://global-api.afterpay.com
    description: Production
components:
  schemas:
    RetrieveGrantRequest:
      type: object
      properties:
        customerId:
          type: string
          minLength: 1
          maxLength: 128
          description: ID of the customer that approved the customer grant.
        grantId:
          type: string
          minLength: 1
          maxLength: 256
          description: ID of the customer grant to retrieve.
      required:
        - customerId
        - grantId
      title: RetrieveGrantRequest
    Schemas_get-retrieve-grant-request-schema-test_Response_200:
      type: object
      properties:
        retrieve_grant_request:
          $ref: '#/components/schemas/RetrieveGrantRequest'
      required:
        - retrieve_grant_request
      title: Schemas_get-retrieve-grant-request-schema-test_Response_200

```

**`Example`**

```json Example
{
  "customerId": "CST_AQmxh4y_QGoNNIG5NUw0jttqyYedL1LklACQdyJ3H-Vs6WmLtP6A_C7XjQNohvY",
  "grantId": "GRG_221243dc6985a6819ff6950c1a21332f7bc4a46ebd49b5a7002908ab768e8e5ff7831e084d0d2c9d8d939793b55eff50"
}
```