Create a user API key
Public API v2 only accepts user API keys. In the Slash dashboard, open Settings → API keys and choose Create API key. The secret is shown once; store it on your server. The key acts as you, so before starting make sure your user has:- access to the target legal entity
- access to view accounts, manage recipients, and initiate ACH transfers
- a request IP on the legal entity’s enabled IP allowlist
403 user_api_key_required. See
Authentication for details.
Set the key in your shell:
1
Find your legal entity
Every request names the legal entity it acts on. List the ones your key
can act on; this is the only request without an Save the
x-legal-entity header:le_... id of the legal entity you want:2
Choose the source balance
List Accounts, then list the virtual accounts in the Account you want to
debit:Save the selected
subaccount_... id as fromAccount.3
Create the recipient
A recipient is who you pay. It does not hold bank instructions.Save the returned
le_c_... id.4
Save the bank destination
Create a US bank-account destination for the recipient:Save the returned destination
id.5
Create the ACH transfer
transfer_intent_... id.6
Follow the transfer
Retrieve the Transfer to follow its lifecycle:Read the ACH lifecycle before
deciding which statuses are final.
7
Reconcile account activity
List every Transaction associated with the Transfer:Transaction responses use camelCase. Their signed
amountCents values
describe each account impact.