Skip to content

↔ Request/Response parameter

<address>

TypeCondition
typeMandatory
delivery-typeShould only be set for addresses with type
DELIVERY

<address@type>

Kind of address

TypeConditionEnumeration
xs:stringMandatory- BILLING
- DELIVERY

The billing address is mandatory.

Delivery address is optional. It can contain different recipients. I.e. the first-name, last-name and salutation can differ from the customer's first-name, last-name and salutation.

Deviating delivery addresses must be contractually agreed with Ratepay. Otherwise those transactions will be rejected.

The delivery address can contain a company name, even the purchase order is about B2C.


<address@delivery-type>

Kind of delivery-type

Delivery TypeConditionEnumeration
xs:stringOptional, default value is
ADDRESS
- ADDRESS
- IN_STORE_COLLECT
- PICK_UP_BOX
- PICK_UP_SHOP

If delivery type is set for billing address, the value must be ADDRESS.

Delivery type different than ADDRESS must be contractually agreed with Ratepay. Otherwise those transactions will be rejected.


address > company

➡ Request Parameter

<company>

TypeConditionRestriction
xs:stringOptional:
- For delivery address

N/A:
- For billing address
Length <=100

address > salutation

Salutation of delivery addressee, e.g. "Mr." or "Mrs."

➡ Request Parameter

<salutation>

TypeConditionRestriction
xs:stringOptional for:
- delivery address

N/A:
- For billing address
Length <=45

address > first-name

First name of delivery addressee

➡ Request Parameter

<first-name>

TypeConditionRestriction
xs:stringOptional for:
- delivery address

N/A:
- For billing address
Length <=100

address > last-name

Last name of delivery addressee

➡ Request Parameter

<last-name>

TypeConditionRestriction
xs:stringOptional for:
- delivery address

N/A:
- For billing address
Length <=100

address > street

↔ Request/Response parameter

<street>

Request

Street name

TypeConditionRestriction
xs:stringMandatoryLength <=100

Response

Street name (normalized)

TypeConditionRestriction
xs:stringOptionalLength <=100

address > street-number

➡ Request/Response Parameter

<street-number>

Request

Street number

TypeConditionRestriction
xs:stringOptionalLength <=30

If it is not possible to send the street number separately, it may be sent together at the end of the element street.

Response

Street number (normalized)

TypeConditionRestriction
xs:stringOptionalLength <=10

address > street-additional

➡ Request Parameter

<street-additional>

TypeConditionRestriction
xs:stringOptionalLength <=50

address > zip-code

↔ Request/Response parameter

<zip-code>

Request

Postal code

TypeConditionRestriction
xs:stringMandatoryLength <=10

Response

Postal code (normalized)

TypeConditionRestriction
xs:stringOptionalLength <=10

address > city

↔ Request/Response parameter

<city>

Request

City

TypeConditionRestriction
xs:stringMandatoryLength <=100

Response

City (normalized)

TypeConditionRestriction
xs:stringOptionalLength <=100

address > country-code

ISO-3166 alpha 2

➡ Request Parameter

See XSD File for further information regarding the format.

<country-code>

TypeConditionExample value
countryCodeTypeMandatoryDE

For compatibility reasons ISO-3166 numeric and alpha 3 are still supported. Don’t use them when performing a new integration.