Home > Processing Sofort Transactions > Name-Value Pair Examples


Name-Value Pair Examples

Sale Service

Example 69Sale Service Request

merchantID=mid43210

merchantReferenceCode=refnum1234

invoiceHeader_merchantDescriptor=Online Store

purchaseTotals_currency=EUR

purchaseTotals_grandTotalAmount=20.00

apPaymentType=SOF

apSaleService_run=true

apSaleService_cancelURL=https://www.redirect.url.html?action=cancel

apSaleService_successURL=https://www.redirect.url.html?action=success

apSaleService_failureURL=https://www.redirect.url.html?action=failure

Example 70Sale Service Reply

merchantReferenceCode=refnum1234

requestID=4703329437356002101200

decision=ACCEPT

reasonCode=100

purchaseTotals_currency=EUR

apSaleReply_reasonCode=100

apSaleReply_paymentStatus=pending

apSaleReply_responseCode=00001

apSaleReply_merchantURL=https://merchant.redirect.com/url.do?param_utf=27%22%3C%3E
  %20%E6%B8%AC%E8%A9%A6%E6%B8%AC&param_url=https%3A%2F%2Fwww.abc.com&param_special=
  +@#%~_&sign=fdaa1df42b6260a10e2e3f1c0fc87862

apSaleReply_processorTransacationID=007055

apSaleReply_reconciliationID=9530019443

apSaleReply_amount=20.00

apSaleReply_processorResponse=0000001

apSaleReply_dateTime=2020-01-11T12:47:19Z

Example 71Sale Service Request (Cybersource Settlement Services Account)

merchantID=mid43210

merchantReferenceCode=refnum1234

invoiceHeader_merchantDescriptor=Online Store

purchaseTotals_currency=EUR

purchaseTotals_grandTotalAmount=20.00

billTo_firstName=John

billTo_lastName=Smith

billTo_street1=10 TheStreet

billTo_city=Rome

billTo_country=IT

apPaymentType=SOF

apSaleService_run=true

apSaleService_cancelURL=https://www.redirect.url.html?action=cancel

apSaleService_successURL=https://www.redirect.url.html?action=success

apSaleService_failureURL=https://www.redirect.url.html?action=failure

Example 72Sale Service Reply (Cybersource Settlement Services Account)

merchantReferenceCode=refnum1234

requestID=4703329437356002101200

decision=ACCEPT

reasonCode=100

purchaseTotals_currency=EUR

apSaleReply_reasonCode=100

apSaleReply_paymentStatus=pending

apSaleReply_responseCode=00001

apSaleReply_merchantURL=https://merchant.redirect.com/url.do?param_utf=27%22%3C%3E
  %20%E6%B8%AC%E8%A9%A6%E6%B8%AC&param_url=https%3A%2F%2Fwww.abc.com&param_special=
  +@#%~_&sign=fdaa1df42b6260a10e2e3f1c0fc87862

apSaleReply_processorTransacationID=007055

apSaleReply_reconciliationID=9530019443

apSaleReply_amount=20.00

apSaleReply_processorResponse=0000001

apSaleReply_dateTime=2020-01-11T12:47:19Z

Sale Check Status Service

Example 73Sale Check Status Service Request

merchantID=mid43210

merchantReferenceCode=refnum1234

apPaymentType=SOF

apCheckStatusService_run=true

apCheckStatusService_checkStatusRequestID=4703329437356002101200

Example 74Sale Check Status Service Reply

merchantReferenceCode=refnum1234

requestID=52391098509302958393020294

decision=ACCEPT

reasonCode=100

apCheckStatusReply_reasonCode=100

apCheckStatusReply_reconciliationID=TC38480966

apCheckStatusReply_paymentStatus=settled

apCheckStatusReply_processorResponse=000004

apCheckStatusReply_dateTime=2020-01-11T15:16:14Z

Refund Service

Example 75Refund Service Request

merchantID=mid43210

merchantReferenceCode=refnum1234

purchaseTotals_currency=EUR

purchaseTotals_grandTotalAmount=20.00

apPaymentType=SOF

apRefundService_run=true

apRefundService_refundRequestID=4703329437356002101200

Example 76Refund Service Reply

merchantReferenceCode=refnum1234

requestID=8484832012000483918274

decision=ACCEPT

reasonCode=100

purchaseTotals_currency=EUR

apRefundReply_reasonCode=100

apRefundReply_status=refunded

apRefundReply_processorResponse=00006

apRefundReply_amount=20.00

apRefundReply_dateTime=2020-01-11T15:54:32Z

apRefundReply_reconciliationID=01950351

apRefundReply_processorTransactionID=903344

apRefundReply_paymentStatus=completed

apRefundReply_responseCode=00006

Refund Check Status Service

Example 77Refund Check Status Service Request

merchantID=mid43210

merchantReferenceCode=refnum1234

apPaymentType=SOF

apCheckStatusService_run=true

apCheckStatusService_checkStatusRequestID=8484832012000483918274

Example 78Refund Check Status Service Reply

merchantReferenceCode=refnum1234

requestID=8918713313181839208523

decision=ACCEPT

reasonCode=100

apCheckStatusReply_reasonCode=100

apCheckStatusReply_reconciliationID=TC30987664

apCheckStatusReply_paymentStatus=settled

apCheckStatusReply_processorResponse=000004

apCheckStatusReply_dateTime=2020-01-11T17:16:14Z