APIs
DACA APIs
Enter Control Agreement
Set an account with DACA Entered status.
Note
Setting an account with DACA Entered will not affect the account. It only means that DACA can be activated for this account in the future.
| Verb | POST |
| URL | https://api.s.unit.sh/accounts/:accountId/enter-daca |
| Required Scope | accounts-write |
| Timeout (Seconds) | 5 |
Response
Response is a JSON:API document.
200 OK
curl -X POST 'https://api.s.unit.sh/accounts/10000/enter-daca'
-H 'Content-Type: application/vnd.api+json'
-H 'Authorization: Bearer ${TOKEN}'
Activate Control Agreement
Set an account with DACA Activated status. This action will:
- Change the account's
dacaStatustoActivated. - Freeze all account's cards.
- ACH, Wire and Book (when funds are debited from the DACA account) payments attempts will not be supported.
- Incoming ACH Debit payments will be returned with NonTransactionAccount Reason.
Note
Activating a DACA will work only for a DACA Operator and for accounts that have previously entered a DACA.
| Verb | POST |
| URL | https://api.s.unit.sh/accounts/:accountId/activate-daca |
| Required Scope | accounts-write |
| Timeout (Seconds) | 5 |
Response
Response is a JSON:API document.
200 OK
curl -X POST 'https://api.s.unit.sh/accounts/10000/activate-daca'
-H 'Content-Type: application/vnd.api+json'
-H 'Authorization: Bearer ${TOKEN}'
Deactivate Control Agreement
Deactivate an account with DACA Activated status.
This action will:
- Return account's
dacaStatustoEntered. - Unfreeze all account's cards that were frozen due to DACA.
- Remove the restrictions on ACH, Wire and Book (when funds are debited from the DACA account).
- Remove the restriction on incoming debit ACH payments.
| Verb | POST |
| URL | https://api.s.unit.sh/accounts/:accountId/deactivate-daca |
| Required Scope | accounts-write |
| Timeout (Seconds) | 5 |
Response
Response is a JSON:API document.
200 OK
curl -X POST 'https://api.s.unit.sh/accounts/10000/deactivate-daca'
-H 'Content-Type: application/vnd.api+json'
-H 'Authorization: Bearer ${TOKEN}'