API Reference

Endpoints, request and response schemas, and postback payloads for the PayTomorrow API.

The PayTomorrow API is a JSON API over HTTPS. Every page in this section is generated from the OpenAPI 3.1 spec, so the reference always matches the spec.

Base URLs

EnvironmentBase URL
Staginghttps://api-staging.paytomorrow.com/api
Productionhttps://api.paytomorrow.com/api

Authentication

Get an access token from Get an access token, then send it on every request:

Authorization: Bearer <access_token>

See the authentication guide for caching and refresh.

Conventions

  • Request bodies are JSON with Content-Type: application/json, except the token endpoint, which is form-encoded.
  • Money is a number in US dollars, like 1149.97.
  • Field names are camelCase. Unknown fields are ignored, not rejected.
  • applicationToken in a path is the token returned when the application was created.
  • Errors return 417 with a JSON body. See Errors.

Endpoints

On this page