Example: Updating an Authorized Payment
American Express DirectAPI
Follow-on Authorization Request
12345678910111213141516171819202122232425262728<="urn:schemas-cybersource-com:transaction-data-1.213"> <merchantID>test_merchant</merchantID> <merchantReferenceCode>refnum-1234</merchantReferenceCode> <billTo> <firstName>Jane</firstName> <lastName>Smith</lastName> <street1>Happy St</street1> <street2>456</street2> <city>Austin</city> <district>TX</district> <state>TX</state> <postalCode>78797</postalCode> <country>US</country> <email>test@cybs.com</email> </billTo> <purchaseTotals> <currency>USD</currency> <grandTotalAmount>10.00</grandTotalAmount> </purchaseTotals> <merchantDefinedData> <field5>inline</field5> </merchantDefinedData><linkToRequest>6958684668456844304007</linkToRequest><apPaymentType>KLI</apPaymentType> <apAuthService run="true"> <preapprovalToken>9cb0b304-c901-5a58-afd5-06c87d7bb217</preapprovalToken> </apAuthService> </>
Follow-on Authorization Response
1234567891011121314151617181920212223242526272829<:c="urn:schemas-cybersource-com:transaction-data-1.213"> <merchantReferenceCode>refnum-1234</merchantReferenceCode> <requestID>6958688084846249104011</requestID> <decision>ACCEPT</decision> <reasonCode>100</reasonCode> <requestToken>AxjnrwSTeTsyWHVD+dKL/6IZYjWmjCbZrSIzSWojmjst4nSBX0GY0MmkmXoxZaH/pN5OzJYdUP50osAA8wHb</requestToken> <purchaseTotals> <currency>USD</currency> </purchaseTotals> <exportReply> <reasonCode>100</reasonCode> <ipCountryConfidence>-1</ipCountryConfidence> </exportReply> <apReply> <productID>paylaterbycard</productID> </apReply> <apAuthReply> <reasonCode>100</reasonCode> <status>AUTHORIZED</status> <processorResponse>00003</processorResponse> <amount>10.00</amount> <dateTime>2023-09-28T02:40:10Z</dateTime> <paymentStatus>authorized</paymentStatus> <responseCode>00003</responseCode> <merchantURL>https://js.playground.klarna.com/na/kp/v1/sessions/f2bebdbb-b46c-551e-a8a4-048a4a185c10/redirect</merchantURL> <reconciliationID>XFZ40MYVHF4K</reconciliationID> <processorTransactionID>fc2b177e-f70a-4ff6-8847-3ab7b8db6d9c</processorTransactionID> </apAuthReply> </>