Salework Tài Liệu
Hỗ trợ trực tuyếnCác sản phẩm
Salework Banking
Salework Banking
  • Liên kết tài khoản
  • Phân quyền
    • Phân quyền theo chức vụ
    • Phân quyền theo chi nhánh
  • Giao dịch
    • Biến động số dư
    • Thêm khoản thu
    • Mã QR
    • Tự động gạch nợ
  • Tích hợp
    • Tích hợp Webhook
    • Tích hợp Lark Messenger
    • Tích hợp Telegram
  • Cài đặt
    • Nội dung thanh toán
  • Open API
    • Merchant List
    • Debt Create
    • Gen QR
  • Tích hợp phương thức thanh toán vào Salework Kho
  • Tích hợp tạo khoản thu bên Salework Zalo
Powered by GitBook
On this page
  1. 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"
}
PreviousMerchant ListNextGen QR

Last updated 9 months ago