### Available Resources Source: https://docs.plugandpay.nl/docs/plug-pay/1usuxvwzgmtcn-plug-and-pay List of resources available through the Plug&Pay API. ```APIDOC ## Resources - Products - Product Prices - Orders - Checkouts - Subscriptions - Tax rates - Rules - Promotions - Customers - Helpers - Checkouts States - Schemas ``` -------------------------------- ### API Base URL Source: https://docs.plugandpay.nl/docs/plug-pay/1usuxvwzgmtcn-plug-and-pay The base URL for live server interactions with the Plug&Pay API. ```APIDOC ## API Base URL Live Server: `https://api.plugandpay.com/v2` ``` -------------------------------- ### Required Headers Source: https://docs.plugandpay.nl/docs/plug-pay/1usuxvwzgmtcn-plug-and-pay Headers required for making requests to the Plug&Pay API. ```APIDOC ## Headers | Header | Value | |---|---| | Accept | `application/json` (required) | | Accept-Language | `en` or `nl` (default `en`) | | Authorization | `Bearer the_access_token` | | User-Agent | `CustomApiCall/2` (required) | ``` -------------------------------- ### Error Handling Source: https://docs.plugandpay.nl/docs/plug-pay/1usuxvwzgmtcn-plug-and-pay Common HTTP status codes and their meanings when interacting with the API. ```APIDOC ## Errors | HTTP status | Description | |---|---| | **302** Found | You probably sent a wrong accept header. | | **401** Unauthorized | You do not have access to this endpoint. | | **404** Not Found | Resource or endpoint could not be found. Please check the URL. The path must have the prefix `/v2`. When multiple values required to be present in the url, then check if the ids of the resources belong together. | | **422** Unprocessable Entity | This is a validation error. The json response consists of a message and an errors array. The errors consist of a key that refers to the field where the error occurs, containing an array with multiple messages. You can translate these messages by useing the `Accept-Language` header. | | **5xx** Server error | An server error has occurred. We monitor these errors, but please contact customer service and provide a description of how we can reproduce the error. | ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.