Wonder Gateway Online Signature Debug Tool
This tool does not send your private key anywhere, all functions are done locally in your browser.
Mode:
API Signature
Verify Webhook
Appid:
Nonce:
URI:
Request Time:
Received Signature:
Received signature from header
lM42cgyuLS98Dieydc8K2OD3KwYkOXibpV9pFvr/R0i/830M/FPKUKbav2UBBN3M3EdPk/PpvKQlvBNT+NbEg20CKuiDTZWDc3r7KiA1pdZsui/57XCVhC2s01W8jEM+G5lS362+p8+E0K6UKQDrJMyVpbDT31XSkSJIxae+uDi2nJr4DnIkemeU2LlNDRPPGe9NeX7z3B3N3LwIiQgKMyauPqAjro0UrZykQM9pv4UySRSU2cT8EcjQmyKxbzyuR2A47PyeodJvotlIthdfCHIxG52D06tpRJlRVbUdvxSg14bFiPbr3FwCvruZlbR15gOanJCqE4wp4fC8qEXXsg==
HTTP METHOD:
GET
POST
PUT
DELETE
BODY:
full request body
{"source":"Wonder Paystation Link","type":"Invoice","number":"202405151752014702131723","due_date":null,"paid_total":"0","unpaid_total":"0.1","reference_number":"1000005","initial_total":0.1,"initial_tips":0,"subtotal":0.1,"state":"invoiced","correspondence_state":"unpaid","currency":"HKD","note":"test and use wechat pay","auth_code":"jAHPhwKLKHBNXnR","return_url":"http://wwww.baidu.com","notify_url":"http://47.99.157.36:50355/webhook","line_items":[{"label":"测试商品1","purchasable_type":"Charge","purchase_id":null,"price":0.1,"quantity":1,"total":0.1,"uuid":"cd8fa487-19c7-4203-9931-f7382a5c0fdf","created_at":"2024-05-15T09:52:01.200745014Z","updated_at":"2024-05-15T09:52:01.200745014Z"}],"transactions":[],"created_at":"2024-05-15T09:52:01.197056873Z","updated_at":"2024-05-15T09:52:01.197056873Z"}
SIGNATURE PRIVATE KEY:
for test call API
-----BEGIN RSA PRIVATE KEY----- MIIEogIBAAKCAQB83rodVaPamd/XXVwHuXDv4NHIfO/OPwx+ZO8qMdikeDKf/325 B1FSQIRaqbOWq4wqW3OIMMHpCdhtFpovmxleeeTQTmh/c12wUDz0PvwSHllkJ5TT TTmHoQ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I7hnpNipVpLUGiLvsQKBgFw726cmyAFGoR0DWlDbJ7PMo/7CWeUsRzdBO/pp l066VaifGFXZpJ7deQPCQj3dFIJrmSV/r8vDr3kO4dtSeBUg6QmkRuoAn6vLM17F NgTMXHW/CFaL2AY7baFwBRPeVNtUqLZ7mE9bsshlpfgjgXluza1RAIH8D30ypDBh HuohAoGAZm8hvgF9gSPKtp7LRu33QI5rh1vW9cqjewIv/vvApNBgN2L2p/CeHRPV ax9v7vRtYXejojbKoz/CTVE9iR70/9Ze+rURmDvzy7Zohwxp3B6j/sxvYGOGG39U XAw9gbqhrp4IRXUkyZ+/GDCg8bts3T/ZtLBccKcE+dN/sGwewsM= -----END RSA PRIVATE KEY-----
WEBHOOK PUBLIC KEY:
for test receive webhook
-----BEGIN PUBLIC KEY----- MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQB83rodVaPamd/XXVwHuXDv 4NHIfO/OPwx+ZO8qMdikeDKf/325B1FSQIRaqbOWq4wqW3OIMMHpCdhtFpovmxle eeTQTmh/c12wUDz0PvwSHllkJ5TTTTmHoQL6DT6c/5uNqvz08N9+VAmLQamjmkaB rToRN54mrNoL5ejgKx3fz+DRkyPojTtPW2asSSj0P8cbhIBPv79DB1UNP9bOzsVX WNB250OznEBO9psYRB39HwJjGE/8H7inzrV2wFEBv5Oh+dnMyoEWZWIjtvudWtPK 9/LJRLwGWuOtRPQzrF90qS4sZr2BcAkpxy21cGGjVsyA5zj1qH0WGoFbYV5ZFfEB AgMBAAE= -----END PUBLIC KEY-----
Generate!
Mode: API Signature means test generate signature before call API, Verify Webhook means test receive webhook
Appid: which one you want to test
Nonce: randomly nonce
URI: which API you want to test
Request Time: No more than 30 minutes with the server and in UTC format
Body: UTF-8 encoded request body
Private Key: the RSA Pair private key
Webhook Public Key: download from wonder dashboard once appid created.