Salework Tài Liệu
Trang ChủCác sản phẩmLiên hệ trực tuyến
Bắt đầu sử dụng
Bắt đầu sử dụng
  • Bắt Đầu
  • Tài khoản & đăng nhập
    • Tạo tài khoản
    • Tổ chức kinh doanh
    • Tài khoản nhân viên
    • Phân quyền tài khoản nhân viên
  • Sản phẩm & Ứng dụng
    • Các sản phẩm Salework
    • App di động
    • Báo cáo nhanh
  • Hệ thống hỗ trợ
    • Hệ thống thông báo
    • Hệ thống Agency
    • Salework Open Api
      • Product Get List
      • Order Create 3rd Logistics
      • Order Create Self Logistics
      • Order Create In Store
      • Warehouse Import
      • Warehouse Export
      • Warehouse Return
      • Product Report
      • Merchant List
      • Debt Create
      • Gen QR
  • Hoá đơn và thanh toán
    • Nâng cấp gói dịch vụ
    • Hoá đơn dịch vụ
    • Ví Salework
  • Bảo mật
    • Chế độ bảo mật 2 lớp
    • Thay đổi thông tin tài khoản
  • Tiếp theo
    • Tiếp tục với Salework?
Powered by GitBook
On this page
  1. Hệ thống hỗ trợ
  2. Salework Open Api

Debt Create

POST https://banking.salework.net/api/open/debt/v1/create

Headers

Name
Value

Content-Type

application/json

client-id

123456

token

50000601c30atpedfgu3LVvik87Ixlsvle3mSoB7701ceb1

Body

Name
Type
Description

merchantId

Long

Merchant Id selected from Merchant List

amount

Double

billRef

String

payer

String

note

String

status

String

"ACTIVE" | "COLLECTED" | "CANCELLED"

userInCharge

String

Salework user username in charge

isBillRefAutoGenerated

Boolean

true | false

Response

{
    "data": {
        "createdBy": "system",
        "createdDate": "2024-08-12T07:39:30.938+00:00",
        "updatedDate": "2024-08-12T07:39:30.976+00:00",
        "updatedBy": "system",
        "id": 42,
        "billRef": "SLW111",
        "payer": "Khach hang test",
        "amount": 123000.0,
        "note": "test open api",
        "status": "NEW",
        "clearedDate": null,
        "accountNo": "8888*****888",
        "bankCode": "BIDV",
        "merchantId": 52,
        "branchName": "Chi nhánh 1",
        "usernameInCharge": "staffbanking1"
    },
    "version": "1.0"
}
{
  "error": "Invalid request"
}
PreviousMerchant ListNextGen QR

Last updated 9 months ago