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": "2020-05-27",
"payer": {
"title": "amet officia ullamco fugiat",
"name": "Miss Ransom Eichmann",
"email": "[email protected]"
},
"items": [
{
"description": "aute reprehenderit ipsum",
"amount": 22779.54681993363
},
{
"description": "reprehenderit est occaecat veniam irure",
"amount": 40601.42571017237
},
{
"description": "anim consequat velit mollit ad",
"amount": 7621.038788393852
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'