@agorio/sdkDocs


Interface: Ap2PaymentResult

Properties

processedAt

processedAt: string

ISO-8601 timestamp

Defined in

src/client/ap2-client.ts:153


raw?

optional raw: unknown

Raw response body from the payment endpoint, if any

Defined in

src/client/ap2-client.ts:155


status

status: "authorized" | "declined" | "pending" | "error"

Human-readable status

Defined in

src/client/ap2-client.ts:151


success

success: boolean

Whether the payment was accepted

Defined in

src/client/ap2-client.ts:147


transactionId

transactionId: string

Merchant-assigned transaction identifier

Defined in

src/client/ap2-client.ts:149