8Pay
Search…
One Time
The available parameters are:
    description (string) - payment's description
    receivers (array) - array of ethereum addresses
    amounts (array) - array of amounts to send to the respective receivers
    token (string) - token symbol
    category (string) - category of the payment
    tag (string) - label used for identification or classification (optional)
    callbackSuccess (string) - redirect url after success (optional)
    callbackError (string) - redirect url after failure (optional)
    webhook (string) - url for server-side notification (optional)
    extra (string) - json object containing extra parameters that will be sent to webhook (optional)
The following data will be appended to the callbackSuccess url as query parameters:
    user (string) - address of the user who completed the payment
    transactionHash (string) - hash of the transaction

Example button

1
<form action="https://checkout.8pay.network/" method="POST">
2
<input type="hidden" name="type" value="one_time">
3
<input type="hidden" name="description" value="Ebook">
4
<input type="hidden" name="token" value="8PAY">
5
<input type="hidden" name="receivers[0]" value="0xe42fD8a58A82fDF624A8a94dA03a0e44F9934Dff">
6
<input type="hidden" name="receivers[1]" value="0x5B848132d3a0111d4daB7060b6051961013C71c7">
7
<input type="hidden" name="amounts[0]" value="5">
8
<input type="hidden" name="amounts[1]" value="2">
9
<input type="hidden" name="category" value="Shop">
10
<input type="hidden" name="tag" value="ebook_859294">
11
<input type="hidden" name="extra[banner]" value="BR69">
12
<input type="hidden" name="extra[traffic]" value="facebook">
13
<input type="hidden" name="callbackSuccess" value="https://www.google.com/">
14
<input type="hidden" name="callbackError" value="https://www.google.com/">
15
<input type="image" src="https://cdn.8pay.network/img/buttons/pay_in_crypto_blue.png" border="0" name="submit" alt="8PAY">
16
</form>
Copied!
Last modified 3mo ago
Copy link