Nhảy tới nội dung
Phiên bản: Lastest

API Đóng tài khoản thu hộ

Endpoint: /api/v1/service/ebill/close

Method: POST

Header: Cách tạo JWT_TOKEN

{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json"
}

Tham số

Tham sốYêu cầuKiểu dữ liệuMô tả
accountNoStringSố tài khoản nhận tiền
billCodeStringMã đơn hàng phía Partner, là mã duy nhất cho mỗi đơn hàng
partnerRefIdString[16]Mã yêu cầu duy nhất từ phía Partner (tối đa 16 ký tự)
signatureStringChữ ký các tham số trả về từ API, các tham số được đưa vào chữ ký theo thứ tự bao gồm: accountNo + billCode + partnerRefId (xem thêm phần cách tạo signature)

Dữ liệu trả về

Tham sốKiểu dữ liệuMô tả
errorCodeIntegerMã lỗi trả về
messageStringChi tiết mã lỗi

Ví dụ

Request

{
"accountNo": "902000668565",
"billCode": "VA586f8d6a684",
"partnerRefId": "123456",
"signature": "abc123",
}

Response

{
"errorCode": 0,
"message": "Thành công"
}