DevelopersDocsMBXNewsroomHelp Centre
Log InSign Up
HomeDevelopersDocsMBXNewsroomHelp Centre

Docs

The Button

  • Overview
  • HTML
  • JavaScript
  • React
  • Crypto Operations
  • Invisible Money Button
  • Paymail Signatures
  • Paymail Encryption

API

OAuth

API v2

Get Payments

Returns a collection of payments belonging to the current user or app.

Facts

AttributeValue
urlhttps://www.moneybutton.com/api/v2/me/payments
http verbGET
Required scopepayments:read or application_access:write

Attributes

Query


  • page: page number.
  • size: amount of payments per page.

Example Response

{
  "pagination": {
    "page": 2,
    "pageSize": 2,
    "rowCount": 24,
    "pageCount": 12
  },
  "data": [{
    "id": "25",
    "createdAt": "2020-12-22T12:58:12.288Z",
    "updatedAt": "2020-12-22T13:02:15.617Z",
    "userId": "5",
    "txid": "7b1c2f7f3d3cdd3503ed3b0db1fc92a01e0c5f6a51ceb58563769d42e6ef01ba",
    "normalizedTxid": "c2404811ddd28775113b57b3a87e7bb482563a4f3e5403a03a42dea476a647e8",
    "amount": "0.0018521156236149723",
    "currency": "USD",
    "satoshis": "1092",
    "transactionId": null,
    "status": "COMPLETED",
    "statusDescription": null,
    "clientId": null,
    "buttonId": null,
    "buttonData": null,
    "referrerUrl": "",
    "browserUserAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0",
    "amountUsd": "0.0018521156236149723",
    "inputAmountUsd": "3.3809590513865255",
    "inputAmountSatoshis": "1993400",
    "spendAmountUsd": "0.00468117135638949",
    "spendAmountSatoshis": "2760",
    "feeAmountUsd": "0.002829055732774518",
    "feeAmountSatoshis": "1668",
    "changeAmountUsd": "3.3772039378419434",
    "changeAmountSatoshis": "1991186",
    "rawtx": {
      "type": "Buffer",
      "data": []
    },
    "cryptoOperations": [],
    "source": "INTERNAL",
    "senderSignature": "H+r+hLBrX9ea33zoJ0lI9wi8qhHUNNKr0ODGfEKRJzt9bWZ4KvGHUemCTZwIXE8BArEmDrIARpwOx6w2uqKHM3Y=",
    "senderPaymail": "[email protected]",
    "signaturePubkey": "022e5fd9234bbd554ca3a8eac278ffa3fc6f0871fd39e298792a740b992815ac93",
    "preserveOrder": false,
    "paymentOutputs": []
  }]
}
HomeMB for DevelopersMBXNewsroomHelp Center

Buenos Aires, Argentina - Tel Aviv, Israel - Toronto, Canada

@ 2022 MoneyButton All rights reserved