REST Example: AFT with Visa

Request
{ "clientReferenceInformation": { "code": "TC50171_3" }, "paymentInformation": { "card": { "number": "411111111111XXXX", "expirationMonth": "12", "expirationYear": "2031" } }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "USD" }, "billTo": { "firstName": "John", "lastName": "Doe", "address1": "1 Market St", "locality": "san francisco", "administrativeArea": "CA", "postalCode": "94105", "country": "US", "email": "test@cybs.com", "phoneNumber": "4158880000" } }, "processingInformation": { "authorizationOptions": { "aftIndicator": "y" }, "commerceIndicator": "internet", "businessApplicationId": "PP", "purposeOfPayment": "ISACCT" }, "merchantInformation": { "merchantCategoryCode": "6540", "merchantDescriptor": { "locality": "Sydney", "postalCode": "123456", "name": "Cybersource", "address1": "1 Test Street", "administrativeArea": "SA" } }, "senderInformation": { "referenceNumber": "1234567890123456", "firstName": "John", "middleName": "Joe", "lastName": "Smith", "address1": "1 Test Street", "locality": "Northampton", "countryCode": "CAN", "administrativeArea": "ON", "account": { "number": "411111111111XXXX" } }, "recipientInformation": { "firstName": "Joe", "middleName": "Bob", "lastName": "Bloggs", "accountType": "03", "accountId": "545454545454XXXX", "country": "CAN", "address1": "1 Test Street", "administrativeArea": "ON", "locality": "Vancouver" } }
Response
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/7345247988967174740121/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/7345247988967174740121" }, "capture": { "method": "POST", "href": "/pts/v2/payments/7345247988967174740121/captures" } }, "clientReferenceInformation": { "code": "TC50171_3" }, "id": "7345247988967174740121", "orderInformation": { "amountDetails": { "authorizedAmount": "100.00", "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "approvalCode": "831000", "networkTransactionId": "201506041511351", "transactionId": "201506041511351", "responseCode": "00", "avs": { "code": "1" } }, "status": "AUTHORIZED", "submitTimeUtc": "2024-12-18T12:26:39Z" }