Get Point of Sale Payment
Get updated payment price and/or address on point of sale payment
Get the updated price/address of any payment you have created.
POST api/payment-pos/getupdate
Request Body
Name
Type
Description
reference*
String
Your payment reference
payment_code*
String
Payment code supplied
{
"status": "nok",
"message": "Get Payment Detail Failed!",
"error": "Payment Reference or Payment Code is required",
"validated": false
}{
"status": "ok",
"payment": {
"paymentId": "61400c8b8be16c27ac9bc126",
"payment_code": "xzjyLzVwsp",
"payment_address": "2NCDtybVi2hqrMd1gc639YmFCFrufJdQQrc",
"payment_amount": "0.00111562",
"payment_missing_amount": "0.00111562",
"payment_amount_asset": "BTC",
"payment_payreq": "lntb1115620n1ps5q88jpp5qqdqgtxwajvdxxlkwgpt976rjqfzt946ccfhqg07yufs36ea8t7sdpy0pax572v0ft8wumsyqkjq3r9d4hjq5mfw3jscqzpgxqzjcsp52qp0mjn2e9sm4e87hes7jx3u3k3068e2vnql4qw8ph72akjmkq3s9qyyssq3zn2knzrl8csgx9ylkn9va2x2um420af5dep7xl449vyuwqxz04sw2tw7eeqzpwq80c5y7zkan7m33p8zpturj6lvfac82nu3rtavdsq3mj2rd",
"expires_at": 1631592266,
"exchange_rate": "44818.13",
"message": "Get opennode pos payment update successfully"
},
"message": "Get payment detail successfully"
}Please Note: You can only send one of reference or payment_code and your hash must include that value.
For example if you send reference your hash must be key+reference+amount+api_secret. If you send payment_code your hash must be key+payment_code+amount+api_secret
Last updated
