Paste these commands into your terminal to run a script
that will generate a new PDF.
curl -fSL "https://sync.api.docspring.com/api/v1/templates/tpl_TrmdePAbxjKpbs2s93/submissions" \
-u "api_test_z9F4keTFADRyXf6JcA:qEm6Xbf7xXFnGxxFT5R7MzhYkAfJbmjkAa637jhRtq" \
-d '{
"data": {
"date": "2016-03-05",
"payer": {
"title": "labore",
"name": "Avery Koelpin",
"email": "[email protected]"
},
"items": [
{
"description": "reprehenderit deserunt aute",
"amount": 1494.658494331413
},
{
"description": "minim",
"amount": 6481.811024541273
},
{
"description": "in elit",
"amount": 9971.57546279216
},
{
"description": "Lorem ipsum enim",
"amount": 23641.00447413822
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'