marcus-mccarthy-cko / checkout-api-reference

API Reference for Checkout APIs

Home Page:https://api-reference.checkout.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checkout.com API reference

Checkout.com APIs accept and return JSON in the HTTP body, and return standard HTTP response codes.

Our API reference is written using the OpenAPI specification. We have one spec for the current account structure and one for the new account structure. Merchants can download the specs using the download button on either version of the API reference.

The API reference is hosted on Vercel.

NAS

Append /preview/crusoe to all links (including preview ones) for the NAS API reference.


Contributing

Most teams write the spec before building out the functionality. The preferred way to contribute is using our GitHub workflow, which means you just have to edit the spec on your own GitHub organisation instead of editing directly on this one.

If you fork this repo to edit your spec, you will need to:

  1. Install the dependencies using npm i
  2. Run npm run start to view your changes on http://localhost:3001.

When you raise a PR, it will automatically tag the Docs Admin team, of which the Tech Writing team are members.

A PR review from this team is required before any changes can be merged into master. However, you'll still need approval from a relevant product manager before the changes are accepted.

If you need help, ask in the #ask-docs Slack channel.


abc_spec or nas_spec?

Use the appropriate directory (or directories) for your change to the ABC or NAS specification(s).


Running the project locally

To run this project locally, clone the repository and run these commands in sequence:

  1. npm i
  2. npm run build:all
    1. OR npm run build:abc
    2. OR npm run build:nas
  3. npm run start

The project should then be available at port 3001 (navigate to localhost:3001 in your browser).

For example:

localhost:3001 (ABC) localhost:3001/preview/crusoe (NAS)

About

API Reference for Checkout APIs

https://api-reference.checkout.com/

License:MIT License


Languages

Language:Java 24.1%Language:Python 21.5%Language:C# 19.9%Language:PHP 19.4%Language:JavaScript 8.7%Language:CSS 5.0%Language:HTML 1.3%Language:Shell 0.1%