PTPWallet merchant API

Receive & send cryptocurrencies quickly, securely!  

PTPWallet merchant API

Receive & send cryptocurrencies quickly, securely!  

How it works

PTPWallet Payment Gateway provides an online cryptocurrency payment processing solution. It enables you to accept cryptocurrencies worldwide on your website or mobile app. Begin accepting crypto payments on your website, with the ability to accept major crypto coins, and start selling products online in minutes. Your website will receive full user payment information immediately after payment is made – you can even process it in automatic mode!

Development services

Step 1

Seller registers an account via PTPWallet mobile application or PTPWallet website.

Clicking

Step 2

They receive Public and Private API keys to authenticate requests and protect sellers from fraud.

Purchasing activity

Step 3

Seller places a button, such as ‘Buy with BTC’, and wraps the button with the HTML tag.

Development

Step 4

Once the button is clicked, the clients is redirected to the PTPWallet Payment Gateway page where they can make a payment using either the PTPWallet app (or web-version) or any other crypto wallet.

Development services

Step 1

Seller registers an account via PTPWallet mobile application or PTPWallet website.

Clicking

Step 2

They receive Public and Private API keys to authenticate requests and protect sellers from fraud.

Purchasing activity

Step 3

Seller places a button, such as ‘Buy with BTC’, and wraps the button with the HTML tag.

Development

Step 4

Once the button is clicked, the clients is redirected to the PTPWallet Payment Gateway page where they can make a payment using either the PTPWallet app (or web-version) or any other crypto wallet.

Pay with credit card

Step 5

Payment is processed. When payment is complete, PTPWallet Payment Gateway confirmation of the payment to the payer and makes an HTTP request to the Seller’s website with all payment details.

Pay with credit card

Step 5

Payment is processed. When payment is complete, PTPWallet Payment Gateway confirmation of the payment to the payer and makes an HTTP request to the Seller’s website with all payment details.

Over 20+ cryptocurrencies accepted

…and many more!

Crypto wallet

Install the PTPWallet app!

If you are planning on integrating our API into your business model, you will need to first create a PTPWallet account.

This can all be done via your smartphone (via the App Store or Google Play Store) or via the PTPWallet Web Version. Once you create a wallet account, you will then be able to fill in the necessary forms and receive the API Key.

Crypto wallet

Why PTPWallet Merchant API?

Use our button generator!

  • Please Choose Crypto Currency

API methods

Some frequently asked questions from our community

https://gateapi.ptpwallet.com/v1/shop/?currency={CURRENCY}&amount={AMOUNT}&public_key={PUBLIC_KEY}&redirect_uri={REDIRECT_URI}&callback_uri={CALLBACK_URI}&order={ORDER_ID}

{CURRENCY} – cryptocurrency or token code (BTC, ETH, PCT, etc)

{AMOUNT} – amount you want to charge from the user in USD

{PUBLIC_KEY} – your personal Public Key

{REDIRECT_URI} – URL where the user is redirected to after successful payment

{CALLBACK_URI} – URL address for the payment callback API method. Usually used to check Payment details on the Seller’s website side.

{ORDER_ID} – Arbitrary Number/unique Order ID which is passed to {CALLBACK_URI} to match payment confirmations with the order(s).

Payment callback is used to notify the Merchant about a completed payment.

When a payment is complete, the following POST request is made to {CALLBACK_URI} parameter defined in the previous section. This request also contains HMAC signature to protect Merchant from spoofing.

POST {CALLBACK_URI}

Body: {“_id”:”{_ID}”,”order”:”{ORDER_ID}”,”publicKey”:”{PUBLIC_KEY}”,”amount”:”{AMOUNT}”,”sign”:”{SIGN}”}

where,

{_ID} – Unique contract ID

{ORDER_ID} – Arbitrary Number/unique Order ID which is passed to {CALLBACK_URI} to match payment confirmations with order(s)

{AMOUNT} – Amount charged from payer in cryptocurrency

{PUBLIC_KEY} – Merchant ID

{SIGN} – HMAC signature

This signature is used to validate that the payment has been initiated by you and is not spoofed. Validation process is described below:

Exclude ‘sign’ parameter from Payment Callback request and sort them in alphabetically ascending order.
{“_id”:”{_ID}”,“amount”:”{AMOUNT}”,“order”:”{ORDER_ID}”,“publicKey”:”{PUBLIC_KEY}”}

Concatenate all parameters from Payment Callback request excluding ‘sign’ parameter.
_id=5ced1515ace138038daebec9&amount=0.0037109&order=555&publicKey=1gmnhp1jtu8memt

Create HMAC Signature using SHA512 algorithm, with Merchant API Secret as HMAC key:
HMAC_SHA512(“{MERCHANT_API_SECRET}”, “_id=5ced1515ace138038daebec9&amount=0.0037109&order=555&publicKey=1gmnhp1jtu8memt”)

Compare the generated signature with parameter ‘sign’ from the Payment Callback request – if they are equal, you can trust this request.

Icon examples

The PTPWallet is a secure platform that aims to connect users and businesses across all industries. Send coins and tokens instantly while engaging in a global loyalty program.

Get on the VIP list!

Get company and PTPWallet updates and news sent straight to your inbox. No spam. Unsubscribe at any time.