refund
To search in the page use Ctrl+F on your keyboard
This function makes it possible to re-credit the buyer’s account.
Recommended interfaceVersion: CR_WS_2.55
Endpoints
-
- PROD
-
https://office-server.sips-services.com/rs-services/v2/cashManagement/refund
- method
- POST
-
- TEST
-
https://office-server.test.sips-services.com/rs-services/v2/cashManagement/refund
- method
- POST
-
- PROD
-
https://office-server.sips-services.com/services/v2/cashManagement?wsdl
- method
- POST
-
- TEST
-
https://office-server.test.sips-services.com/services/v2/cashManagement?wsdl
- method
- POST
Request
Required
-
currencyCode
- presence
- Required
- Interface version
- 2.0
Currency code for the transaction. This code is ISO 4217 compatible.
List of values
032
- Argentinean Peso
036
- Australian Dollar
048
- Bahrain Dinar
116
- Cambodian Riel
124
- Canadian Dollar
144
- Sri Lanka Rupee
156
- China Yuan Renminbi
191
- Croatia Kuna
203
- Czech Republic Koruna
208
- Danes crown
344
- Hong Kong dollar
348
- Hungary Forint
352
- Iceland Rupee
356
- Indian rupee
376
- Israel Shekel
392
- Japanese Yen
410
- South Korean Won
414
- Kuwait Dinar
458
- Malaysia Ringgit
480
- Mauritius Rupee
484
- Mexican Peso
524
- Nepal Rupee
554
- New Zealand Dollar
578
- Norwegian crown
634
- Qatar Riyal
643
- Russia Ruble
682
- Saudi Arabia Riyal
702
- Singapore Dollar
710
- South Africa Rand
752
- Swedish crown
756
- Swiss Franc
764
- Thailand Baht
784
- United Arab Emirates Dirham
788
- Tunisia Dinar
826
- Pound
840
- American Dollar
901
- Taiwan Dollar
941
- Serbian Dinar
946
- Roumania New Leu
949
- New Turkish Lira
952
- CFA Franc
953
- CFP Franc
975
- Bulgaria Lev
978
- Euro
980
- Ukraine Hryvnia
985
- Poland Zloty
986
- Brazilian Real
-
interfaceVersion
- presence
- Required
- Interface version
- 2.0
Version of the interface used. It is composed of a prefix that varies according to the function used and a version number (e.g. IR_WS_2.47).
Please refer to the function page for the value to use. Use the latest interface version number.
List of values
CR_WS_2.
- Sips Office (SOAP/JSON) interface for Cash Management functions.
-
keyVersion
- presence
- Required
- Interface version
- 2.0
Version of the merchant’s secret key used to calculate the imprint of the message (key stored by the merchant to verify the imprint of the automatic and manual notifications).
-
merchantId
- presence
- Required
- Interface version
- 2.0
Identifier of the shop, this value is provided to the merchant by Worldline Sips during the shop registration.
-
operationAmount
- presence
- Required
- Interface version
- 2.0
Amount of the operation (refund, cancellation, validation etc). The amount must be transmitted in the smallest unit of currency.For example in euros: an amount of EUR 10.50 must be transmitted in the form 1050.
-
seal
- presence
- Required
- Interface version
- 2.0
Message seal used to ensure the integrity of the request and the authentication of sender / receiver of the message.
Optional
-
customerContact
- presence
- Optional
- Interface version
- 2.20
Contains the customer’s information.
Contains
-
email
- presence
- Optional
- Interface version
- 2.20
Contact’s email address.
-
firstname
- presence
- Optional
- Interface version
- 2.20
First name of the contact.
-
gender
- presence
- Optional
- Interface version
- 2.20
Gender of the contact, male (=M) or female (=F).
-
initials
- presence
- Optional
- Interface version
- 2.20
contact initals
-
lastname
- presence
- Optional
- Interface version
- 2.20
Last name of the contact.
-
mobile
- presence
- Optional
- Interface version
- 2.5
Mobile phone number for the contact.
-
phone
- presence
- Optional
- Interface version
- 2.20
Telephone number for the contact.
-
title
- presence
- Optional
- Interface version
- 2.20
Title of the contact.
-
intermediateServiceProviderId
- presence
- Optional
- Interface version
- 2.12
Identifier of the Service used by the merchant for the exchanges with the Worldline Sips platform.
-
merchantLocationId
- presence
- Optional
- Interface version
- 2.48
Merchant data identifying the location of his shop.
-
operationOrigin
- presence
- Optional
- Interface version
- 2.0
Origin of an operation (for example: name of the program), set by the sender of the request (merchant or Worldline Sips).This field will be present in the operations log sent to the merchant on a daily basis.
-
paymentMeanData
- presence
- Optional
- Interface version
- 2.5
Contains specific information regarding the payment method used by the buyer.
Contains
-
passbe
- presence
- Optional
- Interface version
- 2.5
Contains specific information on Passbe payment method (Card PASS in Belgium).
Contains
-
settlementModeList
- presence
- Optional
- Interface version
- 2.5
List of settlement mode allowed by the merchant. The values of this field should be acquirer’s native codes. Any convertion is done by Worldline Sips.
-
cofinoga3xcb
- presence
- Optional
- Interface version
- 2.5
Depreciated data. Contains specific information on Cofinoga 3xCB payment method.
Contains
-
creditIndicator
- presence
- Optional
- Interface version
- 2.5
Credit indicator specifies the choice of payment by the holder or commercial operation of the acceptor
-
bcaCup
- presence
- Optional
- Interface version
- 2.12
Contains specific information on the CUP Card means of payment from Floa Bank.
Contains
-
settlementMode
- presence
- Optional
- Interface version
- 2.12
Settlement mode chosen by the buyer. The values of this field should be acquirer’s native codes. Any convertion is done by Worldline Sips.
-
paypal
- presence
- Optional
- Interface version
- 2.5
Contains specific information on PayPal payment method.
Contains
-
dupDesc
- presence
- Optional
- Interface version
- 2.5
Description of the reason for PayPal duplication, possible when dupFlag is set to “true”. Shown to the Internet user on their PayPal account in the transaction details.
-
invoiceId
- presence
- Optional
- Interface version
- 2.5
Order number, same as the orderId but with PayPal, it must be unique. Mandatory in order to use PayPal.
-
addrOverride
- presence
- Optional
- Interface version
- 2.5
Indicator allowing the merchant to display the delivery address on PayPal pages. This indicator allows to override the address present in the PayPal account if necessary.
List of values
NO_DISPLAY
- No address is displayed, the address sent by the merchant is not taken into account by PayPal. It is the default value
NO_OVERRIDE
- PayPal displays the address the Internet user registered with PayPal
OVERRIDE
- PayPal displays the address communicated by the merchant, the address the Internet user registered with PayPal is deleted
-
mobile
- presence
- Optional
- Interface version
- 2.5
Mobile phone number for the contact.
-
dupFlag
- presence
- Optional
- Interface version
- 2.5
Indicator allowing the PayPal transaction to be duplicated. “false” default value (cannot be duplicated).
List of values
false
- Boolean indicator is false
true
- Boolean indicator is true
-
dupCustom
- presence
- Optional
- Interface version
- 2.5
Paypal Field left free for the merchant, taken into account when dupFlag is set to “true”
-
dupType
- presence
- Optional
- Interface version
- 2.5
Paypal Duplication type. This optional information is taken into account when dupFlag is “true”.
List of values
ANY
- Duplication type: several
INSTANTONLY
- Duplication type: one
-
landingPage
- presence
- Optional
- Interface version
- 2.5
Indicator allowing the merchant to hide the subscription form on PayPal pages. “false” is the default value.
List of values
false
- Boolean indicator is false
true
- Boolean indicator is true
-
sdd
- presence
- Optional
- Interface version
- 2.5
Contains specific information on SDD payment method.
Contains
-
mandateAuthentMethod
- presence
- Optional
- Interface version
- 2.5
Type of signature used for the creation of the mandate.
List of values
MAIL_OTP
- Authentication by SMS
SMS_OTP
- Authentication by eMail
-
mandateUsage
- presence
- Optional
- Interface version
- 2.5
Type of mandate used.
List of values
ONE_OFF
- Single use mandate
RECURRENT
- Recurring use mandate
-
mandateCertificationType
- presence
- Optional
- Interface version
- 2.5
Mandate signature certification type.
List of values
E_BASIC
- Electronic signature not certified. If the mandate is an E_BASIC one, the merchant didn’t proof that he has a sufficient knowledge of his client allowing him to be sure that the client is the one that he claims to be when he creates his mandate. The client can oppose the validity of the mandate.
-
s10TransactionReference
- presence
- Optional
- Interface version
- 2.6
Contains the identification of the transaction (to be compliant with Worldline Sips 1.0).Contains the data pair (s10TransactionId, s10TransactionIdDAte) which ensures the uniqueness of the transaction 1.0.
Contains
-
s10TransactionId
- presence
- Optional
- Interface version
- 2.6
- Format
-
N6Any character is accepted
The merchant can choose between transactionId and transactionReference (by default) to identify his transactions.s10TransactionId is an alternative identifier for the transaction to be compliant with Worldline Sips 1.0. The couple s10TransactionId/s10TransactionIdDate ensures the unicity of the transaction.
-
s10TransactionIdDate
- presence
- Optional
- Interface version
- 2.6
Date of the transaction (expressed in the Worldline Sips server time zone).The couple s10TransactionId/s10TransactionIdDate ensures the unicity of the transaction 1.0.The use of this couple instead of transactionReference depends on an option in the merchant configuration.
-
sealAlgorithm
- presence
- Optional
- Interface version
- 2.12
Algorithm applied to calculate the seal encryption.
List of values
HMAC-SHA-256
- The encryption algorithm applied is HMAC-SHA-256
HMAC-SHA-512
- The encryption algorithm applied is HMAC-SHA-512
SHA-256
- The encryption algorithm applied is SHA-256
-
settlementArchivingReference
- presence
- Optional
- Interface version
- 2.33
Data provided to the acquirer for processing settlements and reconciliations. By default generated by the Worldline Sips platform. Its supply by the merchant is subject to strong constraints. Contact Worldline Sips to use this data in requests.
-
settlementMerchantSpecificData
- presence
- Optional
- Interface version
- 2.33
Specific data provided by the merchant and transmitted to the acquirer for processing remittances. To use this data, please contact Worldline Sips.
-
transactionReference
- presence
- Optional
- Interface version
- 2.0
The merchant can choose of referencing his transactions by a transactionId or a transactionReference.transactionReference uniquely identifies a transaction throughout the life of the shop.
Request sample
Response
Required
-
seal
- presence
- Required
- Interface version
- 2.0
Message seal used to ensure the integrity of the request and the authentication of sender / receiver of the message.
Optional
-
acquirerResponseCode
- presence
- Optional
- Interface version
- 2.0
Response code returned by the acquirer during an authorisation request.
List of values
00
- Transaction approved or processed successfully
02
- Contact payment mean issuer
03
- Invalid acceptor
04
- Keep the payment mean
05
- Do not honour
07
- Keep the payment mean, special conditions
08
- Approve after identification
12
- Invalid transaction
13
- Invalid amount
14
- Invalid PAN
15
- Unknown payment mean issuer
17
- Payment aborted by the buyer
20
- Invalid response (error in server domain)
24
- Operation not authorised
25
- Transaction not found
30
- Format error
31
- Id of the acquiring organisation unknown
33
- payment mean expired (Paypal / Cofidis)
34
- Fraud suspicion
40
- Function not supported
41
- Payment mean lost
43
- Payment mean stolen
51
- Insufficient or exceeded credit
54
- Payment mean expired (CB / Visa / MC / WLAcq / BCMC)
55
- Wrong PIN
56
- Payment mean missing from the file
57
- Transaction unauthorised for this payment mean holder
58
- Transaction forbidden to the terminal
59
- Fraud suspicion
60
- The payment mean acceptor must contact the acquirer
61
- Exceeds the amount limit
62
- Transaction awaiting payment confirmation
63
- Security rules not complied with
65
- Allowed number of daily transactions has been exceeded
68
- Response not received or received too late
75
- Exceeded number of PAN attempts
87
- Terminal unknown
90
- System temporarily stopped
91
- Payment mean issuer inaccessible
92
- The transaction does not contain enough information to be routed to the authorizing agency
93
- Transaction cannot be completed: violation of law
94
- Duplicated transaction
96
- System malfunction
97
- Request time-out; transaction refused
98
- Server unavailable; network routing requested again
99
- Incident with initiator domain
A1
- Transaction refused because the 3-D Secure authentication data is missing
A4
- Transaction refused because the 3-D Secure authentication exemption is misused
R1
- the cardholder (or his bank) has revoked recurring payments made at a merchant
R3
- the cardholder (or his bank) has revoked all recurring payments
-
authorisationId
- presence
- Optional
- Interface version
- 2.0
Authorisation ID returned by the acquirer if the authorisation request is accepted.
-
errorFieldName
- presence
- Optional
- Interface version
- 2.21
Error field name of the incoming request. Present when responseCode = 12 or 30.
-
newAmount
- presence
- Optional
- Interface version
- 2.0
Amount of the transaction updated after checkout operation.For example, if after having completed an accepted authorisation request for EUR 10.00, a merchant cancels EUR 3.00, the newAmount field at the end of the cancellation shall be EUR 7.00.The amount is transmitted in the smallest unit of currency.Example for euros: an amount of EUR 10.50 must be transmitted in the form 1050.
-
newStatus
- presence
- Optional
- Interface version
- 2.0
Status of the transaction updated after a checkout operation. The status of a transaction is described by different keywords which change during the operations it undergoes.
List of values
ABORTED
- Transaction totally aborted
CANCELLED
- Transaction totally cancelled
CAPTURED
- Transaction sent to the bank
CAPTURE_REFUSED
- Capture refused
CREDITED
- Transaction totally refund
ENDED
- Transaction ended
EXPIRED
- Transaction expired
PENDING
- Transaction waiting for the authorisation request response
PREPROD
- Transaction of a merchant which is in the pre-production mode. It cannot be settled.
REFUSED
- Transaction refused
TO_AUTHORIZE
- Transaction waiting for the authorisation request
TO_CAPTURE
- Transaction to send to the bank to debit the user
TO_CHALLENGE
- Transaction with a fraud suspicion
TO_CONFIRM_AUTHOR
- Transaction waiting for confirmation of authorization.
TO_CONFIRM_CAPTURE
- Transaction waiting for confirmation of settlement
TO_CONFIRM_CREDIT
TO_CREDIT
- Transaction to send to the bank to credit the user
TO_REPLAY
- Transaction waiting for a validation with authorization request
TO_VALIDATE
- Transaction waiting for a validation
UNDEFINED
- Transaction status not defined
WAITING_AUTHOR
- Technical status for transaction in a temporarily state waiting for a authorisation batch response
-
operationDateTime
- presence
- Optional
- Interface version
- 2.0
Date and time calculated by Worldline Sips on which the transaction has been completed.
-
responseCode
- presence
- Optional
- Interface version
- 2.0
Worldline Sips server response code.
List of values
00
- Operation accepted
01
- For panToToken and tokenToPan methods, partial success
02
- Request of authorized on via telephone with the issuer because of exceeding the card authorization threshold
03
- Invalid merchant contract
05
- Refused authorization
11
- Used for differed check. The PAN is blocked
12
- Invalid transaction. Please check the request parameters
14
- Invalid PAN or payment mean data check is failed (e.g. card number or the visual cryptogram of the card or AVS address)
17
- Customer cancellation
24
- In response to a cash management operation: operation not authorized. The operation you wish to perform is not compliant with the transaction status or another operation is in progress at the same time
- In response to a payment creation: operation rejected, request already carried out with the same data and the same parameters
25
- Transaction unknown by Worldline Sips
30
- Format error
34
- Fraud suspicion (seal erroneous)
40
- Function not supported: the operation that you wish to perform is not part of the operation type for which you are authorized
51
- Amount too high
54
- Payment mean expiry date is past
55
- Merchant doesn’t accept prepaid cards
57
- Refund operation refused because the original transaction was subject of an unpaid
60
- Transaction pending
62
- Waiting the confirmation for the transaction (used by PayPal 1.0)
63
- Security rules not observed, transaction stopped
75
- Number of attempts to enter the data of the payment mean from Sips Paypage is exceeded
90
- Service temporarily not available
94
- Duplicated transaction: the transactionReference has been used previously
97
- Session expired (no action from the user during 15 minutes), transaction refused
99
- Temporarily problem with the payment server
-
settlementArchivingReference
- presence
- Optional
- Interface version
- 2.49
Data provided to the acquirer for processing settlements and reconciliations. By default generated by the Worldline Sips platform. Its supply by the merchant is subject to strong constraints. Contact Worldline Sips to use this data in requests.
Response sample
Changelog