<Warning>
This endpoint is deprecated. New integrations should use the [Authorize endpoint](/developers/api-reference/moneyinV2/authorize-a-transaction), then capture, void, or refund the resulting transaction with the corresponding endpoints. Transactions created with this legacy endpoint must be managed with the legacy lifecycle endpoints — they aren't interchangeable with the current ones.
</Warning>
Authorize a card transaction. This returns an authorization code and reserves funds for the merchant. Authorized transactions aren't flagged for settlement until [captured](/developers/api-reference/moneyin/capture-an-authorized-transaction).
Only card transactions can be authorized. This endpoint can't be used for ACH transactions.
Request
This endpoint expects an object.
paymentDetailsobjectRequired
Object describing details of the payment. Required.
paymentMethodobjectRequired
Information about the payment method for the transaction. Required and recommended fields for each payment method type are described in each schema below.
accountIdstringOptional
Custom identifier for payment connector.
customerDataobjectOptional
Object describing the Customer/Payor. Which fields are required depends on the paypoint’s custom identifier settings.
entryPointstringOptional<=50 characters
The entrypoint identifier.
invoiceDataobjectOptional
Object describing an Invoice linked to the transaction.
ipaddressstringOptional
The IP address associated with the transaction.
orderDescriptionstringOptional<=250 characters
Text description of the transaction.
orderIdstringOptional<=250 characters
Custom identifier for the transaction.
sourcestringOptional<=100 characters
Custom identifier to indicate the transaction or request source.
subdomainstringOptional<=50 characters
Refers to the payment page identifier. If provided, then the
transaction is linked to the payment page.
subscriptionIdlongOptional
Payabli identifier of the subscription associated with the transaction.
Response
Ok
responseTextstring
Response text for operation: ‘Success’ or ‘Declined’.
isSuccessboolean
Boolean indicating whether the operation was successful. A true value
indicates success. A false value indicates failure.
pageIdentifierstring
Auxiliary validation used internally by payment pages and components.