Point of Sales
Process Transaction
Process debit card transactions via Point of Sales terminals
POST
/
pos
Point of Sales Integration API
Process debit card transactions securely through your Point of Sales terminals.
Process Transaction
Endpoint:
POST /pos
Request Headers:
| Key | Value |
|---|---|
| Content-Type | application/json |
Request Body:
| Field | Type | Required | Description |
|---|---|---|---|
| serialNumber | string | Yes | The serial number of the POS terminal |
| data | string | Yes | Encrypted transaction data payload |
Sample Request
Data Payload Format
The data field contains an encrypted payload with the following structure:
Encryption Implementation
The payload must be encrypted before sending. Below are examples of encryption implementation in different languages:
The encryption key should be securely managed and not hardcoded in your application. Contact Bold support for your unique encryption key.
For security reasons, always validate the response after processing a transaction to ensure it was successful.
Body
application/json
serialNumber
string
requiredThe serial number of the POS terminal
data
string
requiredEncrypted transaction data payload
Response
200 - application/json
status
boolean
statusCode
integer
data
object