Electronic Invoicing System API v1
Developers Guide
×
Menu
Index

4.1.2.1. Request

 
 
     
Sample Request:
curl -X 'POST' \
  'https://dev-eis-api.mra.mw/api/v1/onboarding/terminal-activated-confirmation' \
  -H 'accept: text/plain' \
  -H 'x-signature: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMjAxNjI5MzkiLCJodHRwczovL21yYS5tdy9EZXZpY2VJZCI6IjNhNmQzNzAzLTFjMzktNDFlOC05OGNlLWIzOGQ5NTc0NTQwZCIsImh0dHBzOi8vbXJhLm13L1NlY3JldEtleSI6ImY3NTQyODE2YTA4ODMzMTRhMTQ2YTZkMTI3NjM0OWQ5ZTczNmEwMCIsImh0dHBzOi8vbXJhLm13L0FQSUtleSI6ImY3NTQyODE2YTA4ODMzMTRhMTQ2YTZkMTI3NjM0OWQ5ZTczNmEwMCIsImh0dHBzOi8vbXJhLm13L1RJTiI6IjIwMTYyOTM5IiwiZXhwIjoxNzI4OTI2NzI2LCJpc3MiOiJNUkEiLCJhdWQiOiJFSVNUZXJtaW5hbHMifQ.pg-jKtsxKh6L0pEbu4RdJaj_bMijXmUGRmoH9k6Mh4g' \
  -H 'Content-Type: application/json' \
  -d '{
  "terminalId": "3a6d3703-1c39-41e8-98ce-b38d9574540d"
}'
 
 
 
The API call will only be successful if you provide the following parameters
.
Json Path
Natural Name
Data Type
Restrictions
Comments
$.terminalId
Terminal Id
String
- Mandatory
- Max Length 50
Taxpayers will receive this code as a response when activating their terminal.
x-signature
X Signature
string
-mandatory
This will be computed from a combination of secret key and Terminal Activation Code