FILTER BY TAG

Authorize a Mastercard Payment on Paze with
Cybersource
Decryption

The topics in this section show you how to authorize a Mastercard payment on Paze using the
Cybersource
decryption method.

Basic Steps: Authorizing a Mastercard Payment on Paze with
Cybersource
Decryption

  1. Follow these steps to request a Paze payment authorization with
    Cybersource
    decryption for Mastercard:
  2. Create the request message with the required
    REST
    API fields.

    ADDITIONAL INFORMATION

  3. Send the message to one of these endpoints:

    ADDITIONAL INFORMATION

    • Production:
      POST
      https://api.cybersource.com
      /pts/v2/payments
    • Test:
      POST
      https://apitest.cybersource.com
      /pts/v2/payments
  4. Verify the response messages to make sure that the request was successful.

    ADDITIONAL INFORMATION

    A 200-level HTTP response code indicates success. See the .

Required Fields for Authorizing a Mastercard Payment on Paze with
Cybersource
Decryption

As a best practice, include these REST API fields in your request for an authorization with the
Cybersource
decryption implementation of Paze for Mastercard.
IMPORTANT
Depending on your processor, your geographic location, and whether the relaxed address verification system (RAVS) is enabled for your account, some of these fields might not be required. It is your responsibility to determine whether an API field can be omitted from the transaction you are requesting.
For information about the relaxed requirements for address data and expiration dates in payment transactions, see the .
Set this field to the Base64-encoded value returned in the Paze payload in the
completeResponse
property of the complete payment response object.
Set this field to
1
.
Set this field to
002
for Mastercard.
Set this field to
029
to identify Paze as the digital payment solution.

REST Example: Authorize a Mastercard Payment on Paze with
Cybersource
Decryption

Request
{ "clientReferenceInformation": { "code": "1234567890" }, "processingInformation": { "paymentSolution": "029" }, "paymentInformation": { "fluidData": { "value": "eyJkYXRhW5FINWZqVjfkak1NdVNSaE96dWF2ZGVyb2c9PSJ9" }, "tokenizedCard": { "type": "002", "transactionType": "1" } }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "USD" }, "billTo": { "firstName": "Maya", "lastName": "Lee", "address1": "123 Main St", "locality": "SomeCity", "administrativeArea": "CA", "postalCode": "94404", "country": "US", "email": "maya.lee@email.world" } } }
Response to a Successful Request
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6234236182176225003004/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/6234236182176225003004" }, "capture": { "method": "POST", "href": "/pts/v2/payments/6234236182176225003004/captures" } }, "clientReferenceInformation": { "code": "1234567890" }, "id": "6234236182176225003004", "orderInformation": { "amountDetails": { "authorizedAmount": "100.00", "currency": "USD" } }, "paymentInformation": { "tokenizedCard": { "expirationYear": "2031", "prefix": "128945", "expirationMonth": "12", "suffix": "2398", "type": "002" }, "card": { "type": "002" } }, "pointOfSaleInformation": { "terminalId": "111111" }, "processingInformation": { "paymentSolution": "029" }, "processorInformation": { "approvalCode": "888888", "networkTransactionId": "123456789619999", "transactionId": "123456789619999", "responseCode": "100", "avs": { "code": "X", "codeRaw": "I1" } }, "reconciliationId": "75729760OPN67ZFV", "status": "AUTHORIZED", "submitTimeUtc": "2021-06-11T15:00:18Z" }