Use Dwolla’s SDK for PHP to build applications that interact with the Dwolla API to perform account-to-account payment functions.
dwolla-swagger-php
is available on Packagist with source code available on our GitHub page.
require
your Composer autoload.php
file.
ApiClient
after configuring the username
and password
values as the application key and secret that you fetched from one of the aforementioned links, respectively.
webhooks
, events
, webhook-subscriptions
) or the Dwolla Account that owns the application (accounts
, customers
, funding-sources
, etc.). Application tokens are obtained by using the client_credentials
OAuth grant type:
refresh_token
. When it expires, generate a new one using $tokensApi->token()
.
DwollaSwagger
contains the API
module, which allows the user to make requests, as well as models
, which are data access objects that the library uses to deserialize responses.
Each model represents the different kinds of requests and responses that can be made with the Dwolla API. View the full list in the models
directory.
The following API modules are available: