Trigger
Triggers send are used for automated actions.
triggers:
payment:
type: http
schema: "https://specs.psp.example.com/actions/payment/schema.json#"
url: http://psp.example.com/payment
method: POST
projection: "{body: {name: name, amount: quantity * price }}"
YAML
JSON
$schema: "https://specs.psp.example.com/actions/payment/schema.json#"
title: Step1
actor: system
name: Payment1
quantity: 1
price: 100
{
"$schema": "https://specs.psp.example.com/actions/payment/schema.json#",
"title": "Step1",
"actor": "system",
"name": "Payment1",
"quantity": 1,
"price": 100
}
Last modified 3yr ago