PURPOSE
This article lists the data points that need to be included in the HMAC signature calculation for Atomic.
CAUSE
HMAC signatures can optionally be used to validate the authenticity of a redirect POST request from APEXX after the processing of payments using the APEXX Hosted Payment Page (HPP). Merchants should follow the directions in the APEXX API documentation. The correct data points to be included in the calculation are listed below for reference.
SOLUTION
{
"_id": "30ce72b5e4fc435989637b96b699a25920220215",
"amount": "300",
"authorization_code": "831000",
"capture_id": "8bae206dc49f47238af9ebcef63f982a20230215",
"card_number": "520000XXXXXX1096",
"expiry_month": "02",
"expiry_year": "23",
"merchant_reference": "PURCHASE 001",
"reason_code": "0",
"reason_message": "SUCCESS",
"risk_score": "0.0",
"risk_status": "FAILED",
"status": "CAPTURED",
"token": "d5d62c8c448440e29be507e4d1fe2052"
}