Get bank details
Download a PDF of your bank details.
Guide​
- Call the
account
query. - Enter the
accountId
. - Add
bankDetails
.
Query​
🔎 Open the query in API Explorer
query getBankDetails {
account(accountId: "$YOUR_ACCOUNT_ID") {
bankDetails
}
}
Response​
- The response includes the download URL (line 4), which begins with
bank-details.swan.io
. - Paste the URL into your browser, then press enter. This triggers the download of your PDF.
{
"data": {
"account": {
"bankDetails": "$DOWNLOAD_URL",
}
}
}