REST Example: Dual-Message AFT with an MIT

Light Dark
Request
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
{"clientReferenceInformation": { "code": "TC50171_3" }, "processingInformation": { "businessApplicationId": "AA", "commerceIndicator": "recurring", "authorizationOptions": { "initiator": { "type": "merchant", "storedCredentialUsed": "true" }, "merchantInitiatedTransaction": { "previousTransactionID": "1234567890" }, "aftIndicator": "true", "fundingOptions": { "initiator": { "type": "S" } } } }, "purposeOfPayment": "16" }, "paymentInformation": { "card": { "expirationMonth": "12", "expirationYear": "2031", "type": "001", "securityCode": "123" }, "tokenizedCard": { "number": "4111111111111111", "cryptogram": "ABCDE12345ABCED12345ABCDE123", "transactionType": "3" } }, "orderInformation": { "amountDetails": { "totalAmount": "100", "currency": "USD", "anticipatedAmount": "123.45", "surcharge": { "amount": "5" } }, "billTo": { "firstName": "John", "lastName": "Doe", "address1": "1 Market St", "locality": "san francisco", "administrativeArea": "CA", "postalCode": "94105", "country": "US", "email": "test@test.com", "phoneNumber": "4158880000" } }, "acquirerInformation": { "merchantId": "pa_ctv_sg101" },     "aggregatorInformation.name": "test", "recipientInformation": { "accountId": "987654321", "accountType": "99", "address1": "Alpine Eco Road", "address2": "Address2 value", "firstName": "recFirstname", "lastName": "resLastname", "middleName": "recMiddletname", "locality": "recipient_city", "country": "GBR", "postalCode": "571216", "streetName": "Alpine eco road", "dateOfBirth": "", "beneficiaryId": "", "beneficiaryName": "", "buildingNumber": "Tulip Appartment", "beneficiaryAddress": "" }, "senderInformation": { "account": { "number": "154264765376576126571652675176", "fundsSource": "02" }, "firstName": "senderfirstname", "middleName": "sendermiddlename", "lastName": "senderLastname", "postalCode": "654321", "phoneNumber": "9876543210", "address1": "senderAddress", "locality": "Rotterdam", "fundsSource": "card", "countryCode": "GBR", "identificationNumber": "12345678910111213223", "personalIdType": "TXIN", "administrativeArea": "KA", "type": "B", "name": "Thomas Smith", "referenceNumber": "15426476537657" }, "captureOptions": { "dateToCapture": "1231" }, "merchantInformation": { "vatRegistrationNumber": "15426476537657", "merchantDescriptor": { "name": "utf8_merchant_descriptor", "alternateName": "merchant alternatename", "contact": "9995555444", "address1": "merchant address", "locality": "Mountain View", "country": "US", "postalCode": "94044", "administrativeArea": "CA", "phone": "99955554441", "url": "", "countryOfOrigin": "US", "storeId": "", "storeName": "", "customerServicePhoneNumber": "" } }}
Response
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
{"_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/7193111028367103640072/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/7193111028367103640072" }, "capture": { "method": "POST", "href": "/pts/v2/payments/7193111028367103640072/captures" } }, "clientReferenceInformation": { "code": "TC50171_3" }, "id": "7193111028367103640072", "orderInformation": { "amountDetails": { "authorizedAmount": "100.00", "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "systemTraceAuditNumber": "816710", "approvalCode": "831000", "cardVerification": { "resultCodeRaw": "M", "resultCode": "M" }, "merchantAdvice": { "code": "01", "codeRaw": "M001" }, "responseDetails": "ABC", "networkTransactionId": "016153570198200", "retrievalReferenceNumber": "417710816710", "consumerAuthenticationResponse": { "code": "2", "codeRaw": "2" }, "transactionId": "016153570198200", "responseCode": "00", "avs": { "code": "Y", "codeRaw": "Y" } }, "reconciliationId": "7193111028367103640072", "status": "AUTHORIZED", "submitTimeUtc": "2024-06-25T10:25:03Z"}