Create transaction
documentedCreate a transaction.
POST /3dCartWebAPI/v1/OrderTransactionsOrdersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://apirest.3dcart.com/3dCartWebAPI/v1/OrderTransactions" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "SecureURL: {{$secure_url}}" \
-H "PrivateKey: {{SHIFT4SHOP_SECRET}}" \
-H "Token: {{SHIFT4SHOP_API_KEY}}" \
-d '{"OrderID": "{{$order_id}}", "Type": "Payment", "Amount": {{$amount}}, "Reference": "{{$reference}}", "Description": "{{$description}}"}'