Creates a session with the terminal must be used before to process a payment with a credit card.
This session will last 10 minutes and it is recomended to call Destroy Session terminal after the payment is processed
api-key | {api-key}
Key Provided to use this platform |
Content-Type | application/json |
{
"merchantId": "100000000101",
"hsn": "123456789012345",
"serviceType": 0
}
The data to be submitted to the API is composed of the following fields:
field | Note | Example | Required | |||||
---|---|---|---|---|---|---|---|---|
merchantId | Identifier of the company | 100000000101 | true | |||||
hsn | Identifier of the card terminal | 123456789012345 | true | |||||
serviceType | Unique identifier of the service to use | 0 | true | |||||