Get transactions
use this API to get last 10 transactions. Each transaction will have a status field to show 'created' or 'expired' or 'success'
Get last 10 transactions for POS
GET https://api.paysea.net/txnforpos/<device ID>
Headers
Name
Type
Description
Authorization*
Bearer <api key>
[
{
"payment_Id": "6416c5b65f62c58af6ac8bd77924593927ebb90140492a1966d3896620b5dd16",
"device_code": "paysea100",
"payment_memo": "This is the test transaction",
"payment_amount_sats": 3854,
"btc_ask_rate": "25950.205",
"payment_status": "success",
"currency": "USD",
"currency_amount": 1,
"payout_amount": null,
"payout_status": null,
"btcaddress": "",
"num_confirmation": -1,
"amt_paid_sat": 3854,
"paylink": "4a1ace4843abdb38",
"created_at": 1692723293,
"updated_at": 1692723422,
"sheet_status": null,
"tip_amount": null
},
...
]Excute this example curl to see the response.
Payment Status
"payment_status": "created" - When the invoice is active but the payment is not received.
"payment_status": "expired" - When the payment invoice is expired and payment is not received.
"payment_status": "success" - When the payment is successfully received
Paylink - Payment link. use this field to link the created invoice with the list of transactions.
Sample Response:
Last updated