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": "1997-12-05",
"payer": {
"title": "mollit sint magna id",
"name": "Mr. Cedrick Smith",
"email": "[email protected]"
},
"items": [
{
"description": "veniam in velit Ut",
"amount": 10861.46615894361
},
{
"description": "in ut dolor proident",
"amount": 20322.44188395013
},
{
"description": "aliqua reprehend",
"amount": 44389.8872515022
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'