linkpay-api
Version:
LinkPay JS/TS API SDK
26 lines (25 loc) • 872 B
TypeScript
import type { MerchantOrderInfoResponse, Result, TransAmount } from './base';
/**
* Response message for {@link LinkPayAPI.payment} API
*/
export declare class PaymentResponse {
/** Result object */
result: Result;
/**
* The expiry date and time for the Payment Link.
Format: RFC3339.
Returned when the result is successful.
For example: 2020-04-11T15:04:05+07:00
*/
expiryTime?: string;
/**
* Merchant order information object
Returned when the request is successful.
*/
merchantOrderInfo?: MerchantOrderInfoResponse;
/** The transaction amount object Return when the request is successful. */
transAmount?: TransAmount;
/** The URL of LinkPay Payment Page. Return when the request is successful. */
linkUrl?: string;
}
export default PaymentResponse;