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": "2017-05-04",
"payer": {
"title": "qui aute officia",
"name": "Lelah Cronin",
"email": "[email protected]"
},
"items": [
{
"description": "eiusmod",
"amount": 7372.709845294856
},
{
"description": "sit Ut ad mollit dolor",
"amount": 42090.39032973462
},
{
"description": "nulla",
"amount": 45932.51464022607
},
{
"description": "in et reprehenderit incididunt",
"amount": 17190.71198625131
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'