> This page is for Afterpay Partner API.

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

### Schema (`response.body`)

```yaml
openapi: 3.1.0
info:
  title: API
  version: 1.0.0
paths:
  /custom-rate-schema:
    get:
      operationId: subpackageRates_getCustomRateSchema
      summary: CustomRate Schema
      tags:
        - subpackage_rates
      responses:
        '200':
          description: CustomRate schema
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Rates_getCustomRateSchema_Response_200'
tags:
  - name: subpackage_rates
servers:
  - url: https://agencyapi.afterpay.com
    description: Production
  - url: https://agencyapi.sandbox.afterpay.com
    description: Sandbox
components:
  schemas:
    CustomRateStatus:
      type: string
      enum:
        - APPROVED
        - PENDING
        - REJECTED
      description: Custom rate status.
      title: CustomRateStatus
    CustomRateCustomRateType:
      type: string
      enum:
        - MERCHANT
        - BRAND
      description: >-
        Defines whether the custom rate applies to only one seller or applies to
        multiple sellers under the same platform or brand.
      title: CustomRateCustomRateType
    CustomRate:
      type: object
      properties:
        customRateId:
          type: string
          description: The unique ID for the custom rate that was actioned for a seller.
        status:
          $ref: '#/components/schemas/CustomRateStatus'
          description: Custom rate status.
        customRateType:
          $ref: '#/components/schemas/CustomRateCustomRateType'
          description: >-
            Defines whether the custom rate applies to only one seller or
            applies to multiple sellers under the same platform or brand.
        reference:
          type: string
          description: >-
            Seller or brand reference to which the custom rate is being applied;
            this defines the unique seller or the unique platform or brand and
            will be requested from the partner manually before the custom rate
            request is created.
        effectiveFrom:
          type: string
          description: Datetime this custom rate is effective from.
      title: CustomRate
    Rates_getCustomRateSchema_Response_200:
      type: object
      properties:
        custom_rate:
          $ref: '#/components/schemas/CustomRate'
      required:
        - custom_rate
      title: Rates_getCustomRateSchema_Response_200

```

**`Example`**

```json Example
{
  "customRateId": "785389121238",
  "status": "APPROVED",
  "customRateType": "MERCHANT",
  "reference": "ac_advkasdvasfbaadf:US",
  "effectiveFrom": "2023-08-17T21:41:47.341+00:00"
}
```