Withdrawals

Download Spec

All withdrawals related paths

Trigger a withdrawal

post /payments/withdrawals

Trigger a withdrawal

reference_account_id

string

uuid

required

Reference account unique identifier.

account_group_id

string

uuid

required

Account group unique identifier.

user_id

string

uuid

required

User unique identifier.

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 credit transfer booking (“Verwendungszweck”)

Max Length
140

Request

{
  "reference_account_id": "295378ec-036e-4f3f-ae5c-2be85c93e837",
  "account_group_id": "2596db3b-0d03-4651-9eda-970910479dfb",
  "user_id": "e56c14b3-8370-4c04-bc67-7092f7ec113c",
  "amount": "200.00",
  "remittance_information": "Withdrawal"
}

Response

ExamplesSchema

Withdrawal

{
  "id": "6ffa6b16-2380-4e7a-88b2-ae625c8eef99",
  "created_at": "2020-08-24T14:15:22Z",
  "updated_at": "2020-08-24T14:15:22Z",
  "reference_account_id": "295378ec-036e-4f3f-ae5c-2be85c93e837",
  "account_group_id": "ac1c39e9-2101-46b8-a624-d10a9e351b6c",
  "user_id": "b668282b-cdf3-439a-bda2-3f3c9f655bb7",
  "amount": "200.00",
  "currency": "EUR",
  "remittance_information": "Withdrawal",
  "status": "NEW"
}

Retrieve withdrawal

get /payments/withdrawals/{withdrawal_id}

Retrieve withdrawal

withdrawal_id

string

uuid

required

Cash withdrawal unique identifier

Response

ExamplesSchema

Withdrawal

{
  "id": "6ffa6b16-2380-4e7a-88b2-ae625c8eef99",
  "created_at": "2020-08-24T14:15:22Z",
  "updated_at": "2020-08-24T14:15:22Z",
  "reference_account_id": "295378ec-036e-4f3f-ae5c-2be85c93e837",
  "account_group_id": "ac1c39e9-2101-46b8-a624-d10a9e351b6c",
  "user_id": "b668282b-cdf3-439a-bda2-3f3c9f655bb7",
  "amount": "200.00",
  "currency": "EUR",
  "remittance_information": "Withdrawal",
  "status": "CONFIRMED"
}

Cancel withdrawal by ID

delete /payments/withdrawals/{withdrawal_id}

Cancels a withdrawal specified by its ID. It is only possible to cancel a withdrawal if it has the status NEW.

withdrawal_id

string

uuid

required

Cash withdrawal unique identifier

Response

ExamplesSchema

Request has been processed successfully.

Empty response

List withdrawals

get /account_groups/{account_group_id}/payments/withdrawals

List withdrawals

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

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

limit

int

int32

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

Default
100
Min
0
Max
1000

Response

ExamplesSchema

Withdrawals list

{
  "meta": {
    "offset": 0,
    "limit": 100,
    "count": 1,
    "total_count": 1
  },
  "data": [
    {
      "id": "6ffa6b16-2380-4e7a-88b2-ae625c8eef99",
      "created_at": "2020-08-24T14:15:22Z",
      "updated_at": "2020-08-24T14:15:22Z",
      "reference_account_id": "295378ec-036e-4f3f-ae5c-2be85c93e837",
      "account_group_id": "ac1c39e9-2101-46b8-a624-d10a9e351b6c",
      "user_id": "b668282b-cdf3-439a-bda2-3f3c9f655bb7",
      "amount": "200.00",
      "currency": "EUR",
      "remittance_information": "Withdrawal",
      "status": "CONFIRMED"
    }
  ]
}

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
  • WITHDRAWAL.NEW
  • WITHDRAWAL.PROCESSING
  • WITHDRAWAL.CONFIRMED
  • WITHDRAWAL.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": "WITHDRAWAL.NEW",
  "object": {
    "id": "6ffa6b16-2380-4e7a-88b2-ae625c8eef99",
    "created_at": "2020-08-24T14:15:22Z",
    "updated_at": "2020-08-24T14:15:22Z",
    "reference_account_id": "295378ec-036e-4f3f-ae5c-2be85c93e837",
    "account_group_id": "ac1c39e9-2101-46b8-a624-d10a9e351b6c",
    "user_id": "b668282b-cdf3-439a-bda2-3f3c9f655bb7",
    "amount": "200.00",
    "currency": "EUR",
    "remittance_information": "Withdrawal",
    "status": "NEW"
  },
  "webhook_id": "9df39835-be87-4243-9018-f2500b39cee6"
}

Response

ExamplesSchema

Request has been processed successfully.

Empty response

Was this page helpful?