Service: ExternalPaymentService

Version: 1_33 (other versions, change log) Latest stable version. Please base all your developments on this one.

SOAP Demo endpoint: https://secutix.ws.secutix.com/tnseb/external-remoting/com.secutix.service.realtime.externalpayment.v1_33.ExternalPaymentService.webservice?wsdl

REST Demo endpoint (only POST): https://secutix.ws.secutix.com/tnseb/backend-apis/externalPaymentService/v1_33/{methodName} Replace {methodName} for the desired method name as shown below.

To get the endpoint for your own institution, replace "secutix" (just after https://) in the url by your own institution code.

For further documentation and examples, please check in Platform Website.external payment service interface v1_33 : web service exposed to external world

Methods:

cancelPayment

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
paymentIdsList of Long     

Return value

WebMethodResult
requestIdInteger     
statusCodeString (8)     
statusDetailString     

checkPayment

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
orderIdLong     
paymentsList of PaymentInfo     

PaymentInfo
amountLong     
cardAliasString     
cardExpirationDateDate     
cardMaskedNumberString     
contactReferenceString (20)     
paymentAdditionalDataMap of StringString     
paymentIdentifierString     
paymentMethodIdLong     
pspAdditionalReturnedDataString     
valueDateDate     

Return value

PaymentDetailResult
paymentDetailsList of PaymentDetail     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

PaymentDetail
amountLong     
bankCardOwnerNameString     
cardAliasString     
cardExpirationDateDate     
cardMaskedNumberString     
cardTypeString     
catalogCurrencyCurrencyCash     
contactIdLong     
contactNameString     
contactNumberString (20)     
contactStructureNameString     
epcTransactionDataEpcTransactionData     
externalUrlString (255)     
isInstallmentboolean     
orderIdLong     
payerContactboolean     
paymentDateDate     
paymentIdLong     
paymentIdentifierString     
paymentLastUpdatedDate     
paymentMethodPaymentMethod     
paymentStatus(WAITING|IN_PROGRESS|
AUTHORIZED|PAID|
CANCELLED_BY_USER|FAILED|
ABANDONED|
WAITING_MANUAL_VALIDATION|
FAILED_REJECTED)
     
pspAdditionalReturnedDataString     
referenceDateDate     
valueDateDate     
voucherPaymentKind(REUSABLE_VOUCHER|
NOT_REUSABLE_VOUCHER)
     

CurrencyCash
availableCashList of Cash     
currencyCodeString (8)     
fractionDigitInteger     
minAmountInteger     
symbolString     

Cash
quantityInteger     
type(COIN|COINS_ROLL|NOTE|
NOTES_BUNDLE)
     
unitAmoungInteger     

EpcTransactionData
aliasPaymentDetailsList of EpcAliasPaymentDetails     
isUsingPaymentWidgetboolean     
paymentWidgetUrlString (255)     
postPaymentDetailsEpcPostPaymentDetails     
redirectPaymentDetailsList of EpcRedirectPaymentDetails     
transactionIdint     

EpcAliasPaymentDetails
cardExpMonthEpcPaymentField     
cardExpYearEpcPaymentField     
cardHolderEpcPaymentField     
cardNumberEpcPaymentField     
cvvEpcPaymentField     
paymentMethodEpcPaymentMethod     
hiddenFieldsList of EpcField     
urlString (255)     

EpcPaymentField
definedValuesString     
editableboolean     
mandatoryboolean     
nameString     
valueString     

EpcPaymentMethod
cardValidationRegexString     
cvvLengthint     
isCvvMandatoryboolean     
codeString (8)     
descriptionString     

EpcField
nameString     
valueString     

EpcPostPaymentDetails
cardExpMonthEpcPaymentField     
cardExpYearEpcPaymentField     
cardHolderEpcPaymentField     
cardNumberEpcPaymentField     
cardTypeEpcPaymentField     
cvvEpcPaymentField     
isUsingPaymentWidgetboolean     
javascriptLibDetailsList of EpcJavascriptLibDetail     
paymentMethodsList of EpcPaymentMethod     
paymentWidgetUrlString (255)     
storeAliasEpcPaymentField     
transactionIdInteger     
hiddenFieldsList of EpcField     
urlString (255)     

EpcJavascriptLibDetail
idString     
urlString (255)     

EpcRedirectPaymentDetails
paymentMethodEpcPaymentMethod     
hiddenFieldsList of EpcField     
urlString (255)     

PaymentMethod
authorizationMode(NONE|CONTACT_MANDATE)     
changeReturnAllowedBoolean     
codeString (8)     
defaultPaymentMethodIdLong     
externalDescriptionExternalName2000 characters max for each translation
externalNameExternalName60 characters max for each translation
forPaymentBoolean     
forReimbursementBoolean     
idLong     
immediateFollowupPaymentBoolean     
inSplitPaymentAllowedBoolean     
internetCodeString (8)Comma separated list of allowed cards (VISA,AMEX...)
manualValidationBoolean     
maxOrderAmountLong     
minOrderAmountLong     
paymentType(NUM|CHEQ|CHEQCANCEL|CB|
CBCANCEL|PREPAY|VIR|AVR|
COUPON|VOUCHER|CTRM|EXT|
CA|BVR|INV|CANOAUTH|
DEPOSIT|SAPBTRANSF|
FIDELITY_POINT|DISCOUNT|
CB_WITH_VALIDATION|
DIRECT_DEBIT|PREPAYMENT|
DIRECT_DEBIT_WITHOUT_INST)
     
rankInteger     
subPaymentMethodsList of SubPaymentMethod     
tooMuchPerceivedAllowedBoolean     
withFollowUpBoolean     

ExternalName
translationsList of Translation     

Translation
localeString (2)     
valueString     

SubPaymentMethod
brandString     
imageImage     
internetCodeString (8)     
rankInteger     

Image
largeString     
mediumString     
smallString     
xlargeString     

createAlias

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
pointOfSalesIdLong     
contactNumberString (20)     
redirectionUrlString (255)     

Return value

CreateAliasResult
epcPostPaymentDetailsEpcPostPaymentDetails     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

createPayment

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Creates a payments from the given payment info and parameters. Payment parameters clarifications: either the contactId or the contactNumber must be provided. If the contactId field is given, it will be used. Else the contactNumber field will be used. Either a list of operationIds must be provided or an orderId. If the operationIds list is given, those operations will be used. Otherwise all the operations of the order with the given orderId will be used.

Parameters

requestIdInteger     
orderIdLong     
paymentsList of PaymentInfo     
paymentParamsPaymentParameters     

PaymentParameters
contactIdLong     
contactNumberString (20)     
creditCreditNotePaymentboolean     
creditWaitingAccountPaymentboolean     
operationIdsList of Long     
orderIdLong     
paymentParametersMapMap of (RETURN_URL|
ORDER_IDENTIFIER|
CONTACT_EMAIL), String
     
pointOfSalesIdLong     
remarkString     
totalAmountLong     

Return value

PaymentDetailResult

getPaymentDetails

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Get payment details for payments with the given payment id and/or payments linked to the given order id, or linked to the given operation ids

Parameters

requestIdInteger     
paymentIdLong     
orderIdLong     
operationIdsList of Long     

Return value

PaymentDetailResult

getPossiblePayerContacts

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
orderIdsList of Long     
contactNumbersList of String     

Return value

PossiblePayerContactsResult
contactsList of ContactData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ContactData
Class containing the beneficiary data :
  • contactReference, optional: the secutix contact number
  • firstName, optional: beneficiary first name
  • lastName, optional: beneficiary last name
  • email, optional: beneficiary email
  • birthday, optional: beneficiary birthday
  • firstAddressLine, optional: first address line
  • secondAddressLine, optional: second address line
  • thirdAddressLine, optional: third address line
  • zipCode, optional: address zip code
  • locality, optional: address locality
  • countryCode, optional: address country code
  • phone, optional: beneficary phone number
  • mobilePhone, optional: beneficary mobile phone number
  • contactId, optional: the contact internal id (for internal use by SecuTix only)
  • invoiceAddressId, optional: the contact address internal id
  • idNumber, optional: To store beneficiary id number like passport number.
  • birthRegion, optional: beneficiary birth region
  • birthPlace, optional: beneficiary birth place
answerQuestionnaireAnswerQuestionnaire     
birthPlaceString     
birthRegionString     
birthdayDate     
contactIdLong     
contactReferenceString (20)     
countryCodeString (8)     
emailString     
firstAddressLineString     
firstNameString     
firstNamePhoneticString     
idNumberString     
invoiceAddressIdLong     
lastNameString     
lastNamePhoneticString     
localityString     
mobilePhoneString     
phoneString     
secondAddressLineString     
structureOfficialNameString     
thirdAddressLineString     
zipCodeString (8)     

AnswerQuestionnaire
answerQuestionsList of AnswerQuestion     
ticketIdLong     

AnswerQuestion
answerCodesList of String     
questionCodeString (8)     

getPossiblePaymentMethods

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
orderIdLong     
pointOfSalesIdLong     

Return value

PaymentMethodResult
paymentMethodsList of PaymentMethod     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

isExternalPaymentServiceAlive

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

validate network connection and login/password

Parameters

Return value

WebMethodResult

loadAliasOfCustomer

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
pointOfSalesIdLong     
contactNumberString (20)     

Return value

LoadAliasResult
epcAliasPaymentDetailsList of EpcAliasPaymentDetails     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

notifyPayment

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
paymentIdLong     
maxWaitingTimeLong     

Return value

WebMethodResult

processCreditBalanceRefundByBankTransfer

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Process request for refunding the credit balance by bank transfer

Parameters

requestIdInteger-- (Optional) the requestId
creditBalanceRefundCreditBalanceRefund-- (Mandatory) contain credit balance refund request info

CreditBalanceRefund
amountDueLong     
bicNumberString     
dueDateDate     
ibanNumberString     
paymentMethodIdLong     
pointOfSalesIdLong     
refundedContactNumberString (20)     
transferReasonString     
withSummaryDocumentboolean     

Return value

CreditBalanceRefundResult
documentIdLong     
shipmentIdLong     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

removeAlias

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
pointOfSalesIdLong     
aliasIdString     
contactNumberString (20)     
redirectionUrlString (255)     

Return value

RemoveAliasResult
epcRemoveAliasDataEpcRemoveAliasData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

EpcRemoveAliasData
hiddenFieldsList of EpcField     
postUrlString (255)     

searchPaymentsByCriteria

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Allows to search payments according to a criteria.

Parameters

requestIdInteger     
searchPaymentsCriteriaSearchPaymentsCriteriaa criteria must be defined, containing at least paymentIds, orderIds or contactReferences.
minIndexIntegeroptional, default : 0
nbMaxResultsIntegeroptional, default 10. Max value : 1000

SearchPaymentsCriteria
contactReferencesList of String     
orderIdsList of Long     
paymentCreationDateFromDate     
paymentCreationDateToDate     
paymentIdsList of Long     
paymentMethodIdsList of Long     
paymentStatesList of (WAITING|IN_PROGRESS|
AUTHORIZED|PAID|
CANCELLED_BY_USER|FAILED|
ABANDONED|
WAITING_MANUAL_VALIDATION|
FAILED_REJECTED)
     
paymentTypesList of (NUM|CHEQ|CHEQCANCEL|CB|
CBCANCEL|PREPAY|VIR|AVR|
COUPON|VOUCHER|CTRM|EXT|
CA|BVR|INV|CANOAUTH|
DEPOSIT|SAPBTRANSF|
FIDELITY_POINT|DISCOUNT|
CB_WITH_VALIDATION|
DIRECT_DEBIT|PREPAYMENT|
DIRECT_DEBIT_WITHOUT_INST)
     

Return value

PaymentDetailResult

updateAliasData

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
pointOfSalesIdLong     
aliasIdString     
contactNumberString (20)     
epcAdditionalDataList of EpcField     
redirectionUrlString (255)     

Return value

UpdateAliasResult
epcAliasPaymentDetailsEpcAliasPaymentDetails     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

updatePayments

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Parameters

requestIdInteger     
orderIdLong     
paymentsList of PaymentDetail     

Return value

PaymentDetailResult