Skip to main content

ECR API

Authentication Parameter Needed in API Header.

KeyRemarkExample
x-p-business-idTo get it from Merchant Busienss Informationafb3706-ad66-416b-9356-0c733ff40001
x-device-snDevice snPAX-A930-1171851001
x-app-slug1wU7Au
x-app-keyca82cb30-44af-4c1d-a211-98c0403d1f9f
authorizationBearer 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