curl --request POST \
--url https://api.quiva.ai/hub/nodes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"collection": "ms.hub.config.collection.node.805092869",
"data": {
"name": "ProcessPayment",
"description": "Processes a payment transaction via Stripe",
"node_type": "function",
"subject": "quiva-function.stripe-charge",
"payload": {
"amount": "{{trigger.amount}}",
"currency": "{{trigger.currency}}",
"customer_id": "{{trigger.customer_id}}"
},
"options": {
"timeout": 30000,
"attempts": 3,
"backoff_ms": 1000
}
}
}
'