Create a transaction
POST
/accounts/transactionsRequest
Header Params
synswi-api-key
string
required
Example:
{{api-key}}
Body Params application/json
amount
integer
required
paymentInstrumentId
string
required
accountId
string
required
type
string
required
currency
string
required
method
string
required
channel
string
required
referenceId
string
required
Example
{
"amount": 1200,
"paymentInstrumentId": "payment-instument-a2f7a45b-44ea-474d-a219-7c30b7e16280",
"accountId": "acc-c068c34e-b12d-48b1-bc5f-c85edae9fc9b",
"type": "pull",
"currency": "USD",
"method": "card",
"channel": "online",
"referenceId": "123"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string
required
ID
Example
Not configured
Last modified: a day ago