DevelopersDocsHelp Centre
Log In
HomeDevelopersDocsHelp CentreLog In

Docs

The Button

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

API

OAuth

API v2

Modify Asset

Allows you to modify the information of an asset created by you. This won't change the information in the existing tokens, it will just change the related asset information that is shown to users.

Facts

AttributeValue
urlhttps://www.moneybutton.com/api/v2/me/assets/{:assetId}
http verbPUT
Required scopeusers.asset:write

Attributes

Url


  • assetId: asset id.

Body


ParameterTypeNotes
namestringmin length 5
descriptionstring
avatarstring

Example Request

// [PUT] https://www.moneybutton.com/api/v2/me/assets/100
{
  "name": "New Token Name",
  "description": "New token description",
  "avatar": "https://mywebsite.com/new-token-avatar"
}

Example Response

{
  "id": "100",
  "name": "New Token Name",
  "description": "New token description",
  "avatar": "https://mywebsite.com/new-token-avatar",
  "updatedAt": "2020-12-27T14:18:57.398Z",
  "userId": "5",
  "initialSupply": "1000000",
  "paymailDomain": null,
  "paymailAlias": "e5045f6a00a2.asset",
  "createdAt": "2020-12-27T12:36:52.886Z",
  "tokenProtocolId": "1"
}
HomeMB for DevelopersHelp Centre

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

@ 2022 MoneyButton All rights reserved