After the customer completes Plaid Link authentication, the platform should POST the public_token to this callback URL (provided in the link token response).
This will trigger asynchronous processing:
API token authentication using format <api token id>:<api client secret>
The Plaid link token from the link token response, used to identify the session
The public token returned by Plaid Link after the customer successfully authenticates and selects an account.
"public-sandbox-12345678-1234-1234-1234-123456789012"
Optional Plaid account ID if the customer selected a specific account. If not provided, the default account will be used.
"plaid_account_id_123"
A pending external account resource will be created and returned while the Grid API asynchronously processes the Plaid public token.
The system generated identifier of this account
"ExternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965"
Status of the external account
PENDING, ACTIVE, UNDER_REVIEW, INACTIVE "ACTIVE"
The ISO 4217 currency code
"USD"
The customer this account is tied to, or null if the account is on behalf of the platform.
"Customer:da459a29-1fb7-41ce-a4cb-eb3a3c9fd7a7"
Optional platform-specific identifier for this account
"acc_123456789"
Whether this account is the default UMA deposit account for the customer. If true, incoming UMA payments to this customer's UMA address will be automatically deposited into this account instead of the primary internal account. False if not provided. Note that at most, one external account can be set as the default UMA deposit account for a customer. If there is no default UMA deposit account, incoming UMA payments will be deposited into the primary internal account for the customer.
false