Checkout
The CoinQ Pay Checkout is a secure, fast, and easy way for your customers to pay. It is a hosted payment page that you can use to accept payments.
How it works
You create a payment request and sign it with your secret key.
You redirect your customer to the CoinQ Pay Checkout.
Your customer pays.
CoinQ Pay sends a webhook notification to your server with the payment data.
You verify the webhook notification from query pay order api and deliver the goods or services.
Checkout URL
The CoinQ Pay Checkout domain is https://checkout.coinqpay.org and sandbox domain is https://checkout.sandbox.coinqpay.com. You can use this domain to redirect your customers to the CoinQ Pay Checkout. The whole URL should include the payment request data and the signature. Include the following parameters in the URL:
str- the json string of the payment request data, base64 encoded.pk- your public key.tt- the timestamp of the request.ne- the nonce.se- the signature of the request.link- the redirect URL after payment completion. (Optional)
language
You can set the language of the checkout page by adding the lang in the URL path, like https://checkout.coinqpay.org/en. The value should be the language code. Language codes are supported as below:
en- Englishzh- Simplified Chinesezh-HK- Traditional Chineseja- Japaneseko- Koreanms- Malayvi- Vietnameseth- Thai
If you don't set the language, the default language is English. Or use customer's browser language.
Example
Here is an example of a full URL to the CoinQ Pay Checkout:
https://checkout.coinqpay.org/en?str=eyJjb2luIjogIkVUSCIsICJvcmRlcl9pZCI6ICJKRTAwMDAyMCIsICJhbW91bnQiOiAiMC4wNSJ9&pk=f773ebcd9b2ead7d1be98c45e3158aa7652c19dc6f5fa1c70ed78d4b4ef9e2f8&tt=1720339856586&ne=46c20d9319874e6f8a7b8d644d415c9d&se=0b715cb40316378079a02363da53d059eef28f99c1b2a2cd30a90b396f6475b2a4b4fd09ef8b1ac0e57bebf8a7febfeacc51a11aa22e47798d5303cb62f59806&link=https%3A%2F%2Fyourdomain.com%2Fthank_youLast updated