Get All Creditors

get

/bcws/webresources/v1.0/paymentmethods/sepa/creditors

Gets either the creditors for a specified bank or all creditors in the system.

Request

Query Parameters
  • The bank identifier code, such as IANILKU1MAR. If the value is null, it returns all creditors.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The creditors were returned successfully.
Body ()
Root Schema : creditorInfo
Type: object
Show Source
Nested Schema : creditorsDetails
Type: array
Details about a creditor.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : CreditorsDetails
Type: object
Details about a creditor.
Show Source

201 Response

The creditors were returned successfully.
Body ()
Root Schema : creditorInfo
Type: object
Show Source
Nested Schema : creditorsDetails
Type: array
Details about a creditor.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : CreditorsDetails
Type: object
Details about a creditor.
Show Source

400 Response

The request isn't valid.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get a list of SEPA creditors by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".

cURL Command

curl -X GET 'http://hostname:port/bcws/webresources/version/paymentmethods/sepa/creditors'

where:

  • hostname is the URL for the Billing Care REST server.
  • port is the port for the Billing Care REST server.
  • version is the version of the API you're using, such as v1.0.

Example of Response Body

This example shows the contents of the response body in JSON format.

{
    "extension": null,
    "creditorsDetails": [
        {
            "name": "Kreditgeber",
            "country": "DE",
            "address": "Riesstraße 2580992",
            "creditorID": "RB24DEUTSCHLAND"
        },
        {
            "name": "Creanciere",
            "country": "FR",
            "address": "15 boulevard Charles de Gaulle",
            "creditorID": "RB23FRANCE"
        },
        {
            "name": "Acreedora",
            "country": "ES",
            "address": "211 Placa de les Glories,",
            "creditorID": "RB25ESPANA"
        }   
    ]
}
Back to Top