Initiates a payment transaction with the merchant processor.

Behavior: Starts a new payment transaction by communicating with the configured merchant processor. This should be called when the user is most likely going to be making the transaction. The Cognito contact ID is extracted from the authenticated user's claims.

Authorization: Requires an authenticated user (class-level [Authorize]). The user's Cognito contact ID claim is required.

Side Effects: A new payment transaction is initiated with the merchant processor. The transaction state is persisted for subsequent cancel or complete operations.

Error Scenarios: Returns 400 if the request model is invalid or the Cognito contact ID claim is missing. Returns 401 if the user is not authenticated.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The Nomad.Common.Models.Payment.StartTransactionRequestModel containing the transaction parameters.

Represents a request to initiate a payment transaction with user details, amount, and product information.

uuid | null

Gets or sets the unique identifier of the user initiating the transaction.

string | null

Gets or sets the first name of the user making the payment.

string | null

Gets or sets the last name of the user making the payment.

string | null

Gets or sets the email address of the user making the payment.

float

Gets or sets the monetary amount to charge for the transaction.

string | null

Gets or sets a description of what the payment is for.

uuid | null

Gets or sets this represents the DynamoDB Product ID

string | null

Gets or sets tODO: Gabe - Ask Adam

string | null

Gets or sets tODO: Gabe - Ask Adam

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json