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": "2006-06-01",
"payer": {
"title": "nostrud dolore",
"name": "Jillian Sauer",
"email": "[email protected]"
},
"items": [
{
"description": "cupidatat",
"amount": 28404.59106940298
},
{
"description": "Except",
"amount": 19118.56065443387
},
{
"description": "esse est irure reprehenderit",
"amount": 37961.89331344987
},
{
"description": "nostrud non nisi laborum dolor",
"amount": 2325.836082327182
},
{
"description": "commodo enim cupidatat reprehenderit",
"amount": 33389.55284575592
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'