> 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:
  /capture-payment-schema-test:
    get:
      operationId: subpackageSchemas_get-capture-payment-schema-test
      summary: Get CapturePayment Schema Test
      description: CapturePayment schema.
      tags:
        - subpackage_schemas
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Schemas_get-capture-payment-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:
    MoneyCurrency:
      type: string
      enum:
        - AUD
        - NZD
        - USD
        - CAD
        - GBP
      title: MoneyCurrency
    Money:
      type: object
      properties:
        amount:
          type: string
          description: >-
            The amount as a string representation of a decimal number, rounded
            to 2 decimal places.
        currency:
          $ref: '#/components/schemas/MoneyCurrency'
      required:
        - amount
        - currency
      description: Object containing amount and currency
      title: Money
    CapturePayment:
      type: object
      properties:
        requestId:
          type: string
          format: uuid
          description: A unique request ID, required for idempotent retries.
        merchantReference:
          type: string
          description: >-
            The reference/order ID that this payment corresponds to in the
            merchant's system.


            Note: Providing a new value updates any value previously set in the
            Create Checkout request.
        amount:
          $ref: '#/components/schemas/Money'
        paymentEventMerchantReference:
          type: string
          maxLength: 128
          description: >
            A unique reference for the individual payment capture event. If
            provided, the value appears in the daily settlement file as "Payment
            Event ID"
      title: CapturePayment
    Schemas_get-capture-payment-schema-test_Response_200:
      type: object
      properties:
        capture_payment:
          $ref: '#/components/schemas/CapturePayment'
      required:
        - capture_payment
      title: Schemas_get-capture-payment-schema-test_Response_200

```

**`Example`**

```json Example
{
  "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
  "merchantReference": "merchant-order-123",
  "amount": {
    "amount": "100.00",
    "currency": "AUD"
  },
  "paymentEventMerchantReference": "payment-ref-123"
}
```