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": "2006-12-31",
"payer": {
"title": "anim incididunt",
"name": "Sigmund Reichel",
"email": "[email protected]"
},
"items": [
{
"description": "ullamco enim id Ut Duis",
"amount": 653.3518681439032
},
{
"description": "eu tempor",
"amount": 2343.742414838501
},
{
"description": "adip",
"amount": 23487.93672107141
},
{
"description": "amet dolor anim",
"amount": 42771.37000707808
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'