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": "2021-09-16",
"payer": {
"title": "dolore ad reprehenderit",
"name": "Erna Runolfsson",
"email": "[email protected]"
},
"items": [
{
"description": "aliqua amet",
"amount": 4375.315548051173
},
{
"description": "quis",
"amount": 33927.33105294144
},
{
"description": "occaecat aliqua dolore",
"amount": 34901.1308147188
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'