Skip to main content

Get Started

Please read this document before you start the integration.

Requirements

Create your AppID

Please refer to Create AppID on wonder portal

Implement the signature algorithm

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!"}'
warning

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

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
info

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.

Payment Link

Similar to Invoice Link, this product allows you to dynamically create a payment page with a specific collection amount using the Open API, and can be integrated with your online system. It is a mainstream choice for many e-commerce and other business scenarios. >

Payment SDK

Payment SDK is the Native App version of Payment Link. By integrating the Payment SDK, customers can complete payments without leaving your application. >

Payment ECR

Payment ECR enables integration between your sales devices (such as POS terminals, vending machines, etc.) and the Wonder Payment Terminal via API for offline commercial payment collection. >

Open API

After an order is completed, the Open API allows you to perform payment management via API, including functions such as processing customer refunds. >