token_transaction.php
Verifies an SPL token transaction and the amount of tokens sent
Verifies the details of an SPL token transaction made through SOL Pay
Query Parameters
Name
Type
Description
{
"status": "success",
"transaction": {
"amount": 10000,
"amount_decimal": 1.0e-5,
"decimals": 9,
"from": "SENDER_ADDRESS"
}
}{
"status": "error",
"error": "There was no transaction with the specified txid made through SOL Pay."
}{
"status": "error",
"error": "Missing parameters, endpoint requires the following fields: to, txid, token."
}{
"status": "error",
"error": "SOL Pay is in maintenance mode, please try again in a few minutes."
}Example Request:
Last updated