Target Deposit Destinations

Encrypt a target deposit destination to a ddsConfig used to initialize a deposit switch in Link.

Target deposit destinations contain the bank account or card information details used in a deposit switch. For user privacy and security, sensitive banking information must be encrypted before being passed to your Link initialization when adding deposit switching flows.

#Encrypt to ddsConfig

post/v2/target-deposit-destinations


Encrypts a target deposit destination object, which includes:

  • For direct deposit switches — bank account info and how much of the user's paycheck should be allocated to the bank account.
  • For card updates — payout card info.

Returns an encrypted_config whose value can be used with ddsConfig Link initialization parameter. When a ddsConfig is present in a Link initialization, the user will be presented with a deposit switch flow after they initially connect an account, or when they return to a previously connected account.

Request body
  • #
    object
    required

    A target deposit destination.

    Visit our deposit switching guide for more information and examples of different configurations, such as how to receive the entirety of the user's paycheck.

Example request body#

1{
2  "ach_deposit_account": {
3    "bank_name": "YellowHorizon",
4    "routing_number": "084101234",
5    "account_number": "9483746361234",
6    "account_type": "checking"
7  },
8  "amount_allocation": {
9    "value": "177",
10    "min_value": "177",
11    "max_value": "177"
12  }
13}
Example Request
1curl --request POST \
2     --url https://api.argyle.com/v2/target-deposit-destinations \
3     --header 'accept: application/json' \
4     --header 'content-type: application/json' \
5     --data '{
6        "ach_deposit_account": {
7          "bank_name": "YellowHorizon",
8          "routing_number": "084101234",
9          "account_number": "9483746361234",
10          "account_type": "checking"
11        },
12        "amount_allocation": {
13          "value": "177",
14          "min_value": "177",
15          "max_value": "177"
16        }
17     }'
Example Response
1{
2  "encrypted_config": "CiUAzxhtkjHVbbvqqaQCFy3u2lrK3w4rUIVeDUk+TAMTSuRubh9yEqoGAGPMAvpCp4gw5zwCkvkh9voNq7Env6awey2nowAdlInrQg/vXwyHEO/MJEsygELdNyU+RbEaEN86/Y7XMMpMtBObD/lPCaY/md8eO1A6Ij5n9Lh1vYMqzU6IqhNka2j3jvJ/7N2qI4pyYyZJS1Q115Z5NkB6wc6xAgkJozD11VwL9D+7cDzPKPKZFg/xE4Rz/psSyCzbO6EVv2NFIXY5FvtqYwKBetTxLYNigdO25WWaDLYM5gOnjh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