Create Authorization Transaction
POST
https://api.bigcommerce.com/stores/store_hash/v3/payments/transactions/authorizations
Creates a new authorization payment transaction.
Request
This endpoint expects an object.
order_idstringRequired
format: "^[1-9]\d*$"ID of the order for this transaction. Must be a numeric string representing a positive integer greater than 0.
payment_method_idstringRequired
>=1 characterGateway and method key in format {provider}.{method}.
provider_transaction_idstringRequired
>=1 characterTransaction ID from the payment provider
resultenumRequired
Outcome of the provider operation for an authorization transaction.
Allowed values:
avs_resultobjectOptional
Address Verification System (AVS) result returned by the payment provider.
cvv_resultobjectOptional
Card Verification Value (CVV) result returned by the payment provider.
is_testbooleanOptionalDefaults to
falseWhether this is a test transaction
payment_instrumentobjectOptional
Details of the payment instrument used.
provider_datamap from strings to stringsOptional
Additional data from the payment provider. Accepted keys vary by provider.
statusenumOptional
Operational state of the transaction record. Currently only COMPLETE is supported for creating transactions. Additional statuses will be supported in future releases.
Allowed values:
Response
Authorization transaction created successfully
idstring
format: "uuid"Unique identifier for the created transaction
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
412
Precondition Failed Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error