Synswi
  1. Accounts
Synswi
  • Accounts
    • Get account setting
      GET
    • Upsert account setting
      POST
    • Get profile
      GET
    • Create new profile
      POST
    • List Accounts
      GET
  • Devices
    • Get Devices
      GET
  • Dispute
    • Get disputes
      GET
  • Invoice
    • Get invoice by id
      GET
    • Get invoices
      GET
    • Create an invoice
      POST
    • Pay an invoice
      POST
    • Send Invoice
      POST
    • Update an invoice
      POST
  • Payment instruments
    • Create a payment instrument
    • Get payment instruments
      GET
    • Get a payment instrument by id
      GET
  • Transactions
    • Get a transaction by id
      GET
    • Get transactions
      GET
    • Create a transaction
      POST
  • Settlements
    • get settlements
      GET
    • get settlement entries
      GET
  • Identity
    • Create an api key
      POST
    • Login
      POST
    • List api keys
      GET
  1. Accounts

Get account setting

GET
https://api-dev.synswi.com/accounts/account-settings

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api-dev.synswi.com/accounts/account-settings?accountId=acc-c068c34e-b12d-48b1-bc5f-c85edae9fc9b' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
Body

Example
{
    "_id": "678576b4b010c01ebe3ef8d1",
    "accountId": "acc-c068c34e-b12d-48b1-bc5f-c85edae9fc9b",
    "achSettlementDays": 5,
    "cardSettlementDays": 2,
    "createdAt": "2025-01-13T20:25:24.734Z",
    "id": "account-setting-eaec6ff5-c531-492e-835a-074c5ef6fdd6",
    "statementDescriptor": "Hello",
    "updatedAt": "2025-01-16T06:29:06.660Z",
    "defaultPaymentInstrumentId": "payment-instrument-3dc059d5-817e-4d15-af3c-8333d64bd94b"
}
Next
Upsert account setting
Built with