Register a new shops into Ratepay system. It is mandatory to register the shop before submitting payment requests.
Ratepay Merchant Registration API (2.0)
The Ratepay Merchant Registration API allows a fast, easy and automatable registration process for new shops.
After a successful registration shops should be able to use all configured payment methods for used partner profile-id.
The registration request for the shop needs to include a shop_id, which is generated by the partner/client. It serves as a unique identifier for the shop under the respective partner profile.
Additionally the request contains merchant legal information and correspondence settings needed for the buyer communication and for collection purposes.
The unique identifier of a new shop, provided by the partner.
URL to the shop's website, used in the buyer communication.
Contact options used by Ratepay to contact the merchant, shop or partner.
- Production environmenthttps://api.ratepay.com/merchant/registry/v2/partners/{partner_profile_id}/shops
- Test environmenthttps://api-integration.ratepay.com/merchant/registry/v2/partners/{partner_profile_id}/shops
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.ratepay.com/merchant/registry/v2/partners/DE_PARTNER_ID_PR/shops \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"shop_id": "acbd18db4cc2f85cedef654fccc4a4d8",
"name": "Animals GmbH",
"website": "https://animals.com",
"address": {
"street": "Ollenhauer Str.",
"street_number": "17A",
"street_additional": "string",
"city": "Stuttgart",
"postal_code": "70599",
"country_code": "DE"
},
"legal": {
"name": "Animal House",
"legal_form": "GmbH",
"commercial_register_number": "124156 B",
"registration_office": "Amtsgericht Charlottenburg (Berlin)",
"vat_id_number": "DE817154243.B.01",
"tax_number": "817154243",
"board_chairman": "Katja Löwe",
"managing_directors": "Ingrid Fellnase, Jens Kater, Tom Mieze",
"designation_of_management": "Geschäftsführung"
},
"contacts": {
"customer_service": {
"email": "support@cats.de"
},
"fraud": {
"email": "fraud@cats.de"
},
"incident": {
"email": "incident@cats.de"
},
"data_protection": {
"email": "privacy@cats.de"
},
"invoice_copy": {
"email": "support@cats.de"
}
},
"correspondence_settings": {
"branding_settings": {
"logo_position": "LEFT",
"highlight_color": "#BADB01"
},
"slang": {
"de": {
"salutation": "Guten Tag",
"order": "BOOKING",
"name_format": "LAST_NAME",
"formal_tone": "FORMAL",
"customer_service_contact": [
"Hotline: 0800 1234 1234 (29ct/min aus dt. Netz)",
"Fax: +49 (30) 1234567-10"
]
},
"en": {
"salutation": "Hello",
"order": "ORDER",
"name_format": "FIRST_NAME",
"formal_tone": "INFORMAL",
"customer_service_contact": [
"Office Hours: 10:00 - 18:00"
]
}
},
"payment_method_specific": [
{
"payment_method": {
"payment_option": "OPEN_INVOICE",
"transfer_type": "BANK_TRANSFER"
},
"invoice": {
"skip_sending": false,
"shop_branding": true
},
"deposit_confirmation": {
"skip_sending": false,
"shop_branding": true
},
"dunning_1": {
"skip_sending": false,
"shop_branding": true
},
"dunning_2": {
"skip_sending": false,
"shop_branding": true
},
"dunning_3": {
"skip_sending": false,
"shop_branding": true
}
},
{
"payment_method": {
"payment_option": "INSTALMENT",
"transfer_type": "DIRECT_DEBIT"
},
"invoice": {
"skip_sending": true,
"shop_branding": true
},
"deposit_confirmation": {
"skip_sending": false,
"shop_branding": true
},
"dunning_1": {
"skip_sending": false,
"shop_branding": true
},
"dunning_2": {
"skip_sending": false,
"shop_branding": true
},
"dunning_3": {
"skip_sending": false,
"shop_branding": true
}
}
]
}
}'{ "shop_id": "acbd18db4cc2f85cedef654fccc4a4d8" }
- Production environmenthttps://api.ratepay.com/merchant/registry/v2/partners/{partner_profile_id}/shops/{shop_id}
- Test environmenthttps://api-integration.ratepay.com/merchant/registry/v2/partners/{partner_profile_id}/shops/{shop_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.ratepay.com/merchant/registry/v2/partners/DE_PARTNER_ID_PR/shops/acbd18db4cc2f85cedef654fccc4a4d8 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Loaded shop details and configurations.
The unique identifier of a new shop, provided by the partner.
URL to the shop's website, used in the buyer communication.
Contact options used by Ratepay to contact the merchant, shop or partner.
{ "shop_id": "acbd18db4cc2f85cedef654fccc4a4d8", "name": "Animals GmbH", "website": "https://animals.com", "address": { "street": "Ollenhauer Str.", "house_number": "17A", "street_additional": "string", "city": "Stuttgart", "postal_code": "70599", "country_code": "DE" }, "legal": { "legal_form": "GmbH", "commercial_register_number": "124156 B", "registration_office": "Amtsgericht Charlottenburg (Berlin)", "vat_number": "DE817154243.B.01", "board_chairman": "Katja Löwe", "managing_directors": "Ingrid Fellnase, Jens Kater, Tom Mieze", "designation_of_management": "Geschäftsführung" }, "contacts": { "customer_service": { … }, "fraud": { … }, "incident": { … }, "data_protection": { … }, "invoice_copy": "support@cats.de" }, "correspondence_settings": { "branding_settings": { … }, "payment_method_specific": [ … ] } }
Request
This API endpoint will replace the configuration stored for the shop by the new one passed here
ID of the partner profile under which the existing shop has been registered.
Payload for shop update
URL to the shop's website, used in the buyer communication.
Contact options used by Ratepay to contact the merchant, shop or partner.
- Production environmenthttps://api.ratepay.com/merchant/registry/v2/partners/{partner_profile_id}/shops/{shop_id}
- Test environmenthttps://api-integration.ratepay.com/merchant/registry/v2/partners/{partner_profile_id}/shops/{shop_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://api.ratepay.com/merchant/registry/v2/partners/DE_PARTNER_ID_PR/shops/acbd18db4cc2f85cedef654fccc4a4d8 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Animals GmbH",
"website": "https://animals.com",
"address": {
"street": "Ollenhauer Str.",
"street_number": "17A",
"street_additional": "string",
"city": "Stuttgart",
"postal_code": "70599",
"country_code": "DE"
},
"legal": {
"name": "Animal House",
"legal_form": "GmbH",
"commercial_register_number": "124156 B",
"registration_office": "Amtsgericht Charlottenburg (Berlin)",
"vat_id_number": "DE817154243.B.01",
"tax_number": "817154243",
"board_chairman": "Katja Löwe",
"managing_directors": "Ingrid Fellnase, Jens Kater, Tom Mieze",
"designation_of_management": "Geschäftsführung"
},
"contacts": {
"customer_service": {
"email": "support@cats.de"
},
"fraud": {
"email": "fraud@cats.de"
},
"incident": {
"email": "incident@cats.de"
},
"data_protection": {
"email": "privacy@cats.de"
},
"invoice_copy": {
"email": "support@cats.de"
}
},
"correspondence_settings": {
"branding_settings": {
"logo_position": "LEFT",
"highlight_color": "#BADB01"
},
"slang": {
"de": {
"salutation": "Guten Tag",
"order": "BOOKING",
"name_format": "LAST_NAME",
"formal_tone": "FORMAL",
"customer_service_contact": [
"Hotline: 0800 1234 1234 (29ct/min aus dt. Netz)",
"Fax: +49 (30) 1234567-10"
]
},
"en": {
"salutation": "Hello",
"order": "ORDER",
"name_format": "FIRST_NAME",
"formal_tone": "INFORMAL",
"customer_service_contact": [
"Office Hours: 10:00 - 18:00"
]
}
},
"payment_method_specific": [
{
"payment_method": {
"payment_option": "OPEN_INVOICE",
"transfer_type": "BANK_TRANSFER"
},
"invoice": {
"skip_sending": false,
"shop_branding": true
},
"deposit_confirmation": {
"skip_sending": false,
"shop_branding": true
},
"dunning_1": {
"skip_sending": false,
"shop_branding": true
},
"dunning_2": {
"skip_sending": false,
"shop_branding": true
},
"dunning_3": {
"skip_sending": false,
"shop_branding": true
}
},
{
"payment_method": {
"payment_option": "INSTALMENT",
"transfer_type": "DIRECT_DEBIT"
},
"invoice": {
"skip_sending": true,
"shop_branding": true
},
"deposit_confirmation": {
"skip_sending": false,
"shop_branding": true
},
"dunning_1": {
"skip_sending": false,
"shop_branding": true
},
"dunning_2": {
"skip_sending": false,
"shop_branding": true
},
"dunning_3": {
"skip_sending": false,
"shop_branding": true
}
}
]
}
}'{ "shop_id": "acbd18db4cc2f85cedef654fccc4a4d8" }
Request
Use this endpoint for uploading a shop logo, which will we placed on the correspondences
Constraints for the logo file
Requirements for the image file:
- The logo file should not exceed 150 KB.
- Recommended resolution > 300 dpi
- The logo file format should be png.
- The background should be transparent.
- The logo should be in a horizontal design (width >= height).
Visualization rules:
- proportion-rule: It will be always proportionally stretched.
- max-height rule: The max-height of visualization will be 100px.
- It will be visualized in a width between 250 and 500px, if the height and proportion rules allow it.
- It will be placed on the top of the correspondence.
ID of the partner profile under which the existing shop has been registered.
- Production environmenthttps://api.ratepay.com/merchant/registry/v2/partners/{partner_profile_id}/shops/{shop_id}/logos
- Test environmenthttps://api-integration.ratepay.com/merchant/registry/v2/partners/{partner_profile_id}/shops/{shop_id}/logos
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.ratepay.com/merchant/registry/v2/partners/DE_PARTNER_ID_PR/shops/acbd18db4cc2f85cedef654fccc4a4d8/logos \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F logo=string