Creates a new payment transaction with the specified amount, payment method, customer information, and transaction type for the authenticated project.
projectId (guid, required) — Project identifier matching authenticated API key.model (TransactionCreateCommandRequest, required) — Transaction details including:
amount (decimal, required) — Transaction amount in USD.transactionType (string, required) — Type (Sale, Auth, Capture, Refund, Void).referenceId (string, optional) — Merchant reference ID.paymentMethod (object, required) — Card details or payment token.billingInfo (object, required) — Customer billing information.TransactionCreateCommandResponse containing the transaction ID, approval status, authorization code, and processor response details.
The access token received from the authorization server in the OAuth 2.0 flow.
The unique identifier of the project for which to create the transaction (must match authenticated API key).
The transaction creation request containing amount, payment method, customer information, and transaction type.
Base structure for command requests that modify data. Represents the legacy transaction creation payload for CyberSource and Payflow gateways. Submitted by payment clients when initiating authorizations, captures, and other transaction flows against a project.
Property paths that contain sensitive data requiring secure handling. Downstream services encrypt each path to comply with processor and PCI requirements.
Processor-specific request type being executed. Determines whether the operation is a credit card charge, PayPal express checkout, or another supported processor flow.
CreditCard, Amazon, ExpressCheckout Transaction action to perform with the selected processor. Supports authorizations, captures, credits, and other operations represented by TransactionType.
Authorize, Capture, AuthorizeAndCapture, CreditAuthorizeAndCapture, CreditAuthorize, CreditCapture, PreAuthorize, LiabilityChange, LiabilityAssumption, ChargeBackCredit, ChargeBackDebit, ChargebackInquiry Metadata tags attached to the transaction. Tags carry custom key-value pairs for reporting such as invoice or subscription identifiers.
Additional contextual data included with the request. Currently captured to pass the originating customer IP address to fraud prevention systems.
Supplemental information forwarded to the payment processor. Overrides project defaults such as soft descriptors and customer service contact numbers when supplied.
Indicates whether anti-fraud services should be invoked for the transaction. When true, the manager requests enhanced screening such as CyberSource Decision Manager.
Browser fingerprint provided by the client application. Used by fraud detection services to correlate customer sessions and device attributes.
100Client session identifier associated with the transaction. Supports linking multiple payment attempts to the same authenticated session for auditing purposes.
reCAPTCHA v3 score asserted by the caller. Provides additional risk signals when payments originate from public web flows.
Gateway provider that should process the transaction. Determines whether CyberSource or Payflow-specific payload sections must be populated.
CyberSource, PayPal, Amazon CyberSource-specific transaction data required when charging credit cards. Must be provided when PaymentGateway is set to ProcessorGateway.CyberSource.
Payflow-specific transaction data required when invoking PayPal flows. Must be present for express checkout transactions routed through Payflow.
Always returned. Check the success property and status field in the response body to determine if the transaction was approved or declined.
Standard response structure containing operation status and error information. Standard command response indicating the result of a data modification. Create response containing the identifier of the newly created entity. Represents the result of executing a legacy transaction create request. Combines processor messages with gateway-specific payloads to surface success and failure details.
True if the operation completed successfully; false if an error occurred.
true
Result code indicating the outcome of the operation.
Unknown, Success, BadRequest, Unauthorized, NotFound, Error 200
Human-readable error message when an error occurs.
null
Unique identifier of the newly created entity.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
Human-readable message returned by the processor. Often includes approval codes or decline reasons supplied by the gateway.
High-level category for an encountered error. Populated when the command fails to execute successfully and helps clients surface user-friendly messaging.
CyberSource-specific response payload. Provided when the transaction was processed through CyberSource.
Payflow-specific response payload. Supplied for transactions handled by PayPal Payflow.