In order to create a transaction on Zapster, you need to POST some JSON data to our transactions API endpoint.
You should replace the account field with your Account Id. If you've not already got an account you can create a Zapster account here
POST the JSON data to https://zapster.io/api/transactions and this will create a transaction that returns a response containing a Transaction Id
At this point you can now show the payment instructions to your users, by embedding an
<iframe/> on your website using your transaction id
The embedded payment instructions page will check the XRP Ledger periodically to check if a payment has been received with the correct details. Once payment has been confirmed, the user is redirected to your website using the
Callback Url you supplied when creating your account.
Once a payment has been confirmed, or has expired, the user is redirected back to your callback url so you can complete the checkout process on your website. When the callback is made a couple of querystring parameters are appended to the url.
The first parameter is the transaction id that has been used throughout the process and the second parameter is an encrypted JSON object containing the transaction details.
Data is encrypted with the AES Algorithm using your secret password, and the transaction id as the initial vector. Once the data has been encrypted it is Base64 encoded and Url encoded to ensure it is safe to parse by the browser and use in links. Once the callback url has been initiated on your site you'll be able to decrypt the JSON object and verify that details of the transaction are as expected. You can view a decrypted transaction example here
If you need help with integration then please feel free to Contact Us
Zapster XRP Payment Gateway is a FREE and convenient way to accept XRP payments from your website directly to your Ripple Wallet. We provide Instant Payment Notification services for XRP Payments with no fees or transaction costs.
Zapster is operated by Evolve Software Ltd © 2018. Registered No 08217065