For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HomeGuidesAPI Reference
HomeGuidesAPI Reference
  • Online API
    • API Environments
    • Direct Payment Flow
    • REST
    • HTTPS
    • Request Headers
    • Dates
    • Pagination
    • Authentication
    • Idempotent Requests
    • Timeouts
    • API Simulator
    • JavaScript afterpay.js
    • Errors
LogoLogo
Online API

Dates

All representations of dates are strings in ISO 8601 format.

You can provide date strings that are either UTC (for example, 2019-01-01T13:25:00Z) or offset from UTC to indicate time zone (for example, 2019-01-01T14:25:00+01:00 for BST - one hour ahead of UTC).

Note

Regardless of the format that valid dates are provided in, all dates are standardised and stored by Clearpay in UTC. This convention is reflected in the formatting of all API responses.

Was this page helpful?
Previous

Pagination

Next
Built with