API Overview
Money Button has a powerful API that allows you to accept secure webhooks server-side to confirm payments, to authenticate users to remember purchases or to allow users to engage with other users, and get permission from users to perform actions and get information on their behalf.
The first step to use the Money Button API is to make a new application. Once you have made an application, you will be able to use webhooks to receive payment notifications in a secure way server-side, and you will also be able to use the api-client (in a browser or node.js) in order to access the REST API or the OAuth API.
Resources open to third party apps using OAuth at the moment:
API v1
- Get User Identity - Returns the minimum data to identify a user.
- Get User Profile - Returns profile info for the specified user.
- Get User Balance - Returns the balance for the specified user.
- Get Payments List - Returns a collection of payments belonging to the current user or app.
- Get Payment by ID - Retrieves the data related to a specific payment.
API v2
- Get User Balances - Returns user's bsv and tokens balances.
- Get Payments List - Returns a collection of payments belonging to the current user or app.
- Get Payment by ID - Retrieves the data related to a specific payment.
- Get Assets - Returns a collection of assets belonging to the current user or app.
- Create Asset - Create asset before tokens minting.
- Modify Asset - Modify asset.