PDF Export

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)
so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client)

Only Cybersource, Wirecard and PayPal are supported by now.

Corresponing SOAP Service: notifyCardTransactionWithCybersource, notifyTrxPaypal, notifyTrx.

Request Body

The service returns a list of transaction ids, one for each payment part.

Path mapping(intern): /net/dsb/commons/FlyPayment/createFlyPaymentLink-1.0.0

This web service can be used for two different scenarios:


1. Creation of a widget link to update the payment method

If sendMessage is selected a letter/ email (depends on the setup) will be send to the customer. It includes the payment widget link. Before usage please check with dsb if the customizing and letters are set up. If sendMessage is not selected the widget link is included in the response.


2. Creation of a widget link to renew an existing renewal subscription

Within SAP no invoices are required. As soon as a customer uses the link to pay a renewal order will be placed. The offer price will be calculated based on the offer and source code provided.



URL

GET: rest/{client}/subscriptions/{orderNumber}/flyPayLink

Parameter Description Payment change (1) Renewal (2)
client client ID X X
orderNumber order number (mandatory) X X
sp service provider. (mandatory if the user account can use different service provider values) X X
sendMessage (true/false): link will be send in letter / email (default: false) X
so sales organization. (mandatory if the user account is only allowed to read some sales organizations of the client) X X
offerCode offer code X (mandatory)
sourceCode source code X (mandatory)
sourceCodeVariant source code variant X (obligatory)
externalOrderNumber external order number which will be used to renew the subscriptio. Optional. Will be automatically generated if not supplied X
compressBundle if true bundles will be displayed as one position (default false) X
amount amount displayed in payment widget (only used for upgrades) X
billingAgreement Should a billing agreement be done or a check checkout? (true/false default false) X

Response structure:

{
    "status": "OK",
    "code": 0,
    "message": "<URL>"
}
Error code Description
10* Incorrect Input data
20* Link generation failed
30* Error in letter/email creation
40* Error renewal link creation
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information