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": "1982-07-30",
"payer": {
"title": "do proident magna",
"name": "Theresa Marvin",
"email": "[email protected]"
},
"items": [
{
"description": "laboris commodo",
"amount": 12560.11299160545
},
{
"description": "proident aliquip",
"amount": 30605.73763030672
},
{
"description": "nostrud in consequat",
"amount": 2696.235472718922
},
{
"description": "voluptat",
"amount": 15316.92906549463
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'