POST
/
transactions
Execute a transaction between wallets
curl --request POST \
  --url https://api.paygentic.io/v0/transactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sourceAccountId": "<string>",
  "destinationAccountId": "<string>",
  "debitAccountId": "<string>",
  "creditAccountId": "<string>",
  "amount": 123,
  "description": "<string>",
  "idempotencyKey": "<string>",
  "commitmentId": "<string>"
}'
{
  "object": "transaction",
  "data": {
    "id": "<string>",
    "createdAt": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json

Transaction executed successfully

The response is of type object.