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": "1994-12-14",
"payer": {
"title": "dolor ut qui",
"name": "Johnathan Bergnaum",
"email": "[email protected]"
},
"items": [
{
"description": "occaec",
"amount": 41998.33521919935
},
{
"description": "tempor nisi non",
"amount": 17829.45197307134
},
{
"description": "mollit laboris",
"amount": 41219.75421556608
},
{
"description": "fugiat",
"amount": 28480.78679409487
},
{
"description": "in aliqua ullamco",
"amount": 31284.33030253166
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'