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": "1995-10-02",
"payer": {
"title": "in consequat in amet",
"name": "Flo Prohaska IV",
"email": "[email protected]"
},
"items": [
{
"description": "laboris",
"amount": 25016.1777479239
},
{
"description": "laboris qui esse proident",
"amount": 26541.91328373313
},
{
"description": "non aute",
"amount": 9247.766279297275
},
{
"description": "non in amet",
"amount": 11642.6221297534
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'