API reference
Accounts
Payments API operations for Accounts.
These operations are generated from the Payments API Swagger document. Use the sandbox host https://api.dhangodemo.com while testing and https://api.dhango.com in production.
GET /v1/accounts
Gets the status of an account.
This endpoint can be called two different ways - 1. Server-side with a key and secret to get details of each account individually. This would be used server-side to synchronize data between this API and the platform. 2. Client-side with only the accountKey in the header and route. This would be used client-side to dynamically generate a payment form.
| Parameter | In | Required | Description |
|---|---|---|---|
accountKey |
header | The unique key for the account. |
Responses:
| Status | Description | Schema |
|---|---|---|
| 200 | OK | GetAccountResponse |
| 404 | Not Found |