redeem_msg

KeyTypeDescriptionRequired
headerobjectThis object is required in every call. The information it includes is used to verify the signature.true
messagestringThis tag specifies the JSON schema object to validate against. For this call, use redeem_msg.false
amountfloatAmount of Sila to burn; amount/100 is credited to user handle's specified account.true
account_namestringName of user's linked account to be credited.true
  

Used By Endpoints:

  • /redeem_sila

Note - We recently renamed the field auth_handle to app_handle. For backward compatibility, auth_handle is still valid but has been removed from our documentation.

  
{
  "header": {
    "created": 1234567890, 
    "app_handle": "handle.silamoney.eth", 
    "user_handle":"user.silamoney.eth", 
    "version": "0.2", 
    "crypto": "ETH", 
    "reference": "<your unique id>"
  }, 
  "message": "redeem_msg",
  "amount": 1000,
  "account_name": "default"
}