For the complete documentation index, see llms.txt. This page is also available as Markdown.

JSON encoded requests

The 2Checkout REST API supports only JSON encoded requests and responses. You need to include the following headers in your requests:

  • Content-Type: application/json

  • Accept: application/json

Reponses follow HTTP specification regarding response headers. Successful responses are composed of:

  • A HTTP Success header.

  • A JSON encoded string.

Last updated

Was this helpful?