Step 4: Creating an unverified Customer

Now that we’ve created a customer for Jane Merchant and associated a funding source, we’ll do the same for Joe Buyer, but this time we’ll create an unverified customer, and a verified funding source which is capable of sending money.

Provide the user’s full name, email address, and IP address to create the customer. More detail is available in API docs.

Content-Type: application/vnd.dwolla.v1.hal+json
Accept: application/vnd.dwolla.v1.hal+json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
"firstName": "Joe", 
"lastName": "Buyer",
"email": "",
"type": "personal"

HTTP/1.1 201 Created
new_customer = DwollaSwagger::CustomersApi.create({:body => {
  :firstName => 'Joe',
  :lastName => 'Buyer',
  :email => '',
  :type => 'personal'}})

p new_customer # =>
// No example for this language yet.
customers_api = dwollaswagger.CustomersApi(client)

new_customer = customers_api.create(body = {'firstName': 'Joe', 
                                            'lastName': 'Buyer',
                                            'email': '',
                                            'type': 'personal'})

print(new_customer) # =>
$customersApi = new DwollaSwagger\CustomersApi($apiClient);

$new_customer = $customersApi->create([
  'firstName' => 'Joe',
  'lastName' => 'Buyer',
  'email' => '',
  'type' => 'personal'

print($new_customer); # =>
CustomersApi cApi = new CustomersApi(a);

CreateCustomer newCustomerData = new CreateCustomer();


try {
    Unit$ r = cApi.create(myNewCust);
    System.out.println(r.getLocationHeader()); // =>
catch (Exception e) {
    System.out.println("Something's up!");

When the customer is created, you’ll receive the customer URL in the location header. If using an SDK, the location will be returned to you upon calling create().

Important: Provide the IP address of the end-user accessing your application as the ipAddress parameter. This enhances Dwolla’s ability to detect fraud. Sending random, hardcoded, or incorrect information in the ipAddress field will cause delays or throttling of requests.

Financial institutions play an important role in the Dwolla network.

Dwolla, Inc. is an agent of Veridian Credit Union and Compass Bank and all funds associated with your account in the Dwolla network are held in pooled accounts at Veridian Credit Union and Compass Bank. These funds are not eligible for individual insurance, including FDIC insurance and may not be eligible for share insurance by the National Credit Union Share Insurance Fund. Dwolla, Inc. is the operator of a software platform that communicates user instructions for funds transfers to Veridian Credit Union and Compass Bank.