Name | Type | Description | |
---|
api_key | string | Your API-key | |
user_id | number(optional) | user id | |
user_type | number(optional) | 2 : for admin, 3 : for merchant |
|
amount | number(optional) | amount | |
vendor_id | number | vendor_id | |
add_money | number | Enter 1 to add amount to customer wallet or 0 to deduct amount from customer wallet. | |
marketplace_user_id | number(optional) | marketplace user id | |
description | string(optional) | description | |
manager_id | string(optional) | manager id | |
Request
Body Params application/json
{
"api_key" : {{apikey}},
"user_id" : 510001,
"user_type" : 2,
"amount" : 10,
"vendor_id" : 123,
"add_money" : 0,
"marketplace_user_id" : 510001,
"description" : "test",
"manager_id" : "456896"
}
Request samples
curl --location --request POST 'https://api.yelo.red/open/wallet/addMoney' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key" : {{apikey}},
"user_id" : 510001,
"user_type" : 2,
"amount" : 10,
"vendor_id" : 123,
"add_money" : 0,
"marketplace_user_id" : 510001,
"description" : "test",
"manager_id" : "456896"
}'
Responses
application/json Modified at 2024-04-17 07:11:33