B2B API
What is a B2B API?
A B2B API is an interface that allows one application programmer to create an interface for another programmer to communicate with it. APIs exposed to partners and customers lower the barrier to integrate business processes and exchange data between business entities
APIs eliminate the overhead inherent in point-to-point integration, making them the primary tools for scaling B2B integration. A B2B integration platform helps companies integrate all their complex B2B and electronic data interchange (EDI) processes across their partner communities in a single gateway.
Learn more:
How Does the B2B API Work?
The B2B API provides clients the RetailTransactionApiV1 class which provides REST APIs for managing retail transactions.
Once connected to the endpoint, clients will be able to send an HTTP request to the endpoint to:
- Search for transactions
- Retrieve a specific transaction by means of the UUID
- Process Card-Not-Present (CNP) refunds
Each of the above mentioned API calls require a signed Header and set of parameters to ensure the function is performed correctly.
Integration examples can be found in the API Reference section of by clicking the link below:
<https://ecentric.readme.io/reference/headers-1>
Response Codes
The following table refers to the format and a list of possible response codes that can be returned:
CODE | DESCRIPTION |
---|---|
200 | Request was processed successfully. |
400 | Request failed due to missing data in the request. The error message will have the details. |
401 | x-tu-authorization header parameter is missing, OR the signature in the header could not be calculated. |
403 | x-tu-authorization indicates the resource requested is not available for this user. |
500 | Request failed dud to an error on the server. |
Date and Time format
All datetime input and response fields are expected to be in yyyy-MM-dd'T'HH:mm:ss.SSSZ format.
In all responses the datetime value will be converted to UTC-0 timezone.
Updated about 23 hours ago