Which documentation do you need?

One contract, two profiles. Pick yours before copying a host or asking a model to generate a client.

CorpX publishes one OpenAPI contract and two reading paths. Hosts and headers are not interchangeable: your credential tells you which one is yours.

What is the same in both

  • Money in BRL, number with two decimals (150.50). Never cents, never a string.
  • Your identifier on every write, unique per account; it comes back in the statement, the lookup and the webhooks.
  • Errors with a stable errorCode plus docs and requestId in the response. Open enum: an unknown code is a generic error of the same status.
  • Webhooks with a fixed envelope and a deterministic id to deduplicate on.
  • One reference generated from the same openapi.yaml, cut per product.

For agents and LLMs

Read For agents (BaaS) or For agents (IB) depending on where the credential came from. Index: /llms.txt. Contracts: /openapi/baas.yaml and /openapi/ib.yaml, served by the site itself from the published reference. Do not assume a single base URL.

Documentação em português em docs.api.corpx.com.