- Acl
- Custom PG
- CSV Import
- Menu
- Notification
- Tax
- Themes
- Customer
- Wallet
- Loyality Points
- City
- Promo
- Order
- Search
- Marketplace
- Task
- Merchant
- Catalogue
- Business Categories
- Send SMS
- Admin
- Billing
- Project
- Discount
- Store Reviews
- checkout template
- Payment
addMoney
POST
/open/wallet/addMoney
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
object {0}
Example
{
"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
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-04-17 07:11:33