# API Versions

# V1 (Consumer API)

Production: https://payments-2.netdirector.co.uk/api/*
Staging: https://payments-2.staging.netdirector.auto/api/*

The V1 API is consumer facing and is intended to fulfil the requirements of our Checkout user journey. While the public endpoints of this API may be useful to partner integrations to retrieve configuration data, many of the endpoints are tied to a users session and therefore the management capability of this API is limited.

# V2 (Partner Integrations)

Production: https://nop2.api.netdirector.auto/api/v2/*
Staging: https://nop2.api.staging.netdirector.auto/api/v2/*

The V2 API is intended for consumption by partner integrations. Most API routes are protected as this API provides privilieged actions, such as updating the details of a transaction or applying discounts.