GATE IO MISSING ACCOUNTS
DOES GATE.IO NEED KYCIS GATEIO IN US
Audience
This API development guide is targeted for Architect, Developers, QA, DevOps who are responsible for the merchant’s payment enablement and system integration.
Development Guide
First find the payment scenario you want to support for your business.
Test Parameters
For testing, you can use the test merchant account, including:
-
Test Merchant ID
-
Test Store Number (only if you are using the offline in-person payment scenario)
-
Test AppID
-
Test MD5 Sign key
To find the test parameters, click here.
Merchant Parameters
Before you go live, you can replace the test parameters with your real merchant parameters.
These parameters (Merchant ID, AppID, MD5 Sign Key) can be found on your merchant dashboard by following these steps:
-
Login to the merchant portal, using the email address you provided to SnapPay.
-
Click ‘Payment Service’ on the left menu.
-
Click ‘Service List’
-
Find ‘Open API Integration’ . In the ‘Security Management’ section, click ‘Click to show’
-
Enter your login password
-
You will see the App ID and the MD5 Sign key.
To find your Merchant ID,
-
Login to your merchant portal, click ‘Accounts’ from the left menu.
-
Click ‘Merchant Information’.
-
You will find the Merchant ID in this page.
If you have trouble getting the Merchant ID/AppID/Sign Key, please contact SnapPay Customer Service.
Don’t forget to switch to our production access node before going live.
Technical Support
For technical issues, please contact customerservice@snappay.ca
For merchant account set up related question, please contact SnapPay customer service: 1(888) 660-7729
Version Update
-
December, 2018.
Uploaded the API documents. -
March, 2019.
Updated the Website payment scenario, WeChat H5 Payment scenario. -
June, 2019.
Added the WeChat and Alipay In-app Purchase support. -
November, 2019.
Reformated API document in API Blueprint.
Added WeChat Mini program payment scenarios.
GATEIO TRHOW TO BECOME GATE IO QUALIFIED USER FOR STRATUP
GATE IO ИНСТРУКЦИЯGATE IO WITHDRAWAL HOLD
Barcode Payment is also referred as Scanning Payment. It is an offline QR payment scenario.
The merchant will use the POS terminal or the Scanner to scan the customer’s QR code displayed on WeChat/Alipay App to conduct payment. The user only needs to display the QR code. The rest of the operations is done by the merchant.
Scenario Introduction
The following steps uses WeChat as an example to explain the Barcode payment scenario. Alipay flow is very similar to the WeChat payment flow.
Step 1: After logging into WeChat, the payer enters “Me”->“Wallet”->“Money” as shown in image 1 and image 2.
Step 2: Cashier creates a transaction order and the payer confirms the payment amount on the Mobile App.
Step 3: Cashier scans the customer’s QR code using the POS terminal or the Scanner. Merchant’s POS system will submit the transaction order to the OpenAPI gateway.
Step 4: After the payment request is received by WeChat’s transaction system, the transaction system determines if the payer’s password must be verified. If the payment password is not required, the payment is made directly. Otherwise, the payer is prompted to enter the password. If the payment is successful, the payer will see a ‘successful payment’ message in WeChat as shown in image 3. If the payment fails, a payment error page will be displayed instead.
Payment Workflow
Detailed payment workflow
-
Cashier scans the payer’s QR code (Barcode) displayed on WeChat or Alipay App.
-
The scanner uploads the Barcode information to the Merchant Cashier Application.
-
The Cashier Application creates the order.
-
The Cashier Application submits the payment request to the Merchant Backend.
-
The Merchant Backend calls the Barcode (Scanning) API to submit the payment request to SnapPay’s Open Service Gateway.
-
SnapPay’s Open Service Gateway verifies the payment request and submits the request to WeChat/Alipay server.
-
WeChat/Alipay server handles the payment and prompts the user to enter the password if needed.
-
WeChat/Alipay server returns the payment result to SnapPay’s Open Service Gateway. (If password is required, it returns the transaction status as “In-process”.)
-
SnapPay’s Open Service Gateway returns the payment result to Merchant Server. (If password is required, it returns the transaction status as “In-process”.)
-
Merchant Server returns the result to the Merchant Cashier Application to show the result to the cashier.
-
WeChat/Alipay notifies the payer’s app regarding to the payment result asynchronously.
-
For Status Unknown transactions, the Open Service Gateway will Query the transaction status.
-
For Status Unknown transactions, Merchant Server will Query the transaction Status from SnapPay gateway. Please refer to the Query Order API for more details.
-
When payment is successful, the Open Service Gateway will notify the Merchant Server Asynchronously. Please refer to the Asynchronous Notification for more details.
Merchant side recommended implementation process
If code = 0, trans_status = USERPAYING
Cashier’s POS system should wait for 5 seconds and then iteratively calls the Query Order API to check the transaction status. The cashier’s POS system can query for 1 min - 2 min. If the user is still trying to enter the password after the query process expires, the cashier’s POS system can display two options: Continue waiting and Cancel.
If code = 0, trans_status = CLOSE
Treat this transaction as failed.
Cashier can choose to initiate a new transaction.
If code = 0, trans_status = SUCCESS
Treat this transaction as succeeded.
Cashier’s POS system displays the success message.
If code != 0
Treat this transaction as failed.
Cashier can choose to initiate a new transaction.
If code != 0 due to system error, there is no need to do the automatic queries.
If no response is received from SnapPay due to timeout between Tender System and SnapPay
Cashier’s system should call Query Order API or give the option to the cashier to manually trigger the Query.
Additional Notes regarding to the system error
when system error happens, 99.99% of the chance the transaction failed. There is 0.01% chance that the transaction went through on the user’s phone, but money will return to the user’s account shortly after automatically.
GATEIO KEY LOSTGATE IO SWAP NEBULAS
Transaction QR Code Payment refers to the Scenario when the user opens the Alipay/WeChat app to scan the QR code displayed on the Merchant’s portal. This scenario can be used for in-store payment or Online E-commerce payment.
Scenario Introduction
The following instructions use Alipay payment as an example. WeChat payment scenario is very similar.
Payer scans the QR code displayed on the Merchant’s portal or POS terminal to conduct payment.
Step 1: Merchant will display the QR code on the POS terminal, a customer facing screen, or the website for the user to scan.
Step 2: Payer uses the “Scan” function from the Alipay App, scans the QR code, and views the transaction amount.
Step 3: Payer confirms payment by entering the password or through face recognition (if needed).
Step 4: Payment success message will be displayed on the App.
Payment workflow
Detailed payment workflow
-
Cashier creates an order.
-
Merchant Cashier Application submits the payment request to Merchant Server.
-
Merchant Server calls the Transaction QR Code Pay API to submit the pre-Pay request to SnapPay’s Open Service Gateway.
-
SnapPay’s Open Service Gateway verifies the pre-Pay request and submits the request to WeChat/Alipay server.
-
WeChat/Alipay server returns the QR code information to Open Service Gateway.
-
Open Service Gateway returns the QR code information back to the Merchant server.
-
Merchant Server returns the QR code to the Cashier Application.
-
Cashier Application displays the QR code to the Payer.
-
Payer scans the QR code using the “Scan” function from his WeChat/Alipay App.
-
WeChat/Alipay server handles the payment request, prompts the user to enter the password if needed.
-
WeChat/Alipay notifies the Payer about the payment result asynchronously on his App.
-
For Status Unknown transactions, Open Service Gateway queries the transaction result.
-
For Status Unknown transactions, Merchant Server queries the transaction result. Please refer to the Query Order API.
-
If payment is successful, Open Service Gateway will notify the Merchant Server Asynchronously. Please refer to the Asynchronous Notification for more details.
BTT ON GATEIOGATE IO KOREA BRANCH
WeChat In-app Web-based Payment, also called Offical Account Payment. The buyer opens the merchant’s HTML5 pages on their WeChat app in the mobile device and calls the WeChat payment module via the JSAPI interface to pay their transaction. This mode applies in the following scenarios:
-
The buyer enters the Vendor’s official account and completes payment on the transaction page.
-
The buyer’s friend shares the payment URL in a chat or in Moments and the buyers clicks the link to complete their payment.
-
The buyer scans the payment QR code displayed within the merchant’s page and opens it in a browser to complete their payment.
This API also support AliPay payment, and the payment process is similar to WeChat.
Scenario Introduction
Step 1: Merchant sends the link of his website via WeChat chat window; The buyer clicks the link and opens the merchant website.
Step 2: The buyer enters the shopping pages, chooses the product and clicks to pay.
Step 3: Merchant’s web page calls SnapPay’s H5 payment address, SnapPay’s server will call WeChat’s payment module, the user will enter the payment password.
Step 4: Once password is verified, payment is done. Merchant’s server will receive the notification from SnapPay.
Interaction Details
The following are the interaction details. Please read carefully when designing the merchant page logics.
-
Buyer opens the merchant page to choose the products, initiate payment. The webpage will call SnapPay interface with JavaScript and send WeChat payment request. The user enters into the payment flow.
-
When the user finishes the payment and clicks ‘DONE’, it will return back to the merchant web page. Merchant can directs to a static payment success page to show the result.
-
Merchant server will receive the Asynchronous notification from SnapPay, notifying that the payment is successful.
Please note that step 2 and 3 can happen in any sequence. The frond end page change can signal the merchant web page’s redirect, however, merchant can only treat this payment to be successful after receiving the asynchronous notification from SnapPay.
Detailed Payment Flow
Detailed flows
-
The buyer visits the merchant’s H5 pages inside WeChat’s browser and creates an order.
-
The merchant website submits the order request to the merchant server.
-
Merchant server submits the Prepay request to SnapPay using H5 Payment API.
-
SnapPay server verifies the request, saves the order information, returns SnapPay’s H5 cashier webpage URL to the merchant server.
-
Merchant server returns SnapPay’s H5 cashier webpage URL to the merchant front end.
-
Merchant frontend will go to SnapPay H5 page.
-
SnapPay’s H5 page will submit the PrePay request to SnapPay server.
-
SnapPay server will submit the PrePay request to WeChat server.
-
WeChat server returns the payment information.
-
SnapPay server returns the payment information to SnapPay’s H5 page.
-
SnapPay’s H5 page will wake up WeChat’s payment module using JSSDK.
-
WeChat App sends the payment request to the WeChat server.
-
WeChat Server handles the request and asks to enter the password if needed.
-
WeChat returns the payment result asynchronously.
-
For unknown status, SnapPay server will query the payment result.
-
For unknown status, Merchant server needs to query the SnapPay server for the payment result. Refer to Query Order API
-
If payment is successful, SnapPay server will return the payment success via Asynchronous notification. Refer to Asynchronous Notification
IS A GATEIO ACCOUNT THE SAME AS WALLET.IOGATE IO HOW TO SHORT
This is for integrating Alipay/WeChat pay functions in merchant’s native mobile applications.
Merchant App will call the SDK provided by Alipay/WeChat, SDK will call the payment module from Alipay/WeChat pay. When the transaction is completed, it will be redirected to Merchants’ App, where the payment result is displayed.
The supported OSs include iOS, Android.
Scenario Introduction
The following uses Alipay as an example. It introduces the in-app payment scenarios. WeChat and Alipay are very similar.
Step 1: The user chooses the merchandize in the merchant app, confirms the order, enters the payment flow, choose Alipay, clicks Confirm, as in picture 1.
Step 2: Wakes up the Alipay payment module and shows the payment confirmation page, as in picture 2.
Step 3: The users enters the password as in picture 3.
Step 4: Alipay display the success message as in picture 4.
Step 5: Redirects to the merchant App. Merchant can customize the success page.
Interaction Details
The following is the interaction details for Alipay. Read carefully when designing the merchant page logic.
-
The user opens the merchant APP and selects products, initiates the payment. Merchant backend calls SnapPay open API, initiates the Alipay payment request. The user enters the payment flow.
-
When the user finishes the payment, merchant backend calls SnapPay’s Query API to check the result. If it succeeds, display the payment success page. If it fails, shows the payment failed page.
-
Merchant backend will receive the asynchronous notification from SnapPay open API indicating the payment is successful.
Note: 2 and 3 might happen in any sequence. Either 2 or 3 can be used to confirm a successful payment.
Payment Workflow
Alipay Payment flow chart
Detailed payment work flow
-
The user browses the products in the merchant app. Merchant App triggers the Create Order event.
-
Merchant backend calls Native APP Pay API to submit the Prepay request to SnapPay Open API gateway.
-
Open API Gateway returns the Order info to the merchant server synchronously.
-
Merchant server returns the Order Info to the merchant App.
-
Merchant App calls the Alipay App using the responses returned by SnapPay gateway.
-
Alipay SDK will send the payment request to Alipay server based on the Order info.
-
Alipay backend processes the payment request, asks the user to enter the password if needed.
-
Returns the payment result to the Alipay SDK.
-
Alipay SDK will return the result to the merchant App.
-
Merchant App queries the result from the merchant server.
-
Merchant server calls the Query API using gate io twitter
-
SnapPay Open API gateway sends the query request to Alipay.
-
Alipay returns the payment result synchronously.
-
SnapPay Open API gateway returns the payment result to the merchant server.
-
Merchant server returns to the merchant App. App displays the payment result to the user.
-
If the payment is successful, Alipay will return the payment result asynchronously to SnapPay payment gateway.
-
SnapPay gateway will return the result to the merchant server Asynchronously. Refer to Asynchronous Notification
WeChat Payment Flow Chart
Detailed payment workflow
-
The user browses the products in the merchant app. Merchant App triggers the Create Order event.
-
Merchant backend calls Native APP Pay API to submit the Prepay request to SnapPay Open API gateway.
-
Open API Gateway authenticates the request, sends the Prepay request to WeChat server.
-
WeChat servers returns the Prepay Order Info synchronously to the Open API Gateway.
-
Open API Gateway sends the Prepay Order Info to the merchant server synchronously.
-
Merchant server returns the order info to the merchant App.
-
Merchant App wakes up the WeChat app using the returned Order Info.
-
WeChat SDK will send the payment request to WeChat server.
-
WeChat server processes the request. It will ask the user to enter the password if necessary.
-
Interface returns the payment result to WeChat SDK.
-
WeChat SDK will send the payment result to merchant App.
-
Merchant App will send the Query Order request to the merchant server.
-
Merchant server sends the query order request to the SnapPay gateway. Refer to Query Order API.
-
Open API Gateway sends the query request to the WeChat server.
-
WeChat returns the payment result synchronously.
-
SnapPay Open API gateway returns the payment result to the merchant server.
-
Merchant server returns the result to the merchant App. App displays the payment result to the user.
-
If the payment is successful, WeChat will return the payment result asynchronously to SnapPay payment gateway.
-
SnapPay gateway will return the result to the merchant server Asynchronously. Refer to gate io api python
WeChat In-App Application procedure
In order for the merchant to enable the WeChat Pay function in their App, the following procedures need to happen before development.
-
Merchant needs to apply an account in WeChat Open Platform website: https://open.weixin.qq.com/
-
Once it passes the WeChat approval, register the Mobile APP service. Merchant will then receive the APPID.
For more details, please refer to: https://pay.weixin.qq.com/wiki/doc/api/app/app_sl.php?chapter=8_5 -
Once the merchant receives the APPID, send APPID and Company Name (recommend same as Company Name when merchant registered on SnapPay) to SnapPay Customer Service customerservice@snappay.ca. SnapPay will contact WeChat to combine the APP ID with merchant account.
-
Once SnapPay notifies you the setup is complete, Merchant can start development.
Where to get Company Name for Mobile APP on in WeChat Open Platform website.
Example
For example, SnapPay will send the following info to WeChat Support
SnapPay Institution Information:
Merchant ID:1234567890
Institution Name:Snappay
Official Account:wx1234567890abcdef
Merchant APP Information:
Mobile APPID: wx0987654321abcdef
Sub Merchant ID: 123456789
Company Name: Super Merchant Inc.
HOW TO BUY HERO ON GATE.IOGATE.IO CANADA BAN
Website payment is offered by AliPay and China UnionPay to pay for online merchants.
It gives your buyers a simplified and secure payment experience that keeps them local to your website throughout the payment process. Once integrated the Alipay or China Union Pay online payment service, you should present an Alipay or China UnionPay payment button on your website for the consumer to complete the payment and check out.
Once the customers click the check out button, the website will be redirected to Alipay or China UnionPay’s cashier page. The customers enter the account information to complete payment.
Scenario Introduction
We use Alipay as an example. China UnionPay offers a similar user flow.
Step 1: The buyer chooses the products, and puts them in the shopping cart. The buyer clicks the Alipay button. As in picture 1.
Step 2: The page will be redirected to Alipay’s third-party cashier page.
Step 3:
-
The buyer can use the Alipay App to scan the QR code, enter the username and password to complete payment. As in picture 2.
-
Or if the buyer doesn’t use the mobile device, he can click the ‘Login to Pay’ button, enter Alipay Account’s username and password to login. As in picture 3.
-
After login, the buyer will see exchange rate, account balance, payment account, and some other information. If the buyer enters the payment password, confirms the payment, the payment result will be returned afterwards.
Step 4: Payment success.
Select products and add to cart
Scan QR
Enter Alipay user name and password.
Detailed Payment Flow
Detailed flows
-
The buyer views the products and creates an order.
-
Merchant website (buyer browser) submits the Payment Order request to the Merchant server.
-
Merchant server submits the Prepay request to SnapPay’s server using the Website Payment API.
-
SnapPay server verifies the payment request, submits the PrePay request to Alipay/UnionPay server.
-
UnionPay / Alipay server returns the payment result to SnapPay’s server synchronously.
-
SnapPay server returns Alipay / UnionPay’s web URL to the merchant server.
-
Merchant server returns Alipay / UnionPay’s URL to the merchant website (buyer browser).
-
Merchant website (buyer browser) redirects to Alipay / UnionPay’s third party payment web page.
-
Alipay / UnionPay’s server handles the request. If payment successful, buyer browser redirects to the merchant’s success page.
-
If the transaction status is unknown, SnapPay server will query the payment result.
-
If the transaction status is unknown, merchant server will query the payment result. Refer to Query Order API.
-
If the payment is successful, SnapPay server will notify the merchant server asynchronously. Refer to Asynchronous Notification.
GATEIO SERIÖSIS GATE.IO A SCAM
At present, we can only use the method of mini program payment API to invoke WeChat payment.
Scenario Introduction
Step 1: The buyer chooses the products in merchant’s mini program, and puts them in the shopping cart. The buyer clicks the checkout button. As in picture 1.
Step 2: Mini program will invoke WeChat payment module. The user will enter the payment password.
Step 3: Once password is verified, payment is done. Merchant’s server will receive the notification from SnapPay.
chooses the products
invoke WeChat payment module
Detailed flows
-
The buyer views the products and creates an order in merchant’s mini program.
-
Merchant mini program submits the Payment Order request to the Merchant server.
-
Merchant server submits the Prepay request to SnapPay’s server using the Mini Program Payment API.
-
SnapPay server verifies the payment request, submits the PrePay request to WeChat server.
-
WeChat server returns the payment result to SnapPay’s server synchronously.
-
SnapPay server returns the payment result to the merchant server.
-
Merchant server returns the payment result to the merchant mini program.
-
Merchant mini program invoke WeChat payment.
-
WeChat server handles the request. If payment successful, the payment result will be returned to merchant mini program.
-
If the transaction status is unknown, SnapPay server will query the payment result.
-
If the transaction status is unknown, merchant server will query the payment result. Refer to Query Order API.
-
If the payment is successful, SnapPay server will notify the merchant server asynchronously. Refer to Asynchronous Notification.
WeChat Mini Program Application procedure
In order for the merchant to enable the WeChat Pay function in their mini program, the following procedures need to happen before development.
-
Merchant needs to apply an account in WeChat Official Accounts Platform website: https://mp.weixin.qq.com
-
Once it passes the WeChat approval, register the Mini Program service. Merchant will then receive the APPID.
For more details, please refer to: https://developers.weixin.qq.com/miniprogram/introduction -
Once the merchant receives the APPID, send APPID and Company Name (recommend same as Company Name when merchant registered on SnapPay) to SnapPay Customer Service gate io fund password. SnapPay will contact WeChat to combine the APP ID with merchant account.
-
Once SnapPay notifies you the setup is complete, Merchant can start development.
Where to get Company Name for Mini Program on in WeChat Open Platform website.
Example
For example, SnapPay will send the following info to WeChat Support
SnapPay Institution Information:
Merchant ID:1234567890
Institution Name:Snappay
Official Account:wx1234567890abcdef
Merchant Mini Program Information:
Mini Program APPID: wx0987654321abcdef
Sub Merchant ID: 123456789
Company Name: Super Merchant Inc.