MultiSafepay is a collecting Payment Service Provider enabling webshops to easily accept online payments. To be redirect to MSP, you need to submit a form to MSP services with order ID and DomainCode.
MultiSafePay information
This service return a link to be redirect to multiSafePay
Example
https://wsmedia.tlsecure.com/api/json/00000/admin/order/000/multi
Request
HTTP Verb : GET
URL : http://{WS_URL}/{returnType}/{domainCode}/admin/order/{orderID}/multi
Parameters | Location | Type | Required | Default | Accepted | Description |
---|---|---|---|---|---|---|
token | Header | String(26) | v | |||
orderID | Path | Long | v | |||
mSP_description | Query | String | *see note tip | The description of the transaction | ||
mSP_notification_url | Query | String | *see note tip | The return URL that the consumer will be sent after payment | ||
mSP_cancel_url | Query | String | *see note tip | The return URL to the consumer cancels the payment. | ||
mSP_redirect_url | Query | String | *see note tip | The return URL if an error occurs during the order process. |
*If the parameter is empty, the WebService take the default value discuss in advance with the customer
Response
Success
{ "response": { "success": true, "code": 0, "message": "information multi safe pay", "object": { "multiSafePay": { "msp_Link_Redirect": "https://testpayv2.multisafepay.com/connect/9976qtBB2cXoT2GRukCQAkBOWp3xNSMvr2J/?lang=nl_NL" } } } }
Save Payment
Save information from MultiSafePay.
Example
https://wsmedia.tlsecure.com/api/json/00000/admin/order/savePaymentMulti
Request
HTTP Verb : POST
URL : http://{WS_URL}/{returnType}/{domainCode}/admin/order/savePaymentMulti
Parameters | Location | Type | Required | Default | Accepted |
---|---|---|---|---|---|
orderID | Path | Long | v |
Response
Success
{ "response": { "success": true, "code": 0, "message": "save payment", "object": { "order": { "id": 36752, "customer": 264151, "email": "test@mail.com", "productsQuantity": 2, "price": 28.99, "shipping": 0, "totalPrice": 28.99, "status": 5, "paid": true, "creationDate": "2017-09-04 13:36:26", "confirmationDate": "2017-09-12 13:50:44", "deliveryType": 1, "paymentMethod": 7, "lines": { "line": [ { "id": 53984, "ean": 9789044807516, "title": "Het spook van de vuurtoren", "author": "Wouter Tulp & Anneriek van Heugten", "price": 10, "quantity": 1, "productForm": "BB", "priceFull": 14.95 }, { "id": 54008, "ean": 9789025449278, "title": "In het buitengebied", "author": "Adriaan van Dis", "price": 18.99, "quantity": 1, "productForm": "BB" } ] }, "packages": { "package": [ { "id": 26062, "packageType": 3, "deliveryType": 1, "lines": [ { "id": 53984, "ean": 9789044807516, "title": "Het spook van de vuurtoren", "author": "Wouter Tulp & Anneriek van Heugten", "price": 10, "status": 0, "quantity": 1, "quantityReady": 0, "productForm": "BB", "priceFull": 14.95 }, { "id": 54008, "ean": 9789025449278, "title": "In het buitengebied", "author": "Adriaan van Dis", "price": 18.99, "status": 0, "quantity": 1, "quantityReady": 0, "productForm": "BB" } ] } ] }, "deliveryShop": 16, "deliveryFirstName": "Name", "deliveryLastName": "Prenom", "deliveryAddressLine1": "TiteLive NL", "deliveryAddressLine2": "test", "deliveryPostcode": "7500", "deliveryCity": "testr", "deliveryCountry": 1, "deliveryPhone": "015 45 16 11", "invoiceFirstName": "Name", "invoiceLastName": "Prenom", "invoiceAddressLine1": "Rue terre a bloc 7", "invoicePostcode": "7500", "invoiceCity": "Ville", "invoiceCountry": 1, "customerObject": { "id": 264151, "role": 1, "email": "test@mail.com", "login": "test@mail.com", "firstName": "Name", "lastName": "Prenom", "b2b": false, "creationDate": "2017-08-18", "waitingEmailValidation": false, "addresses": [ { "id": 32123, "newsletter": false, "user": 264151, "type": 1, "firstName": "Nom", "lastName": "Prenom", "addressLine1": "Rue terre à briques", "postcode": "7500", "city": "Ville", "country": 1, "default": true }, { "id": 32124, "user": 264151, "type": 2, "firstName": "Name", "lastName": "Prenom", "addressLine1": "Rue terre a bloc 7", "postcode": "7500", "city": "Ville", "country": 1, "default": true } ] } } } } }