Example: Merchant Decryption with Mastercard Using the REST API

Authorization Request
{ "clientReferenceInformation": { "code": "demorefnum" }, "consumerAuthenticationInformation": { "ucafAuthenticationData": "ABCDEFabcdefABCDEFabcdef0987654321234567", "ucafCollectionIndicator": "2" }, "processingInformation": { "paymentSolution": "008" }, "paymentInformation": { "tokenizedCard": { "expirationMonth": "12", "expirationYear": "2021", "number": "xxxx55555555xxxx", "transactionType": "1" } }, "billTo": { "firstName": "James", "lastName": "Smith", "address1": "111 S. Division St.", "address2": "Suite 123", "locality": "Ann Arbor", "administrativeArea": "MI", "postalCode": "48104-2201", "country": "US", "email": "[email protected]", "phoneNumber": "9999999999" }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "100.00" } } }
Authorization Response
{ "clientReferenceInformation": { "code": "demorefnum" }, "orderInformation": { "amountDetails": { "currency": "USD", "authorizedAmount": "100.00" } }, "processingInformation": { "reconciliationID": "13209255CGJSMQCR" }, "processorInformation": { "approvalCode": "888888", "responseCode": "100", "avs": { "code": "I1" } }, "submitTimeUtc": "2015-11-03T205035Z" } }