Authorize Transaction
This endpoint authorizes a transaction and holds funds for a specified period. This endpoint handles payout requests.
Record Creation:
Authorization record is created with PENDING status before MPGS call, then updated to AUTHORIZED on success or FAILED on error.
Authorizations
Payaza {{Public API Key in Base 64}}
Body
The body is of type any.
Response
Authorize Transaction
Status of the authorization (AUTHORIZED, PENDING, DECLINED).
"AUTHORIZED"
Descriptive message about the status.
"Authorization successful"
Unique reference for the authorization.
"AUTH-1234567890"
Code provided by the issuer if authorized.
"123456"
The amount successfully held.
100
Currency code.
"NGN"
Timestamp when the hold expires.
"2025-01-19T10:30:00"
Indicates if 3D Secure authentication is required.
false
URL to redirect for 3DS authentication.
"https://acs.example.com/3ds"
HTML content for 3DS page rendering.
"<html>...</html>"
Form data (cReq/PaReq) for 3DS.
"cReq_or_PaReq_data_here"
Error code if declined.
"INVALID_CARD"
Detailed error description.
"Card number is invalid"