Customer
List customers
Returns a cursor-paginated list of your customers.
get/customers
Request
- Base URLhttps://api.gocardless.com
- AuthHTTP bearer
Query parameters
beforestring nullable
Cursor pointing to the end of the desired set.
afterstring nullable
Cursor pointing to the start of the desired set.
Number of records to return.
sort_field'name' | 'company_name' | 'created_at'
Field by which to sort records. One of:
- name
- company_name
- created_at
sort_direction'asc' | 'desc'
The direction to sort in. One of:
- asc
- desc
currency'AUD' | 'CAD' | 'DKK' | 'EUR' | 'GBP' | 'NZD' | 'SEK' | 'USD'
ISO 4217 currency code. Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported.
Example:EUR
action_required'true' | 'false'
Boolean indicating whether the customer has any actions required.
Headers
GoCardless-Versionstring required
Response
Successful response
Example response
{
"customers": [
{
"id": "CU123",
"created_at": "2014-01-01T12:00:00.000Z",
"email": "user@example.com",
"given_name": "Frank",
"family_name": "Osborne",
"company_name": "Hamilton Trading Ltd.",
"address_line1": "221B Baker Street",
"address_line2": "Marylebone",
"address_line3": "City of Westminster",
"city": "London",
"region": "Greater London",
"postal_code": "NW1 6XE",
"country_code": "GB",
"language": "en",
"phone_number": "+64 4 817 9999",
"swedish_identity_number": "556564-5404",
"danish_identity_number": "2205506218"
}
],
"meta": {
"limit": 50
}
}Changes
No recorded changes to this operation across all 1 revision of this API.