On This Page
Authorize a Visa Payment on Paze with
Cybersource
Decryption
Cybersource
The topics in this section show you how to authorize a Visa payment on Paze
using the
decryption method.
Cybersource
Basic Steps: Authorizing a Visa Payment on Paze with
Cybersource
Decryption
Cybersource
- Follow these steps to request a Paze payment authorization withdecryption for Visa:Cybersource
- Create the request message with the requiredRESTAPI fields.
ADDITIONAL INFORMATION
- Use the API fields listed in Required Fields for Authorizing a Visa Payment on Paze with Cybersource Decryption.
- Refer to the example in REST Example: Authorize a Visa Payment on Paze with Cybersource Decryption.
- Send the message to one of these endpoints:
ADDITIONAL INFORMATION
- Production:POSThttps://api.cybersource.com/pts/v2/payments
- Test:POSThttps://apitest.cybersource.com/pts/v2/payments
- 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 Visa Payment on Paze with
Cybersource
Decryption
Cybersource
As a best practice,
include these REST API fields
in your request for an authorization with the
decryption implementation of Paze for Visa.
Cybersource
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 thecompleteResponseproperty of the complete payment response object.
- Set this field to1.
- Set this field to001for Visa.
- Set this field to029to identify Paze as the digital payment solution.
REST Example: Authorize a Visa Payment on Paze with
Cybersource
Decryption
Cybersource
Request
{ "clientReferenceInformation": { "code": "1234567890" }, "processingInformation": { "paymentSolution": "001" }, "paymentInformation": { "fluidData": { "value": "eyJkYXRhW5FINWZqVjfkak1NdVNSaE96dWF2ZGVyb2c9PSJ9" }, "tokenizedCard": { "type": "001", "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": "411111", "expirationMonth": "12", "suffix": "1111", "type": "029" }, "card": { "type": "029" } }, "pointOfSaleInformation": { "terminalId": "111111" }, "processingInformation": { "paymentSolution": "001" }, "processorInformation": { "approvalCode": "888888", "networkTransactionId": "123456789619999", "transactionId": "123456789619999", "responseCode": "100", "avs": { "code": "X", "codeRaw": "I1" } } }