ECR API
Authentication Parameter Needed in API Header.
Key | Remark | Example |
---|---|---|
x-p-business-id | To get it from Merchant Busienss Information | afb3706-ad66-416b-9356-0c733ff40001 |
x-device-sn | Device sn | PAX-A930-1171851001 |
x-app-slug | 1wU7Au | |
x-app-key | ca82cb30-44af-4c1d-a211-98c0403d1f9f | |
authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBfa2V5IjoiY2E4MmNiMzAtNDRhZi00YzFkLWEyMTEtOThjMDQwM2QxZjlmIiwiYXBwX2lkIjoiZTgxNjUyZDktMzQyMC00ZWYzLTg2YmYtZjdlYWZlYWUzNjI5IiwiaWF0IjoxNzAyNjIzOTIwLCJleHAiOjIwMTc5ODM5MjB9.L_W7VxT2KgKiGREmwOS6wnAsRxaYXQcGZfwegvP3001 |
Key Api are as below
a. Get the ECR Status and Secret Key
- GET
https://gateway.wonder.app/api/registry/terminal/open/secrets
b.Enable ECR
- PATCH
https://gateway.wonder.app/api/registry/terminal/open/secrets
--data-raw'{ "enable_ecr":true }'
c.Reset ECR Secret Key
- GET
https://gateway.wonder.app/api/registry/terminal/open/secrets