You can add your own SLP token to our processor to receive payments in your token.
Prompt.Cash will take care of exchange rate updates automatically for you.
For example &amount=10¤cy=EUR&slp_token=USDT
would request a payment of EUR 10
using Tether (on BitcoinCash) taking into account:
- the current EUR/USD exchange rate
- the current USD/USDT exchange rate
Your token needs to be approved manually. This process only takes a few
minutes and is mainly done to prevent scams (you can not submit a token
called USDT
or any other existing symbol).
Steps to integrate your own SLP token:
- Contact us to whitelist/approve your SLP token. Please submit:
- SLP token ID: you can find it on the SLP token explorer
- Project Website & contact address (Telegram or email)
- Token Icon: a square 128×128 sized PNG icon for your token
- USD exchange rate for your token (can be fixed or an API of an exchange)
- After approval, open the Accounts Page and enable the checkbox Enable SLP Tokens. You must connect a wallet that supports SLP tokens (such as Electron Cash SLP Edition), or else your received tokens may get lost when you move your funds.
- Enable your token on the SLP Tokens Page.
- Open the Integration Page at your Prompt.Cash account (you must be logged in). Copy the Payment Link.
- Add the parameter
&slp_token=SPICE
to the URL. Use your own token code (instead ofSPICE
) . Example:https://prompt.cash/pay?token=1-j8YacvJo&tx_id=merittest-2&amount=0.01¤cy=USD&slp_token=SPICE&desc=Token-Example
- Track your payment status via (identical to tracking
BCH
payments):- our REST API or
- the
&callback=
parameter which will notify your server once a payment has been received.
All parameters of the above payment link are identical to our REST API. Please refer there for further details.
The REST API also allows you to generate secure payment links per customer on your own backend (links that can't be spoofed).
To create your own SLP token on BitcoinCash you can:
- Open the Electron Cash SLP Edition wallet.
- Navigate to the Tokens tab.
- Click on Create New Token at the bottom.
- Fill out all the fields in the new window.
- Click on Create New Token.