Create a transaction
POST
/accounts/transactionsRequest
[message.headerParameter]
synswi-api-key
string
required
Example:
{{api-key}}
[message.bodyParameter]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
[api.label.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
[api.label.responses]
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
[response.label.jsonSchema]
id
string
required
ID
[api.label.example]
[app.settings.hasNoSetting]
[updatedIn] a day ago