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": "1976-07-27",
"payer": {
"title": "quis aliqua",
"name": "Keegan Koelpin",
"email": "[email protected]"
},
"items": [
{
"description": "enim elit anim minim magna",
"amount": 12147.82522110057
},
{
"description": "reprehenderit eu do",
"amount": 40676.84759135424
},
{
"description": "esse",
"amount": 24350.9689796416
},
{
"description": "anim incididunt dolore",
"amount": 28427.71580594314
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'