Interface: LinePayApiErrorInit
Defined in: src/errors/index.ts:360
Properties
body
ts
readonly body: LinePayApiBody;Defined in: src/errors/index.ts:362
The response body, with a returnMessage (an empty one if LINE Pay sent none).
category?
ts
readonly category?: ReturnCodeCategory;Defined in: src/errors/index.ts:365
The category of body.returnCode by default.
httpStatus
ts
readonly httpStatus: number;Defined in: src/errors/index.ts:363
operation?
ts
readonly operation?:
| "request"
| "confirm"
| "capture"
| "void"
| "refund"
| "paymentDetails"
| "checkPaymentStatus"
| "checkRegKey"
| "payPreapproved"
| "expireRegKey";Defined in: src/errors/index.ts:370
outcome?
ts
readonly outcome?: "unknown" | "rejected";Defined in: src/errors/index.ts:369
unknown for the category unresolved, rejected for any other by default.