This type of payment is appropriate for making a precise sum payment for products.
The payer can choose the cryptocurrency and network on the payment page once you have specified the currency. A crypto-currency address will be produced when you choose the network and currency, and you can then give it to the client.
Once the customer has made a payment, you will be notified via a Sparkhook with information about the status, the payment amount, and hash, as well as other facts (further information - Link).
If the client didn’t pay, you will receive the cancel status.
If the client sends the exact amount, you will receive a paid status.
If the client sends a lower amount, you will receive the wrong amount status.
If the client sends a higher amount, you will receive the paid_over status.
To allow the client to pay the rest, pass the parameter is_payment_multiple = true
The customer will be informed there is an extra to pay on the payment page. When the invoice expires, you will get a webhook with the wrong_amount status if the client hasn't paid the remaining balance.
2. Static wallet:
Suitable for balance top-up
A static address in a certain currency and network can be made. The order_id will be associated with the address. No matter how much is given to this address, all transactions will be reimbursed.
Generate a QR-code
You may create a QR code for an invoice address or a static wallet address. The user will be given depositing a deposit after scanning it.
Block static wallet
All further payments will not be credited to your client's balance if you need to block his static wallet. This money can only be refunded once. The money will be sent back to the original addresses.
Testing Sparkhook
Use the payment API key to verify the signature from the webhook data array.
Use this approach to test Sparkhooks for payment to make sure you are getting them properly and can verify the signature.
Please be aware that no data is saved to the database, and any information obtained through the Sparkhook is just used to verify the accuracy of the signature and the ability to get this array from us.
Please supply the order ID or UUID of the existing invoice if you want to test a Sparkhook with it. A test invoice will be sent with the Sparkhook if these parameters are omitted.
A list of services
returns a list of the payment services that are offered. When generating an invoice, payment services maintain settings that are taken into consideration. An illustration. Networks, minimum and maximum limits, commissions, and currencies.