Send Tip
Use this (https://blkem.com/mobile_api/send_tip) API to access the sending tip on audio blocks Endpoint
Post parameters
Field | Value | Remarks |
---|---|---|
session_id | ​Access token ID | E.g. de25cc16eb00960f076... |
block_id | current block ID | E.g. 233.. |
reciever_id | Reiever ID | E.g. 123.. |
amount | Amount | E.g. 123.. |
Success response
{
"code": 200,
"message": "Tip Sent",
"data": [
{
"id": 4,
"block_id": 99,
"sender_id": 8726,
"reciever_id": 6098,
"amount": 11,
"time": "1694092843",
"type": "tip"
},
{
"id": 5,
"block_id": 99,
"sender_id": 6098,
"reciever_id": 8726,
"amount": 11,
"time": "1694191493",
"type": "tip"
}
]
}
Error responses
{
"code": 400,
"data":[],
"message": "insufficient balance on wallet"
}
{
"code": 400,
"message": "Incorrect Block ID",
"data": []
}
{
"code": 400,
"message": "The block is not a pro",
"data": []
}
{
"code": 400,
"message": "The reciever is not a co-host or host",
"data": []
}
{
"code": 401,
"message": "Unauthorized Access",
"data": []
}