Authorize Payment
POST
https://api.payos.money/api/v1/payment/authorize
Authorize a pending payment transaction with additional authentication data.
Request
Payment authorization request
transactionIdstringRequired
Transaction ID to authorize
authDataFieldslist of objectsRequired
Authorization data fields
sessionIdstringOptional
Session ID for hosted checkout
signaturestringOptional
HMAC signature for hosted checkout
Response
Payment authorized successfully
statusstring
Current transaction status
transactionIdstring
Unique transaction identifier
messagestring
Status message describing the transaction state
authStateobject
Authentication state union containing all possible transaction states
merchantReferencestring
Merchant reference from the original session
sessionIdstring
format: "uuid"Session ID associated with the transaction
identifiersmap from strings to strings
Additional identifiers related to the transaction
paymentAttributesmap from strings to strings
Payment-specific attributes and metadata
paymentMethodIdstring
Payment method identifier
processorNamestring
Payment processor name
processorReferencestring
Payment processor reference
financialTransactionReferencestring
Financial transaction reference from the processor
currentAttemptIdstring
Current attempt identifier
batchPayoutIdstring
Batch payout identifier, if the transaction is part of a batch payout
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error