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

Create new profile

Developing
POST
https://api-dev.synswi.com/accounts/profiles

Request

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

Example
{
    "accountId": "{{accountId}}"
}

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 --request POST 'https://api-dev.synswi.com/accounts/profiles' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accountId": "acc-c068c34e-b12d-48b1-bc5f-c85edae9fc9b"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "accountId": "string",
    "createdAt": "string",
    "id": "string",
    "_id": "string"
}
Previous
Get profile
Next
List Accounts
Built with