REST API | Visa Platform Connect

Example: Dual-Message AFT Request with Visa Secure Using the REST API

Request: Authorization Service for a dual-message AFT with Visa Secure
{ "merchantInformation": { "merchantDescriptor": { "name": "test" }, "vatRegistrationNumber": "xxxxxxxxxxxxx" }, "orderInformation": { "amountDetails": { "anticipatedAmount": "1.99", "currency": "USD", "surcharge": { "amount": "2.00" }, "totalAmount": "6.99" }, "billTo": { "address1": "1234 Main Street", "administrativeArea": "California", "country": "USA", "email": "test@visa.com", "firstName": "Alexandra", "lastName": "Fordham", "locality": "Carlsbad", "postalCode": "99404" } }, "paymentInformation": { "card": { "expirationMonth": "10", "expirationYear": "2026", "number": "410000000000xxxx" } }, "processingInformation": { "authorizationOptions": { "aftIndicator": "xxxxxx", "credentialStoredOnFile": "true" }, "buinessApplicationId": "xxxxxxxx", "fundingOptions": { "intiator": { "type": "xxxxxx" } } }, "recipientInformation": { "accountId": "xxxxxxxx", "accountType": "xxxxxxxx", "address1": "1235 J. Street", "address2": "Apartment 5", "buildingNumber": "D", "firstName": "Shirley", "lastName": "Cortez", "middleName": "Eileen", "postalCode": "94895", "streetName": "J. Street" }, "senderInformation": { "account": { "fundsSource": "xxxxxxx", "number": "xxxxx" }, "address1": "5654 Commerce Way", "adminstrativeArea": "California", "countryCode": "US", "firstName": "Laxmi", "identificationNumber": "xxxxxxxxxxx", "lastName": "Ashwani", "locality": "San Diego", "personalIdType": "xxxxxxxxxx", "referenceNumber": "xxxxxxxxxx", "type": "xxxxx" } }
Response: Authorization Service for a dual-message AFT
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/7169254233156744703955/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/7169254233156744703955" }, "capture": { "method": "POST", "href": "/pts/v2/payments/7169254233156744703955/captures" } }, "clientReferenceInformation": { "code": "1716925423354" }, "id": "7169254233156744703955", "orderInformation": { "amountDetails": { "authorizedAmount": "102.21", "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "pointOfSaleInformation": { "terminalId": "123456" }, "processorInformation": { "approvalCode": "888888", "networkTransactionId": "123456789619999", "transactionId": "123456789619999", "responseCode": "100", "avs": { "code": "X", "codeRaw": "I1" } }, "reconciliationId": "66697798TWQ1OITL", "status": "AUTHORIZED", "submitTimeUtc": "2024-05-28T19:43:43Z" }