Skip to main content
POST
/
api
/
external
/
v1
/
transactions
/
create
Create Transaction
curl --request POST \
  --url https://app.magna.so/api/external/v1/transactions/create \
  --header 'Content-Type: application/json' \
  --header 'x-magna-api-token: <api-key>' \
  --data '
{
  "action": "INITIALIZE",
  "contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "adminWalletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "isProcessed": true,
  "result": {
    "transactions": [
      {
        "transactionId": "t1...uuid",
        "status": "PENDING"
      },
      {
        "transactionId": "t2...uuid",
        "status": "PENDING"
      }
    ]
  }
}

Authorizations

x-magna-api-token
string
header
required

Body

application/json
action
enum<string>
required
Available options:
INITIALIZE
contractId
string<uuid>
required
Minimum string length: 1
adminWalletId
string<uuid>
required
Minimum string length: 1

Response

Successful response

isProcessed
boolean
result
any

Endpoint-specific result payload.