On This Page
Example: Processing a Sale
Request
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.215"> <merchantID>test_merchant</merchantID> <merchantReferenceCode>refnum-1234</merchantReferenceCode> <billTo> <country>ID</country> </billTo> <purchaseTotals> <currency>JPY</currency> <grandTotalAmount>220</grandTotalAmount> </purchaseTotals> <apPaymentType>LLP</apPaymentType> <apSaleService run="true"> <cancelURL>https://www.test.com?action=cancel</cancelURL> <successURL>https://www.test.com?action=success</successURL> <failureURL>https://www.test.com?action=failure</failureURL> </apSaleService> </requestMessage>
Response to a Successful Request
<replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.215"> <merchantReferenceCode>refnum-1234</merchantReferenceCode> <requestID>7193368815426226903007</requestID> <decision>ACCEPT</decision> <reasonCode>100</reasonCode> <requestToken>AxjnrwSThfQLyYdctFffANgZYjWmdmxLZzWUaYnvws5M/7EBLQUYZNJMvRiv1WoScL6BeTDrlor74AAA1RIK</requestToken> <purchaseTotals> <currency>JPY</currency> </purchaseTotals> <apSaleReply> <reasonCode>100</reasonCode> <paymentStatus>pending</paymentStatus> <responseCode>00001</responseCode> <merchantURL>https://payment.limonetikqualif.com/Boku/Order/PayPage/799459075410</merchantURL> <processorTransactionID>799459075410</processorTransactionID> <reconciliationID>XFZ3YXK3M2FL</reconciliationID> <amount>11</amount> <processorResponse>00001</processorResponse> <dateTime>2024-06-25T17:34:42Z</dateTime> </apSaleReply> </replyMessage>