Money Button Documentation

Money Button Documentation

  • Money Button
  • API
  • Examples
  • Paymail
  • bsv

›API v2

Money Button

  • Money Button Overview
  • HTML
  • Javascript
  • React
  • Crypto Operations
  • Invisible Money Button
  • Paymail Signatures
  • Paymail Encryption
  • Simple Fabriik Protocol for Tokens

API

  • API Overview
  • Apps
  • Webhooks
  • Tokens
  • Currencies
  • Javascript Client
  • Authentication

    • Authentication Overview
    • OAuth
    • OAuth With JS Client

    API v1

    • Get User Identity
    • Get User Profile
    • Get User Balance
    • Get Payments
    • Get Payment By ID

    API v2

    • Get User Balances
    • Get Payments
    • Get Payment By ID
    • Get Assets
    • Create Asset
    • Modify Asset

Examples

  • Examples Overview
  • OP_RETURN Scripts
  • Assets

Paymail

  • Paymail Overview
  • Paymail Video Series
  • Paymail Introduction
  • BRFC Specifications
  • Specification Documents
  • BRFC ID Assignment
  • Service Discovery
  • Host Discovery
  • Capability Discovery
  • Public Key Infrastructure
  • Payment Addressing
  • Payment Addressing (Basic Address Resolution)
  • Payment Addressing (Payer Validation)
  • Payment Addressing (Payee Approvals)
  • Payment Addressing (PayTo Protocol Prefix)
  • Verify Public Key Owner
  • P2P Transactions
  • P2P Payment Destination
  • Recommendations

Bitcoin SV Library (bsv)

  • Bitcoin SV Library (bsv)
  • Big Numbers
  • Points (Elliptic Curves)
  • Hash Functions
  • Base 58
  • Private Keys
  • Public Keys
  • Addresses
  • ECDSA
  • Bitcoin Signed Messages
  • Signatures
  • HD Private Keys (BIP32)
  • HD Public Keys (BIP32)
  • Mnemonics (BIP39)
  • Script

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": "5@buttonofmoney.com",
    "signaturePubkey": "022e5fd9234bbd554ca3a8eac278ffa3fc6f0871fd39e298792a740b992815ac93",
    "preserveOrder": false,
    "paymentOutputs": []
  }]
}
← Get User BalancesGet Payment By ID →
  • Facts
  • Attributes
    • Query
  • Example Response
Money Button Documentation
Docs
Money ButtonAPIDesignbsv
Community
redditYoutubeTelegramTwitter
More
BlogInstagramGitHubStar
See an error in our documentation? Issue a pull request to fix it.
Copyright © 2021 Yours Inc.