Retrieve a customer - Dwolla Developer Portal
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
GET
https://api.dwolla.comhttps://api-sandbox.dwolla.com
/customers/{id} cURL
GET https://api-sandbox.dwolla.com/customers/FC451A7A-AE30-4404-AB95-E3553FCD733F
Accept: application/vnd.dwolla.v1.hal+json
Authorization: Bearer pBA9fVDBEyYZCEsLf/wKehyh1RTpzjUj5KzIRfDi0wKTii7DqY
// Using dwolla-v2 - https://github.com/Dwolla/dwolla-v2-node
dwolla
.get("customers/FC451A7A-AE30-4404-AB95-E3553FCD733F")
.then((res) => res.body);
# Using dwollav2 - https://github.com/Dwolla/dwolla-v2-python
customer = app_token.get('customers/FC451A7A-AE30-4404-AB95-E3553FCD733F')
customer.body
<?php
// Using dwollaswagger - https://github.com/Dwolla/dwolla-swagger-php
$customersApi = new DwollaSwagger\CustomersApi($apiClient);
$customer = $customersApi->getCustomer("FC451A7A-AE30-4404-AB95-E3553FCD733F");
?>
# Using dwolla_v2 - https://github.com/Dwolla/dwolla-v2-ruby
customer = app_token.get "customers/FC451A7A-AE30-4404-AB95-E3553FCD733F"
Response Codes
200
403
404
{
"_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"
}
{
"code": "forbidden",
"message": "Not authorized to get a customer by id."
}
{
"code": "notFound",
"message": "Customer not found."
}
Authorizations
Authorization
string
header
required
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Accept
enum
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
Path Parameters
id
string
required
Customer unique identifier
Response
200
application/vnd.dwolla.v1.hal+json
successful operation
- UnverifiedCustomer
- ReceiveOnlyCustomer
- VerifiedPersonalCustomer
- VerifiedSolePropCustomer
- VerifiedBusinessCustomer
Unverified customer - basic customer type with no KYC verification
_links
object
required
Show child attributes
id
string
required
Example:
"c41125c5-99c4-4303-a9f6-d066d28a61e3"
firstName
string
required
Example:
"Jane"
lastName
string
required
Example:
"Doe"
string
required
Example:
"janedoe@mail.com"
created
string
required
Example:
"2022-10-07T16:46:13.023Z"
type
enum
required
Available options:
unverified
Example:
"unverified"
status
enum
required
Available options:
unverified,
suspended,
deactivated
Example:
"unverified"
correlationId
string
Example:
"CID-abe2bb3d-d2ff-433b-95a3-0debd960ed25"
businessName
string
Example:
"Jane Corp llc"