LogoLogo
StartAPI EndpointPayments API
Payments API
Payments API
  • Getting Started
  • Managing Terminals
  • API Reference
    • Verify Credentials
    • QuickPay SDK
    • Payments API
      • Create eCommerce Payment
      • Create Point of Sale Payment
      • Create Point of Sale Payment (ON)
      • Redirect Examples
      • Postback Examples
      • Get Payment
        • Underpaid Examples
        • Overpaid Examples
        • Full paid Examples
      • Get Point of Sale Payment
      • Payment State Change
      • Payment Price Update
      • Payment Unconfirmed Update
      • Payment Status List
    • Request Refund
Powered by GitBook
On this page
  1. API Reference
  2. Payments API

Get Point of Sale Payment

Get updated payment price and/or address on point of sale payment

PreviousFull paid ExamplesNextPayment State Change

Last updated 3 years ago

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

key*

String

Merchant's

hash*

String

MD5 Hash

key+reference+amount+ or key+payment_code+amount+

{
  "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+. If you send payment_code your hash must be key+payment_code+amount+

api_secret
api_secret
Terminal API ID
api_secret
api_secret