Skip to main content
GET
/
customers
List and search customers
curl --request GET \
  --url https://api.dwolla.com/customers \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Accept: '<accept>', Authorization: 'Bearer <token>'}};

fetch('https://api.dwolla.com/customers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.dwolla.com/customers"

headers = {
"Accept": "<accept>",
"Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dwolla.com/customers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
require 'uri'
require 'net/http'

url = URI("https://api.dwolla.com/customers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Accept"] = '<accept>'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "_links": {},
  "_embedded": {
    "customers": [
      {
        "_links": {},
        "id": "c41125c5-99c4-4303-a9f6-d066d28a61e3",
        "firstName": "Jane",
        "lastName": "Doe",
        "email": "janedoe@mail.com",
        "created": "2022-10-07T16:46:13.023Z",
        "type": "unverified",
        "status": "unverified",
        "correlationId": "CID-abe2bb3d-d2ff-433b-95a3-0debd960ed25",
        "businessName": "Jane Corp llc"
      }
    ]
  },
  "total": 2
}
{
"code": "Forbidden",
"message": "The supplied credentials are not authorized for this resource."
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Accept
enum<string>
default:application/vnd.dwolla.v1.hal+json
required

The media type of the response. Must be application/vnd.dwolla.v1.hal+json

Available options:
application/vnd.dwolla.v1.hal+json

Query Parameters

limit
integer

How many results to return

offset
integer

How many results to skip

Searches on certain fields

status
string

Filter by customer status

Response

successful operation

_embedded
object
total
integer
Example:

2