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": "1987-10-04",
"payer": {
"title": "ipsum proident cup",
"name": "Dr. Elta Champlin",
"email": "[email protected]"
},
"items": [
{
"description": "elit labor",
"amount": 38511.87629546066
},
{
"description": "sit dolore sed ut enim",
"amount": 18431.22637471191
},
{
"description": "in ex dolor sit et",
"amount": 29967.03276061287
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'