Get Started
Please read this document before you start the integration.
Requirements
- Do you already created a business account from wonder app? Onboard your business in wonder app
- Do you already generated AppID? Go to Settings -> Open Api Credentials create AppID
- Do you already prepared a public internet access webhook endpoint? Go to Settings -> Open Api Credentials create webhook endpoint
Create your AppID
Please refer to Create AppID on wonder portal
Implement the signature algorithm
- Following Authentication
- Use Online Signature Tool
- Use Source Code - Examples
You can test whether your signature is correct without side effects via the echo API, which does not generate any side effects. The response also includes the message field from the request body.
curl -XPOST -H 'Content-Type: application/json' \
-H 'Credential: ${YourAppID}/${UTC_NOW}/Wonder-RSA-SHA256' \
-H 'Signature: ${BASE64_ENCODED_SIGNATURE_CONTENT}'
-H 'Nonce: ${Nonce}'
-H 'X-Request-ID: ${UUIDV4}'
https://${EnvorimentDomain}/svc/payment/api/v1/echo \
-d '{"message" : "Hello,Wonder!"}'
If a 401 or 403 error is returned, it may indicate that there is an issue with your implementation of the signature algorithm. Please double-check your signature algorithm implementation carefully and test it with the online signature algorithm debugging tool.
Connect to wonder sandbox
- Switch to sandbox mode on wonder portal create appid.
- connect all wonder apis endpoint as : https://gateway-stg.wonder.today
Connect to wonder production
- Please make sure you production business application already approved, and business status is Active.
- Switch to production mode on wonder portal create appid.
- connect all wonder apis endpoint as : https://gateway.wonder.today
In the production environment, the execution standards for the signature algorithm are consistent with those in the test environment, so you do not need to worry about additional differences in implementation details caused by switching environments.
Product Matrix
Get a quick overview of the functional differences between our various products to help you select the right one.