💸Send Payments
Pay your users out with SMILE and add their transaction to the blockchain
Need technical help or have feedback? Contact an engineer directly [email protected].
Front-end
1. Render SmileSendButton
The SmileSendButton
will needed to be rendered by the front-end client adjacent to your submit button and will take a callback
function to fire the specified request to your server.
Server
2. Send Transaction
Simply call:
and pass the payload outlined below. If receive_status['status']==201
and the method does not throw an exception, the transaction has been successfully completed and your player's SMILE funds have reached their wallet. You can check receive_status['message']
for success/error messages.
HTTP
Note: this is a fully secure flow on the SDK side, but it may have the potential to be manipulated through security holes in your platform. For this reason, we will conduct a security audit on this workflow in your application prior to activating your production key.
Last updated