E-Payment This page describes the epayment rest web services. Notify URL POST: /rest/{client}/epayment/notify Parameter Description client client ID sp service provider. (mandatory if the user account can use different service provider values) Only Cybersource and PayPal are supported by now. Corresponing SOAP Service: notifyCardTransactionWithCybersource, notifyTrxPaypal, notifyTrx. Request Body Cybersource The Body of the Post Request contains a JSON document with the notify data. Example { "paymentProvider" : "CYSC", "notifyType" : "REGISTER-PAYMENT", "merchantId" : "fplgbpweb", "merchantReferenceCode" : "e7b716aada75ba45f7020db578e425e5", "amount" : 55.00, "currency" : "GBP", "billTo" : { "firstName" : "Paul", "lastName" : "Master", "street1" : "Top Floor", "street2" : "", "city" : "Bath", "state" : "So", "postalCode" : "BA1 5DZ", "countryCode" : "GB", "email" : "paul@gmail.com", "id" : "ID" }, "cardDetails" : { "cardNumber" : "1234********7890", "cardType" : "VISA", "cardExpiry" : "2020-05" }, "externalTransactionId" : "4869184370256047504057", "requestToken" : "Ahj//wSTB/WB6rQTz/q5AhTRi4cuWrduzZqI3DLxw8AVExaZSuo50Nq+NwcMmkmVdHpKyyhg9kwf1gSgy+xYuhAA+ARR", "reconciliationID" : "4189957733", "recurringPayID" : "4869184156396326104708", "requestTimestamp" : "2017-02-12T16:53:57Z", "paymentParts" : [ { "client" : "370", "amount" : 45.00 }, { "client" : "6701", "amount" : 10.00 } ] } Request Body Paypal The Body of the Post Request contains a JSON document with the notify data. JSON EPayment Notify Example { "paymentProvider" : "PAYPAL", "notifyType" : "NOTIFY-PURCHASE", "merchantId" : "PPIMM", = API USER NAME "merchantReferenceCode" : "e7b716aada75ba45f7020db578e425e5", "amount" : 55.00, "currency" : "GBP", "billTo" : { "email" : "payer@gmail.com", "id" : "QLT5PWFAQ9ABC" }, "externalTransactionId" : "1X9065ABCDE36184C", "reconciliationID" : "4189957733", "recurringPayID" : "B-6396326104708", "requestTimestamp" : "2017-02-12T16:53:57Z", "paymentParts" : [ { "client" : "370", "amount" : 45.00 }, { "client" : "6701", "amount" : 10.00 } ] } The service returns a list of transaction ids, one for each payment part. Element Definitions Field name TypeMandatory?Description paymentProvider CXThe payment provider: List of Payment Provider notifyType CXnotification type: List of notification types merchantId CXthe merchant id merchantReferenceCodeCXreference code of the notified transaction in the system of the merchant (shop). amount NXpaid amount currency CXcurrency code billTo billing business-partner cardDetails credit card details cardDetails.cardNumber CXmasked credit card number cardDetails.cardType CXcard type (VISA, MASTER, ..) cardDetails.cardExpiry CXcard expiry (format: yyyy-mm) externalTransactionId CXreference code of the notified transaction in the system of the payment provider. requestToken C request token in the system of the payment provider. (only Cybersource) reconciliationID CXid for reconciliation recurringPayID C recurring payment id subscriptionID C subscription id (alias for recurringPayID) requestTimestamp TSXtimestamp paymentParts parts of a transaction that is split to more than one client paymentParts.clientCXclient id paymentParts.amountNXamount paied for this client. The amounts of all parts must sum to the amount of the request This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.OKMore information