Synswi
  1. Transactions
Synswi
  • 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
  1. Transactions

Get a transaction by id

GET
https://api-sandbox.synswi.com/transactions/{id}

Request

Path 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 --request GET 'https://api-sandbox.synswi.com/transactions/transaction-41b52001-f1c7-42ae-830d-c9bd61404e43'

Responses

🟢200Success
application/json
Body

Example
{
    "id": "transaction-f9c2acda-6841-432b-816c-56f9546b218a",
    "accountId": "acc-c068c34e-b12d-48b1-bc5f-c85edae9fc9b",
    "amount": 3300,
    "channel": "online",
    "createdAt": "2025-02-19T20:20:59.583Z",
    "currency": "USD",
    "method": "card",
    "paymentInstrumentId": "payment-instrument-cbb31627-cce7-4b84-8928-0b376fb1b9fb",
    "referenceId": "573ef33e-4ab4-4647-9c48-2044e15462b4",
    "status": "succeeded",
    "statusReason": null,
    "type": "pull"
}
Previous
Get a payment instrument by id
Next
Get transactions
Built with