Merchant API
API quản lý merchant
Lấy thông tin merchant
GET
{{base_url}}/merchant
Cho phép lấy thông tin merchant
Query Parameters
merchant_id_app
string
id merchant app
Headers
Authorization
string
Bearer <access_token>
{
"name": "Cake's name",
"recipe": "Cake's recipe name",
"cake": "Binary cake"
}
Tạo mới merchant
POST
{{base_url}}/merchant
Cho phép tạo mới merchant
Headers
Authorization
string
Bearer <access_token>
Content-Type
string
application/json
Request Body
name
string
Tên merchant
phone
string
Số điện thoại
password
string
Mật khẩu
confirm_password
string
Xác nhận mật khẩu
package
string
Gói dịch vụ (id)
date_start_contract
string
Ngày bắt đầu hợp đồng
date_end_contract
string
Ngày kết thúc hợp đồng
business_model_id
string
Mô hình kinh doanh (id)
merchant_id_app
string
id merchant phía bên đối tác quy định
string
sms_provider
string
SMS provider
user_sms
string
User SMS
pass_sms
string
Password SMS
quota
string
SMS quota
Update thông tin merchant
PUT
{{base_url}}/merchant
Cho phép update thông tin merchant
Query Parameters
merchant_id_app
string
id merchant app
Headers
Authorization
string
Bearer <access_token>
Content-Type
string
application/json
Request Body
name
string
Tên merchant
phone
string
Số điện thoại
password
string
Mật khẩu
confirm_password
string
Xác nhận mật khẩu
package
string
Gói dịch vụ (id)
date_start_contract
string
Ngày bắt đầu hợp đồng
date_end_contract
string
Ngày kết thúc hợp đồng
business_model_id
string
Mô hình kinh doanh (id)
merchant_id_app
string
id merchant phía bên đối tác quy định
string
sms_provider
string
SMS provider
user_sms
string
User SMS
pass_sms
string
Password SMS
quota
string
SMS quota
Last updated
Was this helpful?