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
  3. Get Payment

Overpaid Examples

Overpiad payment response examples

Aquapay payment

{
    "status": "ok",
    "payment": {
        "merchant_id": "5f2a1e5d706dd94b04a8a064",
        "payment_code": "WKv2Jhr5rx",
        "address": "USD",
        "amount": "3.92",
        "original_amount": "25",
        "precision": 0,
        "display_digits": 2,
        "txid": "add3fa07791630a1735f7b3ede93f5b888f811b6366828c0f08e631b8c5f93d6",
        "all_txids": "add3fa07791630a1735f7b3ede93f5b888f811b6366828c0f08e631b8c5f93d6,0493c3cfe2f278c02831b8365c4dcfc55c9c02ae0d2d951405276e142d55ebf2",
        "asset_id": "5e2523c4ce4e2f0684847c14",
        "asset_symbol": "USD",
        "from_address": "BTC",
        "language": "en",
        "payment_status": "3",
        "status": "completed",
        "description": "ss",
        "payment_reference": "pks",
        "paid_amount": "73878",
        "paid_amount_precision": 8,
        "requested_amount": "63840",
        "requested_amount_precision": 8,
        "transactions": [
            {
                "asset_symbol": "BTC",
                "status": "underpaid",
                "quantity": "53840",
                "executable_quantity": "63840",
                "tx_id": "0493c3cfe2f278c02831b8365c4dcfc55c9c02ae0d2d951405276e142d55ebf2",
                "tx_time": 1645427264807,
                "exchange_rate": 39160.52199999002,
                "settlement_amount": "21.08",
                "settlement_asset": "USD"
            },
            {
                "asset_symbol": "BTC",
                "status": "paid",
                "quantity": "10038",
                "executable_quantity": "10038",
                "tx_id": "add3fa07791630a1735f7b3ede93f5b888f811b6366828c0f08e631b8c5f93d6",
                "tx_time": 1645427447799,
                "exchange_rate": 39051.74000002994,
                "settlement_amount": "3.92",
                "settlement_asset": "USD"
            },
            {
                "asset_symbol": "BTC",
                "status": "overpaid",
                "quantity": "10000",
                "executable_quantity": "10000",
                "tx_id": "add3fa07791630a1735f7b3ede93f5b888f811b6366828c0f08e631b8c5f93d6",
                "tx_time": 1645427447799,
                "exchange_rate": 39051.74000002994,
                "settlement_amount": "10000",
                "settlement_asset": "BTC"
            }
        ]
    },
    "message": "Get payment detail successfully"
}

Opennode payment

{
    "status": "ok",
    "payment": {
        "merchant_id": "5f2a1e5d706dd94b04a8a064",
        "payment_code": "lJRVqjPAsZ",
        "address": "USD",
        "amount": "3.89",
        "original_amount": "17",
        "precision": 0,
        "display_digits": 2,
        "txid": "1566accd6e314bcc3c1c2d71db469136c54d91975e63ba61964892aa6ebca6e7",
        "all_txids": "1566accd6e314bcc3c1c2d71db469136c54d91975e63ba61964892aa6ebca6e7,6733d43b5150940faa4c3e708d3a5f0a667df9a04aeb78fcbecebb73bd4ffd2b",
        "asset_id": "5e2523c4ce4e2f0684847c14",
        "asset_symbol": "USD",
        "from_address": "BTC",
        "language": "en",
        "payment_status": "3",
        "status": "completed",
        "description": "dd",
        "payment_reference": "dddd",
        "paid_amount": "46023",
        "paid_amount_precision": 8,
        "requested_amount": "43723",
        "requested_amount_precision": 8,
        "transactions": [
            {
                "asset_symbol": "BTC",
                "status": "underpaid",
                "quantity": "33723",
                "executable_quantity": "33723",
                "tx_id": "6733d43b5150940faa4c3e708d3a5f0a667df9a04aeb78fcbecebb73bd4ffd2b",
                "tx_time": 1645425483,
                "settlement_amount": "33723",
                "settlement_asset": "BTC"
            },
            {
                "asset_symbol": "BTC",
                "status": "paid",
                "quantity": "10000",
                "executable_quantity": "10000",
                "tx_id": "1566accd6e314bcc3c1c2d71db469136c54d91975e63ba61964892aa6ebca6e7",
                "tx_time": 1645425483,
                "settlement_amount": "10000",
                "settlement_asset": "BTC"
            },
            {
                "asset_symbol": "BTC",
                "status": "overpaid",
                "quantity": "2300",
                "executable_quantity": "2300",
                "tx_id": "1566accd6e314bcc3c1c2d71db469136c54d91975e63ba61964892aa6ebca6e7",
                "tx_time": 1645425483,
                "settlement_amount": "2300",
                "settlement_asset": "BTC"
            }
        ]
    },
    "message": "Get payment detail successfully"
}
PreviousUnderpaid ExamplesNextFull paid Examples

Last updated 3 years ago