PostPaymentsActivity
Function: postPaymentsActivity()
postPaymentsActivity<
ThrowOnError>(options?):RequestResult<PostPaymentsActivityResponses,PostPaymentsActivityErrors,ThrowOnError>
Defined in: app/api/sdk.gen.ts:691
Initiates a payment for a specific activity enrollment. The PostActivityPayment endpoint facilitates the financial registration for events by creating a payment request based on the provided DTO. It ensures that the authenticated user is the one making the request and coordinates with the service layer to reserve the spot and handle the transaction initiation.
Type Parameters
ThrowOnError
ThrowOnError *extends* boolean = false
Parameters
options?
Options<PostPaymentsActivityData, ThrowOnError>
Returns
RequestResult<PostPaymentsActivityResponses, PostPaymentsActivityErrors, ThrowOnError>