docs
  1. Resources
  2. Payment Methods
  3. Request The Ratepay Secci Document

Request the Ratepay SECCI document

1.0.1
OpenAPI 3.0.1

Checkout backend APIs to be consumed by custom checkout frontends.

Flow:

  1. Obtain an access token from the Authentication Service.
  2. Load configuration via the config endpoint.
  3. Initialise a new checkout session via the putState endpoint.
  4. Update customer and order data via the various state-mutating endpoints.
  5. Confirm payment and order via the payment execution endpoint.

In addition, the get state endpoint should be called periodically to fetch the latest information, such as stock updates.

Client Libraries

Payment Methods

​

Request the Ratepay SECCI document

​

Requests the Standard European Consumer Credit Information (SECCI) for the selected Ratepay Invoice payment option, as required by CCD2 before the order is placed.

With PDF the generated document is returned base64 encoded so it can be downloaded immediately. With EMAIL Ratepay sends the document to the customer's email address.

A successful request makes secciStatus of the payment option valid. It becomes missing again when the basket or the selected payment option changes, and the order cannot be placed with Ratepay Invoice until a new SECCI is requested.

Query Parameters

  • When true, includes checkout configuration (available countries, translations, feature flags, URLs) in the response. Defaults to false. Config data is static per shopId + device combination and does not change within a session.

Headers

  • Unique identifier for the shop

  • Required for customer session identification

Body

required
application/json
  • How the SECCI is delivered to the customer.

Responses

  • application/json
  • No available items in basket

  • Customer is unauthorized (eg session ended)

  • Forbidden

  • There is no basketId attached to the session

  • application/json
  • application/json
  • application/json
  • Internal server error

Request Example for post/api/co/v3/state/order/payment/ratepay/secci
curl '/api/co/v3/state/order/payment/ratepay/secci?includeConfig=true' \
  --request POST \
  --header 'x-shop-id: ' \
  --header 'x-device: app' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "deliveryMethod": "PDF"
}'
{
"config": {
"availableCountries": {
"billing": [
{
"iso2Code": "DE",
"iso3Code": "DEU",
"centerCoordinates": {
"latitude": 51.149281585319,
"longitude": 10.461591249035

Models

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​

Last updated: November 30, 2026