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"
}
Last updated