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": "1986-11-16",
"payer": {
"title": "dolore in",
"name": "Keon Greenfelder",
"email": "[email protected]"
},
"items": [
{
"description": "dolor adipisicing anim reprehe",
"amount": 20481.80012293049
},
{
"description": "elit no",
"amount": 13836.39668913462
},
{
"description": "elit",
"amount": 7371.351114297197
},
{
"description": "ad ipsum",
"amount": 11614.69026982442
},
{
"description": "pariatur est",
"amount": 1341.784812175939
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'