Direct Debits

Download Spec

All direct debits related paths

List direct debits

get /account_groups/{account_group_id}/payments/direct_debits

List direct debits

sort

string

Field of resource to sort by

Default
"created_at"
Enum
  • id
  • created_at
Example
"id"

order

string

Sort order of the result list if the sort parameter is specified. Use ASC for ascending or DESC for descending sort order.

Default
"ASC"
Enum
  • ASC
  • DESC

limit

int

int32

Use the limit argument to specify the maximum number of items returned.

Default
100
Min
0
Max
1000

offset

int

int32

Use the offset argument to specify where in the list of results to start when returning items for a particular query.

Min
0

Response

ExamplesSchema

Direct debits list

{
  "meta": {
    "offset": 0,
    "limit": 100,
    "count": 1,
    "total_count": 1,
    "sort": "id",
    "order": "ASC"
  },
  "data": [
    {
      "id": "1ab4fef9-a097-4c6f-9345-647025d5fde6",
      "created_at": "2020-08-24T14:15:22Z",
      "user_id": "82b49999-1145-4e05-916a-567662daa7bc",
      "account_group_id": "1ea60f56-b67b-61fc-829a-0242ac130003",
      "mandate_id": "730b8719-0bc6-401d-98dd-b2de72afbf05",
      "cash_amount": "200.00",
      "currency": "EUR",
      "remittance_information": "payment for green energy portfolio",
      "status": "NEW"
    }
  ]
}

Trigger a direct debit

post /payments/direct_debits

Trigger a direct debit

user_id

string

uuid

required

User unique identifier.

account_group_id

string

uuid

required

Account group unique identifier.

mandate_id

string

uuid

required

Direct Debit Mandate unique identifier.

cash_amount

string

^[0-9]{1,9}(\.[0-9]{2})?$

required

remittance_information

string

^[0-9A-Za-z+?/\-:()\.,'; ]{0,140}$

Payment reference the end user will see in their bank statement for the corresponding direct debit booking (“Verwendungszweck”)

Max Length
140

Request

{
  "user_id": "83d83ec2-d2ca-49ff-bbea-b92b5c3be202",
  "account_group_id": "1ea60f56-b67b-61fc-829a-0242ac130003",
  "mandate_id": "95b8304e-19fc-4cd9-8e50-82532e6b8d8c",
  "cash_amount": "200.00",
  "remittance_information": "payment for green energy portfolio"
}

Response

ExamplesSchema

Direct debit

{
  "id": "1ab4fef9-a097-4c6f-9345-647025d5fde6",
  "created_at": "2020-08-24T14:15:22Z",
  "user_id": "82b49999-1145-4e05-916a-567662daa7bc",
  "account_group_id": "1ea60f56-b67b-61fc-829a-0242ac130003",
  "mandate_id": "730b8719-0bc6-401d-98dd-b2de72afbf05",
  "cash_amount": "200.00",
  "currency": "EUR",
  "status": "NEW"
}

Retrieve a direct debit

get /payments/direct_debits/{direct_debit_id}

Retrieve a direct debit

direct_debit_id

string

uuid

required

Direct debit funding request unique identifier

Response

ExamplesSchema

Direct debit payment

{
  "id": "1ab4fef9-a097-4c6f-9345-647025d5fde6",
  "created_at": "2020-08-24T14:15:22Z",
  "user_id": "82b49999-1145-4e05-916a-567662daa7bc",
  "account_group_id": "1ea60f56-b67b-61fc-829a-0242ac130003",
  "mandate_id": "730b8719-0bc6-401d-98dd-b2de72afbf05",
  "cash_amount": "200.00",
  "currency": "EUR",
  "remittance_information": "payment for green energy portfolio",
  "status": "NEW"
}

id

string

uuid

required

Event unique identifier

created_at

string

date-time

required

Date and time when the event was created. RFC 3339-5, ISO8601 UTC

type

string

required

Event type

Enum
  • DIRECT_DEBIT.NEW
  • DIRECT_DEBIT.PROCESSING
  • DIRECT_DEBIT.CONFIRMED
  • DIRECT_DEBIT.CANCELLED

object

object (object)

required

webhook_id

string

uuid

required

Webhook unique identifier.

Request

{
  "id": "8962b496-8d42-4560-bfab-10490dd1a721",
  "created_at": "2021-07-21T14:10:00.00Z",
  "type": "DIRECT_DEBIT.NEW",
  "object": {
    "id": "1ab4fef9-a097-4c6f-9345-647025d5fde6",
    "created_at": "2020-08-24T14:15:22Z",
    "user_id": "82b49999-1145-4e05-916a-567662daa7bc",
    "account_group_id": "1ea60f56-b67b-61fc-829a-0242ac130003",
    "mandate_id": "730b8719-0bc6-401d-98dd-b2de72afbf05",
    "cash_amount": "200.00",
    "currency": "EUR",
    "remittance_information": "payment for green energy portfolio",
    "status": "NEW"
  },
  "webhook_id": "9df39835-be87-4243-9018-f2500b39cee6"
}

Response

ExamplesSchema

Request has been processed successfully.

Empty response

Was this page helpful?