PostPaymentsWebhook

Function: postPaymentsWebhook()

postPaymentsWebhook<ThrowOnError>(options?): RequestResult<PostPaymentsWebhookResponses, PostPaymentsWebhookErrors, ThrowOnError>

Defined in: api/sdk.gen.ts:902

Processes asynchronous status updates from the paymentservice payment gateway. The webhook endpoint is a secure entry point for external payment signals. It receives notifications regarding successful payments, cancellations, or failures, and triggers the payment service to update the internal state of the corresponding transactions in real-time without requiring user intervention.

Type Parameters

ThrowOnError

ThrowOnError *extends* boolean = false

Parameters

options?

Options<PostPaymentsWebhookData, ThrowOnError, unknown>

Returns

RequestResult<PostPaymentsWebhookResponses, PostPaymentsWebhookErrors, ThrowOnError>

On this page