Initiate Requests
Requests to the BasicEx Payment REST API follow RESTful conventions, returning JSON-formatted responses using standard HTTP statuses for various BasicEx Payment resources. The process of this exchange is further simplified by using BasicEx Payment SDKs.
Each request should include in the HTTP headers:
- Content-Type: application/json
When using BasicEx Payment interfaces that require authentication, API requests may need to be signed and include the following headers:
- X-Identity: Merchant API certificate issued by BasicEx Payment
- X-Signature: Calculated as described below, a header that is signed using encryption. This is mandatory and depends on the type of API token used.
To make an API request, send an HTTP request to the resource URI using the HTTP method.
For more information on specific resource URLs and parameters, please refer to the resource sections.
Sign Your Requests
API requests may need to be signed, and the HTTP headers must include:
- X-Identity: Merchant API certificate issued by BasicEx Payment
- X-Signature: A header that is signed using encryption, calculated as described below, and must be included with the request. The signature is based on the complete request URL, including any query parameters, concatenated with the request body.
For detailed instructions, refer to the guide: Signed Request