How to Generate OpenAPI Authentication for Wonder Payment Integration

Wonder API uses AppID and RSA Public Key to authenticate requests. You can generate AppID Pair on Wonder Dashboard.

Please make sure that you are an Organization Admin or Director of the company to be able to generate our OpenAPI authentication.

You can find out more about your roles and permissions here.

Generate RSA key pair

OpenSSL is the most popular open source project for cryptography. Follow the Openssl command below to generate an RSA key pair.

# generate a private key with 2048 bit key size
openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048

# generate the public key, your should copy-paste the full content

openssl rsa -pubout -in private_key.pem -out public_key.pem

Please keep your generated credentials well securely documented. If any of them is lost, you have to regenerate the RSA key pair and AppID, and you might need to rebuild previously published integrations.
Please be careful with your private key, no one will have any reason to get your private key.

Generate API AppID from Wonder Dashboard

1- Go to your Store in Wonder Dashboard (hq.wonder.app) and select "Api Credentials" under "Settings"

2- Click on "Generate New API Credentials", and paste your FULL PUBLIC key (Starting with BEGIN PUBLIC KEY and ending with END PUBLIC KEY).

3- Click "Upload", the AppID and Webhook Public Key would be generated. Please keep your Webhook Public Key (Starting with BEGIN PUBLIC KEY and ending with END PUBLIC KEY) well securely documented as you will not be able to reveal it anymore at all on any Wonder platform. Your Webhook Public Key can be used to verify the RSA private key signed to any integrated webhook sent to you.

4- From your Dashboard view, you can export again your AppID, check their activation status and the generated time, and deactivate any of your working API credentials.

You can read more about the integration and authentication process with Wonder Payment API more over on our developer center.

If you have come across any error of during the signature and webhook verification, you are recommended to make use of our Wonder Gateway Online Signature Debug Tool

Coming soon

Popular Topics

Get the help you need through multiple ways

General Questions?

Bindo Knowledge Base offers a comprehensive guide to POS System and more through step-by-step articles and video tutorials. Be sure to check out FAQs or search here

Don't find what you're looking for?

We provide email support Monday through Friday. We do our best to respond to each request with a personalized reply within 24-48 business hours.

//*Zoom image//