Nhảy tới nội dung

getRefundStatus

API cho phép đối tác gọi để truy vấn tình trạng hoàn tiền của 1 giao dịch hoàn tiền.

API specification

MethodHeadersEndpoint
POST"Authorization": Bearer {Your token here}https://payment-mini.zalo.me/api/refund

Parameters

Object object

PropertyTypeRequiredDescription
refundIdstringtrueId của yêu cầu hoàn tiền
successfunctionCallback function khi gọi api thành công
failfunctionCallback function khi gọi api thất bại

Return Values

Promise<Object data>

PropertyTypeDescription
returnCodeint
  • 1 : Hoàn tiền giao dịch thành công
  • != 1 : Hoàn tiền không thành công
returnMessagestringMô tả thông tin returnCode