Chuyển khoản ngân hàng
Tạo đơn chuyển khoản NH
POST /order
Headers
Name
Type
Description
Authorization*
String
Bearer token
Request Body
Name
Type
Description
amount*
number
Số tiền
orderId*
String
Mã đơn hàng từ đối tác
orderType*
String
DEPOSIT
payMethod*
String
BANK_TRANSFER
{
"data": {
"id": 1,
"type": "DEPOSIT",
"payMethod": "BANK_TRANSFER",
"status": "PENDING",
"orderId": "orderIdFromClient",
"callBackUrl": "https://callback.example.com/callack",
"signature": "7203659612786ca5280ee592c9392b077030c10580b952eac04f7aab51032657",
"providerId": 1,
"payData": {
"qr": "https://img.vietqr.io/image/example.jpg",
"bankCode": "123000000",
"bankName": "TCB",
"accountNo": "123456",
"accountName": "NGUYEN VAN A"
},
"accountId": 1,
"createdAt": "2024-01-04T07:57:20.871Z",
"updatedAt": "2024-01-04T07:57:20.871Z",
"amountNumber": 1000000
}
}Last updated