diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..c8a3fb0 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,533 @@ + + + +
+ +Generate an access token for Dwolla's Connect API
+client_id required | string |
client_secret required | string |
grant_type required | string Value: "client_credentials" |
{- "access_token": "connect.eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJUaGlzIGlzIE5PVCBhIHJlYWwgRHdvbGxhIENvbm5lY3QgdG9rZW4ifQ.TB05eEU58XdygDMPcIlYVDRZvX3aQMbwJRYoQhu_KP0",
- "token_type": "Bearer",
- "expires_in": 3599
}
Create a Funding Source that is attached to your Main Account.
+The created Funding Source can be used as the sender
for debit
Transfers, or as the destination
for credit
Transfers.
object | |
name required | string |
bankAccountType required | string Enum: "checking" "savings" |
accountNumber required | string |
routingNumber required | string |
{- "_links": {
- "treasury-account": {
- "href": "{{baseUrl}}/treasury-accounts/{{treasuryAccountId}}"
}
}, - "name": "My Test Bank",
- "bankAccountType": "checking",
- "accountNumber": "123456789",
- "routingNumber": "222222226"
}
List all Funding Sources that have been created for your Main Account.
+id required | string <uuid> UUID of Main Account + |
{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}
}, - "_embedded": {
- "funding-sources": [
- {
- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}, - "treasury-account": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "treasury-account"
}
}, - "id": "f815137a-f7b1-432b-976b-e52832ede996",
- "bankAccountType": "checking",
- "name": "My Test Bank",
- "created": "2023-07-17T18:04:24.772Z"
}
]
}
}
Create a Funding Source that is attached to your Main Account.
+The created Funding Source can be used as the sender
for debit
Transfers, or as the destination
for credit
Transfers.
object | |
name required | string |
bankAccountType required | string Enum: "checking" "savings" |
accountNumber required | string |
routingNumber required | string |
{- "_links": {
- "treasury-account": {
- "href": "{{baseUrl}}/treasury-accounts/{{treasuryAccountId}}"
}
}, - "name": "My Test Bank",
- "bankAccountType": "checking",
- "accountNumber": "123456789",
- "routingNumber": "222222226"
}
List all Funding Sources that have been created for your Main Account.
+id required | string <uuid> UUID of Main Account + |
{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}
}, - "_embedded": {
- "funding-sources": [
- {
- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}, - "treasury-account": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "treasury-account"
}
}, - "id": "f815137a-f7b1-432b-976b-e52832ede996",
- "bankAccountType": "checking",
- "name": "My Test Bank",
- "created": "2023-07-17T18:04:24.772Z"
}
]
}
}
Create a bank Funding Source that's attached to an External Party.
+A Funding Source is required when creating a Transfer, as a sender or destination.
+id required | string <uuid> UUID of External Party + |
name required | string |
bankAccountType required | string Enum: "checking" "savings" |
accountNumber required | string |
routingNumber required | string |
{- "name": "Test Bank",
- "bankAccountType": "checking",
- "accountNumber": "123456789",
- "routingNumber": "222222226"
}
List all Funding Sources that your application has created for an External Party.
+id required | string <uuid> UUID of External Party + |
{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}
}, - "_embedded": {
- "funding-sources": [
- {
- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}, - "external-party": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "external-party"
}
}, - "id": "9bb42992-a03b-422d-8c52-82b14828dbac",
- "bankAccountType": "checking",
- "name": "Test Bank",
- "created": "2023-07-15T17:52:37.211Z"
}
]
}
}
Get detailed information of a Funding Source by its ID.
+id required | string <uuid> UUID of Funding Source + |
{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}, - "external-party": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "external-party"
}
}, - "id": "9bb42992-a03b-422d-8c52-82b14828dbac",
- "bankAccountType": "checking",
- "name": "Dwolla Bank",
- "created": "2023-07-15T17:52:37.211Z"
}
Create a business or personal External Party, to which a Funding Source can be later attached.
+businessName required | string |
email required | string <email> |
correlationId | string |
{- "businessName": "John Doe Equipment, LLC",
- "email": "john.doe@example.com",
- "correlationId": "efac856f-fdde-459c-8af7-24e3431cd07b"
}
List all External Parties that have been created by your application.
+{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "external-party"
}
}, - "_embedded": {
- "external-parties": [
- {
- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "external-party"
}
}, - "id": "4e701a67-b18c-4d8c-b7e5-7f2b8b8f702a",
- "created": "2023-07-14T21:04:27.087Z",
- "email": "john.doe@example.com",
- "businessName": "John Doe Equipment, LLC",
- "externalPartyType": "business"
}, - {
- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "external-party"
}
}, - "id": "83ded54e-7367-44e2-b7b4-ae1a5780beae",
- "created": "2023-07-14T21:06:15.186Z",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "externalPartyType": "personal"
}
]
}
}
Get an External Party by ID
+id required | string <uuid> UUID of External Party + |
{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "external-party"
}
}, - "id": "4e701a67-b18c-4d8c-b7e5-7f2b8b8f702a",
- "created": "2023-07-14T21:04:27.087Z",
- "email": "john.doe@example.com",
- "businessName": "John Doe Equipment, LLC",
- "externalPartyType": "business"
}
Create a bank Funding Source that's attached to an External Party.
+A Funding Source is required when creating a Transfer, as a sender or destination.
+id required | string <uuid> UUID of External Party + |
name required | string |
bankAccountType required | string Enum: "checking" "savings" |
accountNumber required | string |
routingNumber required | string |
{- "name": "Test Bank",
- "bankAccountType": "checking",
- "accountNumber": "123456789",
- "routingNumber": "222222226"
}
List all Funding Sources that your application has created for an External Party.
+id required | string <uuid> UUID of External Party + |
{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}
}, - "_embedded": {
- "funding-sources": [
- {
- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}, - "external-party": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "external-party"
}
}, - "id": "9bb42992-a03b-422d-8c52-82b14828dbac",
- "bankAccountType": "checking",
- "name": "Test Bank",
- "created": "2023-07-15T17:52:37.211Z"
}
]
}
}
Create a new Transfer, sending money from a source
Funding Source to a destination
Funding Source.
If the sender Funding Source has a treasuryAccount
link, the Transfer type will be credit
; otherwise, if the treasuryAccount
link is on the destination Funding Source, the Transfer type will be debit
.
required | object |
required | object (Amount) |
correlationId | string |
{- "_links": {
}, - "amount": {
- "currency": "USD",
- "value": "10.00"
}
}
Get detailed information of a Transfer by ID.
+id required | string <uuid> UUID of Transfer + |
{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "transfer"
}, - "source-funding-source": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}, - "destination-funding-source": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "funding-source"
}
}, - "id": "7a6a0c6f-a849-431e-8288-0f89c85c9d55",
- "created": "2023-07-17T20:32:55.679Z",
- "amount": {
- "value": "10.00",
- "currency": "USD"
}, - "transferType": "credit",
- "transferStatus": "created"
}
Create a Treasury Account that can be attached to a Funding Source.
+required | object |
name required | string |
required | TreasuryPartnerContextJPM (object) or TreasuryPartnerContextWF (object) |
{- "_links": {
}, - "name": "My JPM Account",
- "treasuryPartnerContext": {
- "achCoId": "4161803583"
}
}
List all Treasury Accounts that have been created by your application.
+{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "treasury-account"
}
}, - "_embedded": {
- "treasury-accounts": [
- {
- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "treasury-account"
}
}, - "id": "e60d1372-f398-4c03-b4e7-499a4a7f8b27",
- "name": "Test JPM Account",
- "created": "2023-07-14T19:16:46.694Z",
- "accountId": "22926523-b517-43b9-959b-6ac4a422d71e",
- "treasuryPartnerId": "63a5f9d2-de34-40ae-a96e-0ab02cb7abd9",
- "treasuryPartnerContext": {
- "achCoId": "4161803583"
}
}
]
}
}
Get detailed information of a Treasury Account by ID.
+id required | string <uuid> UUID of Treasury Account + |
{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "treasury-account"
}
}, - "id": "e60d1372-f398-4c03-b4e7-499a4a7f8b27",
- "name": "My JPM Account",
- "created": "2023-07-14T19:16:46.694Z",
- "accountId": "22926523-b517-43b9-959b-6ac4a422d71e",
- "treasuryPartnerId": "63a5f9d2-de34-40ae-a96e-0ab02cb7abd9",
- "treasuryPartnerContext": {
- "achCoId": "4161803583"
}
}
Get detailed information of a Transfer Partner by its UUID.
+id required | string <uuid> UUID of Treasury Partner + |
{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "treasury-partners"
}
}, - "id": "63a5f9d2-de34-40ae-a96e-0ab02cb7abd9",
- "name": "J.P. Morgan"
}
List all Transfer Partners that Dwolla currently supports.
+{- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "treasury-partners"
}
}, - "_embedded": {
- "treasury-partners": [
- {
- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "treasury-partners"
}
}, - "id": "63a5f9d2-de34-40ae-a96e-0ab02cb7abd9",
- "name": "J.P. Morgan"
}, - {
- "_links": {
- "self": {
- "type": "application/vnd.dwolla.v1.hal+json",
- "resource-type": "treasury-partners"
}
}, - "id": "50a1a90b-c960-4c9f-bfb3-15a91ba0df60",
- "name": "Wells Fargo"
}
]
}
}