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-12-10",
"payer": {
"title": "occaecat aliquip dolor elit",
"name": "Ivah Herzog",
"email": "[email protected]"
},
"items": [
{
"description": "do cillum proident cupidatat",
"amount": 28493.4852491746
},
{
"description": "est velit aute",
"amount": 40550.48763596069
},
{
"description": "labore non",
"amount": 42689.97002302083
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'