Nạp thẻ điện thoại

phoneCardRequest payload:
{
  "note": "" // Mã đơn hàng phía đối tác
  "pin": "" // PIN của thẻ cào
  "serial": "" // Số serial thẻ cào
  "amount": 0 // Mệnh giá thẻ 
  "typecard": "Viettel" // Nhà mạng Viettel | Vinaphone | Mobifone
}

Tạo đơn thanh toán qua thẻ điện thoại

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

PHONE_CARD

callBackUrl*

String

Url được gọi từ phía đối tác khi đơn hàng cập nhật. IPN

signature*

String

Chữ ký được tạo ở mục Signature & Authorization

phoneCardRequest*

JSON

Thông tin thẻ cào gửi lên

Last updated