Local daemon setup
Authentication
In order to make requests to the local daemon, you need to receive a authorization token for a specific terminal, this authorisation token can be validated offline. In order to receive the authorisation token you need to make the request to the brouwer vos api. Using this access token you will be able to make requests to the payments endpoint on the terminal.
Request a access token from this access token endpoint.
Use this access token as the pairing_code in the pair request.
Note: that for POS terminals you can submit also the serial number of the device, and read the
terminal_idfield to read the terminal id.
If the pair request results in true, than the terminal will be made ready for operation. It is possible that the terminal restarts once or twice before its ready for operation.
Creating payments
We recommend using the cloud api as you have more control over the flow of funds. But if you just require to 'create payments' than you will have enough options with the endpoints listed below.
The required fields of the payment creation api are: amount, currency, description.
If you already have a internal payment ID, you can use this to initiate the payment, without supplying any other information.
Create a new payment associated with a specified company.
Unique identifier of the company.
Payment created successfully.
Invalid request data.
Company not found.
Last updated