You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 79 Next »


About Ratepay

General information about Ratepay

Logo

Info

Ratepay offers payments solutions for purchases on invoice and hire purchases as well as direct debits with full processing and carries to complete risk of payments defaults.

TypePayments by Invoice and Installments

Ratepay is a whitelabel online service provider which allows merchants to provide their customers secure and commonly used payment methods. Below are the payment methods that are supported by Ratepay:

  • Open Invoice - Open Invoice is a payment method that enables customers to purchase goods or services on credit and pay at a later date. With Open Invoice customers receive an invoice detailing the amount owed, payment terms, and due date.

    When a customer selects Open Invoice during the checkout, Ratepay performs a real-time risk check. The advantage of using Open Invoice is that it can improve cash flow for both the buyer and merchants:

    • For buyers: They can purchase goods or services without having to pay for them immediately, which can be beneficial for managing their finances.
    • For merchants: With Ratepay you profit as a merchant from a full invoice purchase service. You pass on all the invoice data during the order to Ratepay, who takes over the complete billing and debtor management. As merchant you get a payment guarantee.
  • SEPA Direct Debit - Ratepay offers classical hire purchase and SEPA direct debit. SEPA Direct Debit is a payment method that allows merchants to collect payments from buyers directly from their bank account via their IBAN, who have granted them permission to do so.

Further information can be found on the webpage of Ratepay (https://www.ratepay.com/en/).


Process flow chart

Ratepay process flow


Get Started

  1. To start accepting Ratepay payment methods, first onboard with Ratepay.
  2. Once onboarded below information should be provided to you by Ratepay:
    1. Client ID: Username to connect to Ratepay's API
    2. Client Secret: Password to connect to Ratepay's API
    3. Partner Shop ID: The unique identifier assigned to you by Ratepay
  3. Reach out to Computop Helpdesk to enable Ratepay as a payment method and provide the above details securely.


Paygate interface

Definitions

Data formats

Format

Description

a

alphabetical

as

alphabetical with special characters

n

numeric

an

alphanumeric

ans

alphanumeric with special characters

ns

numeric with special characters

bool

boolean expression (true or false)

3

fixed length with 3 digits/characters

..3

variable length with maximum 3 digits/characters

enum

enumeration of allowed values

dttm

ISODateTime (YYYY-MM-DDThh:mm:ss)


Abbreviations

Abbreviation

Description

Comment

CND

condition


M

mandatory

If a parameter is mandatory, then it must be present

O

optional

If a parameter is optional, then it can be present, but it is not required

C

conditional

If a parameter is conditional, then there is a conditional rule which specifies whether it is mandatory or optional


Notice: Please note that the names of parameters can be returned in upper or lower case.


Initiate Ratepay payment

Once the customer proceeds to checkout you show a default list of Ratepay payment methods to pay. Once the customer proceeds to pay with Ratepay payment method, your backend need to make a server to server call to the following URL for making a payment request:

 

Notice: For security reasons, Computop Paygate rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription

MerchantID

ans..30

M

MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too.

KeyFormatCNDDescription
TransID

ans..64

MTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

KeyFormatCNDDescription
Amountn..10M

Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit).

KeyFormatCNDDescription
Currency

a3

M

Currency, three letters DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table

KeyFormatCNDDescription
ReqId

ans..32

O

To avoid double payments or actions (e.g. by ETM), enter an alphanumeric value which identifies your transaction and may be assigned only once. If the transaction or action is submitted again with the same ReqID, Computop Paygate will not carry out the payment or new action, but will just return the status of the original transaction or action.

Please note that the Computop Paygate must have a finalized transaction status for the first initial action (authentication/authorisation). This does not apply to 3-D Secure authentications that are terminated by a timeout. The 3-D Secure Timeout status does not count as a completed status in which the ReqID functionality on Paygate does not take effect. Submissions with identical ReqID for an open status will be processed regularly.

Notice: Please note that a ReqID is only valid for 12 month, then it gets deleted at the Paygate.

Key

Format

CND

Description

OrderDescans..768ODescription of the goods purchased
bdFirstNameans..100CFirst name of the customer who is billed. For B2B transactions it should be the contact person in the company. Required for B2C. Optional for B2B.
bdLastNameans..100CLast name of the customer who is billed. For B2B transactions it should be the contact person in the company. Required for B2C. Optional for B2B.
bdStreetans..100MStreet name of the billing address
bdStreetNrans..30OHouse number of the billing address
bdStreetAdditionans..50OAdditional info of the billing address
bdCityans..100MCity of the billing address
bdCountryCodeans..2MCountry code of the billing address
bdZIPans..10MPostal code of the billing address
Titleans..45OTitle of the customer
DateOfBirthans..10CDate of birth of customer in YYYY-MM-DD format. Required for B2C.
bdCompanyNameans..100CCompany Name. Required for B2B transactions.
VatIDans..25OCompany Vat ID. Relevant for B2B transactions.
Emailans..100MEmail address of the customer
Phoneans..60MPhone number of the customer
Languageans..2OThe language in which the buyer prefers communication to be done. If the preferred language is not supported, the buyer communication will be in German. Must conform to ISO 639-1 alpha 2.
CustomerIDan..100OUnique customer ID from your system
sdFirstNameans..100CFirst name of the shipping address. For B2B transactions it should be the contact person in the company.
sdLastNameans..100CLast name of the shipping address. For B2B transactions it should be the contact person in the company.
sdCompanyNameans..100CCompany Name
sdStreetans..100MStreet name of the shipping address
sdStreetHouseNumberans..30OHouse number of the shipping address
sdStreetAdditionans..50OAdditional info of the shipping address
sdCityans..100MCity of the shipping address
sdCountryCodeans..2MCountry code of the shipping address
sdZIPCodeans..10MPostal code of the shipping address
IPAddrans..39OIP Address of the customer's device
DeviceTokenans..255ODevice token
ChannelenumOThe sales channel the transaction originates from: "WEBSHOP", "POINT_OF_SALE", "PHONE_OR_MAIL"
BICans..50OBank Identifier Code
IBANans..34CInternational Bank Account Number. Mandatory when DebitPayType is SEPA_DIRECT_DEBIT.
AccOwnerans..100CName of account holder. Mandatory when DebitPayType is SEPA_DIRECT_DEBIT.
RPMethodenumMThe payment option the buyer selected: "OPEN_INVOICE", "PAY_NOW"
DebitPayTypeenumMThe transfer type the buyer selected: "BANK_TRANSFER", "SEPA_DIRECT_DEBIT
shoppingBasket JSONMShopping basket. For structure see Shopping Basket below. Has to be sent as Base64 encoded.
Parameters for Ratepay payments


The following table describes the result parameters with which the Computop Paygate responds to your system

(info) pls. be prepared to receive additional parameters at any time and do not check the order of parameters

(info) the key (e.g. mid, RefNr) should not be checked case-sentive

KeyFormatCNDDescription

mid

ans..30

M

MerchantID, assigned by Computop

KeyFormatCNDDescription
PayID

an32

M

ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request.

KeyFormatCNDDescription
XID

an32

M

ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate

KeyFormatCNDDescription
TransID

ans..64

MTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
Status

a..50

M

OK (URLSuccess) or FAILED (URLFailure)

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

Key

Format

CND

Description

AuthorizationExpirydttmCThe date and time when remaining un-cancelled and un-captured authorized amount will be automatically cancelled. Timestamp with offset according to ISO 8601. Available only for successful responses HTTP 201.
BankNameans..127CBank name of the bank account the customer has to transfer the money to. Provided only when DebitPayType is sent as BANK_TRANSFER in request.
BICans..50CBIC of the bank account the customer has to transfer the money to. Provided only when DebitPayType is sent as BANK_TRANSFER in request.
IBANans..34CIBAN of the bank account the customer has to transfer the money to. Provided only when DebitPayType is sent as BANK_TRANSFER in request.
AccOwnerans..100CAccount owner name of the bank account the customer has to transfer the money to. Provided only when DebitPayType is sent as BANK_TRANSFER in request.
RatepayPaymentReferenceans..127CPurpose to be indicated in the bank transfer (generated by Ratepay). Provided only when DebitPayType is sent as BANK_TRANSFER in request.

ExternalDeclineCategory

ans..

C

Decline category. See Decline Categories for details.

ExternalMessageans..256C

A message describing which constraint was violated

ExternalCodesans..64C

List of none, one or multiple reasons why the request was declined. See Decline Categories to learn about possible reasons for each decline category.

RPTransIDans..50M

ID of transaction generated by Ratepay during authorization. A transaction ID is generated for both accepted and declined transactions.

Result parameters for Ratepay payments


Incremental Authorization

This function increases the amount of a previously authorized transaction. You can only increment the original authorized amount by 30% or by €300 whichever is lower. You can only send one incremental authorization request for the original transaction. In order to increase a payment transaction with Ratepay, please use the following URL:

 

Notice: For security reasons, Computop Paygate rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription

MerchantID

ans..30

M

MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too.

KeyFormatCNDDescription
PayID

an32

M

ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request.

KeyFormatCNDDescription
TransID

ans..64

MTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

KeyFormatCNDDescription
Amountn..10M

Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit).

KeyFormatCNDDescription
Currency

a3

M

Currency, three letters DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table

Key

Format

CND

Description

itemsJSONOItem list. For structure see Shopping Basket below, only the items part. Has to be sent as Base64 encoded.
vatsJSONOVat information. For structure see Shopping Basket below, only the vats part. Has to be sent as Base64 encoded.
Parameters for increment Ratepay payments


The following table describes the result parameters with which the Computop Paygate responds to your system

(info) pls. be prepared to receive additional parameters at any time and do not check the order of parameters

(info) the key (e.g. mid, RefNr) should not be checked case-sentive

KeyFormatCNDDescription

mid

ans..30

M

MerchantID, assigned by Computop

KeyFormatCNDDescription
PayID

an32

M

ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request.

KeyFormatCNDDescription
XID

an32

M

ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate

KeyFormatCNDDescription
TransID

ans..64

MTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
Status

a..50

M

OK (URLSuccess) or FAILED (URLFailure)

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

Key

Format

CND

Description

ExternalDeclineCategory

ans..

C

Decline category. See Decline Categories for details.

ExternalMessageans..256C

A message describing which constraint was violated

ExternalCodesans..64C

List of none, one or multiple reasons why the request was declined. See Decline Categories to learn about possible reasons for each decline category.

RPTransIDans..50M

ID of confirmed authorization generated by Ratepay

Response parameters for increment Ratepay payments


Capture a Ratepay payment

In order to capture a payment transaction with Ratepay, please use the following URL:

 

Notice: For security reasons, Computop Paygate rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription

MerchantID

ans..30

M

MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too.

KeyFormatCNDDescription
PayID

an32

M

ID assigned by Paygate for the payment to be captured

Key

Format

CND

Description

TransIDans..64OTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

KeyFormatCNDDescription
Amountn..10M

Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit).

KeyFormatCNDDescription
Currency

a3

M

Currency, three letters DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table

Key

Format

CND

Description

itemsJSONOItem list. For structure see Shopping Basket below, only the items part. Has to be sent as Base64 encoded.
vatsJSONOVat information. For structure see Shopping Basket below, only the vats part. Has to be sent as Base64 encoded.
Parameters for capture of a Ratepay payment


The following table describes the result parameters with which the Computop Paygate responds to your system

(info) pls. be prepared to receive additional parameters at any time and do not check the order of parameters

(info) the key (e.g. mid, RefNr) should not be checked case-sentive

KeyFormatCNDDescription

mid

ans..30

M

MerchantID, assigned by Computop

KeyFormatCNDDescription
PayID

an32

M

ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request.

KeyFormatCNDDescription
XID

an32

M

ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate

Key

Format

CND

Description

TransIDans..64OTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
Status

a..50

M

OK (URLSuccess) or FAILED (URLFailure)

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

Key

Format

CND

Description

ExternalDeclineCategory

ans..

C

Decline category. See Decline Categories for details.

ExternalMessageans..256C

A message describing which constraint was violated

ExternalCodesans..64C

List of none, one or multiple reasons why the request was declined. See Decline Categories to learn about possible reasons for each decline category.

RPCaptureIDans..50M

ID of transaction generated by Ratepay for capture

Response parameters for capturing a Ratepay payment


Cancel / return of Ratepay payments

In order to cancel a payment transaction with Ratepay, please use the following URL:


Notice: For security reasons, Computop Paygate rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription

MerchantID

ans..30

M

MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too.

KeyFormatCNDDescription
PayID

an32

M

ID assigned by Paygate for the payment to be reversed

Key

Format

CND

Description

TransIDans..64OTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

KeyFormatCNDDescription
Amountn..10M

Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit).

KeyFormatCNDDescription
Currency

a3

M

Currency, three letters DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table

Key

Format

CND

Description

itemsJSONOItem list. For structure see Shopping Basket below, only the items part. Has to be sent as Base64 encoded.
vatsJSONOVat information. For structure see Shopping Basket below, only the vats part. Has to be sent as Base64 encoded.
Parameters for cancellation / return of a Ratepay payment


The following table describes the result parameters with which the Computop Paygate responds to your system

(info) pls. be prepared to receive additional parameters at any time and do not check the order of parameters

(info) the key (e.g. mid, RefNr) should not be checked case-sentive

KeyFormatCNDDescription

mid

ans..30

M

MerchantID, assigned by Computop

KeyFormatCNDDescription
PayID

an32

M

ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request.

KeyFormatCNDDescription
XID

an32

M

ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate

Key

Format

CND

Description

TransIDans..64OTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
Status

a..50

M

OK (URLSuccess) or FAILED (URLFailure)

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

Key

Format

CND

Description

ExternalDeclineCategory

ans..

C

Decline category. See Decline Categories for details.

ExternalMessageans..256C

A message describing which constraint was violated

ExternalCodesans..64C

List of none, one or multiple reasons why the request was declined. See Decline Categories to learn about possible reasons for each decline category.

RPCancellationIDans..50M

ID of transaction generated by Ratepay for cancellation

Response parameters for cancellation / return of a Ratepay payment


Credit / refund Ratepay payment

In order to refund a payment transaction with Ratepay, please use the following URL:

 

Notice: For security reasons, Computop Paygate rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription

MerchantID

ans..30

M

MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too.

KeyFormatCNDDescription
PayID

an32

M

ID assigned by Paygate for the payment to be credited

Key

Format

CND

Description

TransIDans..64OTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

KeyFormatCNDDescription
Amountn..10M

Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit).

KeyFormatCNDDescription
Currency

a3

M

Currency, three letters DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table

Key

Format

CND

Description

itemsJSONOItem list. For structure see Shopping Basket below, only the items part. Has to be sent as Base64 encoded.
vatsJSONOVat information. For structure see Shopping Basket below, only the vats part. Has to be sent as Base64 encoded.
Parameters for crediting a Ratepay payment


The following table describes the result parameters with which the Computop Paygate responds to your system

(info) pls. be prepared to receive additional parameters at any time and do not check the order of parameters

(info) the key (e.g. mid, RefNr) should not be checked case-sentive

KeyFormatCNDDescription

mid

ans..30

M

MerchantID, assigned by Computop

KeyFormatCNDDescription
PayID

an32

M

ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request.

KeyFormatCNDDescription
XID

an32

M

ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate

Key

Format

CND

Description

TransIDans..64OTransactionID provided by you which should be unique for each payment

KeyFormatCNDDescription
Status

a..50

M

OK (URLSuccess) or FAILED (URLFailure)

KeyFormatCNDDescription
refnr

ans..30

O

Merchant’s unique reference number

Key

Format

CND

Description

ExternalDeclineCategory

ans..

C

Decline category. See Decline Categories for details.

ExternalMessageans..256C

A message describing which constraint was violated

ExternalCodesans..64C

List of none, one or multiple reasons why the request was declined. See Decline Categories to learn about possible reasons for each decline category.

RPRefundIDans..50M

ID of transaction generated by Ratepay for credit

Response parameters for crediting a Ratepay payment


ShoppingBasket parameter explained

The following table describes the individual values within the ShoppingBasket:

Key

Format

CND

Description

shoppingBasketAmountn..10M

The amount for the basket including VAT given in the currency of the transaction. shoppingBasketAmount=Sum from all items for ((unitPriceGross+discount) * quantity). Note: Since discount is a negative amount the addition above actually subtracts the discount from unitPriceGross.

items.artNrans..255O

The article number of the item, e.g. SKU. Not allowed to contain only whitespaces.

items.categoryans..511O

Category for the item

items.descriptionAdditionansO

Description of the item

items.discountansO

Gross discount on one item after taxes. Needs to be a negative value. Example: For a discount of 20.55 pass -2055.

items.namestringM

Name of the item

items.unitPriceGrossn..10M

Gross value of one item after taxes. For a value of €100.00 pass it as 10000.

items.quantityn..M

Ordered quantity of the item

items.taxRatedecimalM

Tax rate applicable for the item given in percent. Pass this value up to 2 decimals. For example 15.55% should be sent as 15.55.

items.unitans..255O

Arbitrary measurement unit of the item, e.g. kg, litre, pieces

vats.netAmountn..10M

Amount before taxes for all items

vats.taxAmountn..10M

Total tax amount for all the items for the given tax rate. For a value of 100.00 pass 10000.

vats.taxRatedecimalM

Tax rate given as percentage on the net amount. Pass this value up to 2 decimals. For example 15.55% should be sent as 15.55.

Parameters within the shopping basket


[
    {
        "shoppingBasketAmount": 7350,
        "items": [
            {
                "artNr": 37,
                "category": "Electronics",
                "descriptionAddition": "desc 1",
                "discount": -50,
                "name": "High-performance laptop",
                "unitPriceGross": 2500,
                "quantity": 1,
                "taxRate": 0.04,
                "unit": "pcs"
            },
            {
                "artNr": 38,
                "category": "Accessories",
                "descriptionAddition": "desc 1",
                "discount": -50,
                "name": "Wireless gaming mouse",
                "unitPriceGross": 2500,
                "quantity": 2,
                "taxRate": 0.04,
                "unit": "pcs"
            }
        ],
        "vats": [
            {
                "netAmount": 7200,
                "taxAmount": 300,
                "taxRate": 0.04
            }
        ]
    }
]



  • No labels