https://app.synthetic.ai/api/v1. Responses from the API are JSON. Amounts are integers in cents. Timestamps are ISO 8601 strings.
Terms used in this API
What you can read
Payments are the only resource today. Each payment carries its amount, how much of it has been applied to invoices, the customer it came from once one has been attributed, the date it was received, and its bank fee if one was charged. A bank fee is read through its payment and has no route of its own.
Your first request
- In Synthetic, open Settings → API keys and create a key. Copy the secret when it is shown, because it is shown only once.
-
Confirm the key works:
-
List payments:
GET /openapi.json, with its parameters and response fields. It is generated from the API’s own OpenAPI document at https://app.synthetic.ai/api/v1/openapi.json.