Skip to main content

Real Time Auth Notify

This notification is triggered when an authorisation is processed on a card in real-time.

https://<customerHost:Port>/handlenotification
FieldDescription
Content-Typeapplication/json

Request example

curl --location --request POST 'https://<customerHost:Port>/handlenotification' \
-H 'Content-Type: application/json' \
-d '{
"notificationType": "REAL_TIME_AUTH_NOTIFY",
"notificationCreationTime": "2025-03-07T15:10:52.462Z",
"notificationContent": {
"notificationKey": "D8CCR7aK5HMEBKYG",
"cardReference": "0UwInjcdQl8TE1OGJDQuOTg7h",
"transactionReference": "0UwIEGFh7fUHpNyUJDbsQeVbImN",
"realTimeAuthReference": "0UwLsfsdffIC_DrGd8rBSWgzaX",
"transactionTimestamp": "2025-03-09T14:07:43.369Z",
"originalTransactionAmount": "2618.00",
"originalTransactionCurrency": "MYR",
"billingAmount": "-590.30",
"billingCurrency": "USD",
"billingConversionRate": "0.22548",
"forexEcbRate": "0.223715586",
"messageTypeIndicator": "100",
"transactionCode": "SALE_OR_PURCHASE",
"cardAcceptorIdentifier": "123456ABC",
"cardAcceptorLocation": "TURKISH AIRLINE||KUALA LUMPUR|123456789||MYS|",
"mccCode": "3047",
"approvalCode": "123456",
"posCardHolderPresence": "CARD_HOLDER_PRESENT",
"posCardHolderAuthenticationMethod": "NOT_AUTHENTICATED",
"posCardPresence": "PRESENT",
"terminalCode": "99999999",
"authState": "PROCESSED",
"failReason": ""
}
}'

Request Body

FieldDescriptionType
notificationTypeSpecifies the type of notification being sent.string
required
notificationCreationTimeSpecifies the creation date and time for the notification. The date format conforms to ISO 8601string
required
notificationContentSpecifies the notification contentobject
required

Properties of notificationContent

FieldDescriptionType
notificationKeyRepresents a unique identifier for Nium that confirms the API method call is genuinestring
required
cardReferenceRepresents a unique identifier for the virtual cardstring
required
transactionReferenceRepresents a unique identifier for transactionstring
realTimeAuthReferenceRepresents a unique identifier for the real-time authorisationstring
required
transactionTimestampRepresents the date and time when the transaction was executed, in ISO 8601 formatstring
required
originalTransactionAmountRepresents the original amount of the transactionstring
required
originalTransactionCurrencyRepresents the original currency of the transaction, in ISO 4217 format (e.g., USD).string
required
billingAmountRepresents the amount of the transaction expressed in the currency of the cardstring
required
billingCurrencyRepresents the virtual card currency, in ISO 4217 format (e.g., USD).string
required
billingConversionRateRepresents the conversion rate used to calculate the billingAmount from the originalTransactionAmountstring
required
forexEcbRateA reference rate defined by the European Central Bank and is intended for information purposes onlystring
messageTypeIndicatorIdentifies the ISO 8583 MTI codestring
transactionCodeDefines the transaction type. Possible values: SALE_OR_PURCHASE, PREAUTHORIZATION_TRANSACTION_PURCHASE, PREAUTHORIZATION_TRANSACTION_PURCHASE_COMPLETION, MAIL_OR_TELEPHONE_ORDER, CASH, SALE_WITH_CASHBACK, MERCHANDISE_RETURNstring
required
cardAcceptorIdentifierContains the merchant IDstring
required
cardAcceptorLocationContains the merchant namestring
required
mccCodeContains the merchant category codestring
required
approvalCodeContains the code with which the authorisation is labelled when approvedstring
required
posCardHolderPresenceDefines whether the cardholder was present during the transaction. Possible values: CARD_HOLDER_PRESENT, NOT_PRESENT_UNSPECIFIED, NOT_PRESENT_MAIL_ORDER, NOT_PRESENT_TELEPHONE_ORDER, NOT_PRESENT_STANDING_ORDER, NOT_PRESENT_ELECTRONIC_ORDER, PRESENT_STANDING_ORDER, RESERVEDstring
posCardHolderAuthenticationMethodDefines the authentication method used by the cardholder. Possible values: NOT_AUTHENTICATED, PIN, ELECTRONIC_SIGNATURE_ANALYSIS, BIOMETRICS, BIOGRAPHIC, MANUAL_SIGNATURE_VERIFICATION, MANUAL_ORDER, UNKNOWN, E_COMMERCE_TRANSACTION, INVALID_VALUEstring
posCardPresenceDefines whether the card was present during the transaction. Possible values: PRESENT, NOT_PRESENTstring
terminalCodeContains a code that identifies the terminalstring
authStateThe authentication state. Possible values: PROCESSED, DECLINED, FAILEDstring
required
failReasonSpecifies the failure reason when authState is DECLINEDstring