Payment Parameters

General

Abbreviations

AbbreviationDescription
CNDcondition
Mmandatory - must be presented
Ooptional - can be presented, but is not required
Cconditional - a conditional rule that specifies mandatory or optional

Payment Request Parameters

KeyFormatCNDDescription
brandstring (enum)Mname of the payment method - always: WERO
amountdecimals (max 2 digits)Mpayment amount, range 0.01 - 100000
currencystring
(enum, ISO4217)
MCurrency Code - only EUR
useCasestringMsets payment plan type (SINGLE, EVENT_DEPENDENT, SUBSCRIPTION)
reasonForCapturestring
(enum)
OThe reason why a capture is triggered -
defaults to OTHER
(SHIPPING, DELIVERY, AVAILABILITY, SERVICE_FULFILMENT, OTHER)
partialCapturebooleanOindicates if the consumer must be charged the complete amount or up to the amount
(true/false) - default: true
timeToCaptureinteger
(86400-864000)
Omax. time (in seconds) between authorization and capture - default 604800 (depending on the merchant category)
multiCapturebooleanOindicates if multiple captures are allowed - default: true
transactionIdstring (max 64 chars)Mmerchant reference string to identify a transaction
returnURLstring (URL)Mthe URL of the shop page where the customer will be redirected to
transactionDescriptionstring (max 128 chars)Odescription text for a transaction, provided by the merchant
walletIdstring (UUID)Ounique wallet ID of the customer
Example: 11111111-2222-3333-4444-555555555555
recipientNamestring (max 128 chars)Mfirst and last name of the recipient
line1string (max 300 chars)MFirst line of the billing/shipping address
line2string (max 300 chars)Osecond line of the billing/shipping address. Used for additional address information
postalCodestring (max 32 chars)Mpostal code of the billing/shipping address
citystring (max 64 chars)Mcity of the billing/shipping address
statestring (max 300 chars)Ostate of the billing/shipping address
countrystring (ISO3166-1)Mcountry of the billing/shipping address
referrerstring (URL)Mthe URL of the shop the customer triggered the payment

Payment Capture

KeyFormatCNDDescription
paymentIdstring (UUID)Munique Id of the payment consent request
merchantTransactionIdstring max 64 chars)Ohuman-readable reference string from the merchant to identify a transaction
amountdecimal (max 2 digits)Mpayment amount, range 0.01 to 100000
currencystring (ISO4217)MCurrency Code - only EUR
finalCapturebooleanOindicates if capture is the last capture
(true/false) - default: false

Payment Refunds

FieldFormatCNDDescription
paymentIduuidMunique Id of the payment consent request
captureIduuidMidentifier of the capture to be refunded
amountnumberMpayment amount, range 0.01 - 100000
currencystring (ISO4217)MCurrency Code - only EUR
refundReasonstringOreason for refund
(RETURNED_GOODS, WRONG_AMOUNT_CORRECTION, OTHER)
transactionDescriptionstringOa description text for a transaction, provided by the merchant

Subscriptions

FieldFormatCNDDescription
repetitionstringMdefines chosen payment interval
(WEEKLY, MONTHLY, QUARTERLY, HALF_YEARLY, YEARLY)
startAtstring (ISO8601)Mspecifies date from which the subscription contractually begins for the customer.
firstPaymentAtstring (ISO8601)Mdetermines date of first payment for subscription
endAtstring (ISO8601)Ospecifies end date of subscription if known. Can be omitted, when not known.

Consumer Present Future Payment

FieldFormatCNDDescription
deferredCapturebooleanOindicating if a capture will be triggered later separately (TRUE) or not (FALSE) after the payment authorization
firstPaymentobjectOspecifying if there is an immediate payment connected along with the registration of WERO (includes "currency" and "amount")
referrerstring (URL)Mthe URL of the shop the customer triggered the payment
deviceIpAddressstringMIP address of the customer
deviceIdstring (UUID)Mid of the device of the customer
deviceUserAgentstringMidentifying the specific software, operating system, and device type making the request
malwareDetectedstring (enum)Mindicates if a malware was detected (unknown/false/true

Did this page help you?