Invoice status

Example secret key: fdf11f661f0b2e7c6dfd079fd692a930

Invoice status

POST https://api.xbwallet.me/getinvoice

Request Body

Name
Type
Description

merchant_id

UUID

Merchant ID your shop

invoice_id

UUID

Invoice ID

secret_hash

String

Signing the request with a secret key

secret_hash = sha1(merchant_id&invoice_id&secret)

{
    "invoice_id": "ad98ecd84f9b10890e4af09cf97d7087",
    "invoice_created": 1640995200,
    "invoice_expires": 1640997000,
    "invoice_amount": 300.25,
    "invoice_currency": "uah",//usd, eur, rub, uah, tron, usdtrc20, binancecoinbep20, usdtbep20, ethereum, bitcoin, litecoin, monero
    "invoice_status": "paid",//unpaid, paid, mispaid, confirming, cancelled
    "order_id": "order_id",//max length 255
    "checkout_address": "address_goes_here",
    "checkout_amount": 10.123456,
    "checkout_currency": "usdttrc20",//tron, usdttrc20, binancecoinbep20, usdtbep20, ethereum, bitcoin, litecoin, monero
    "secret_hash": "166a60d0f2a472d3d8ec961289f2403464feba11"
}

Last updated