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": "2009-12-30",
"payer": {
"title": "et nisi",
"name": "Alan Harris",
"email": "[email protected]"
},
"items": [
{
"description": "dolor qui e",
"amount": 3053.3832185623
},
{
"description": "nulla qui ad aute",
"amount": 46974.83127713286
},
{
"description": "ut Lorem",
"amount": 35538.55014385127
},
{
"description": "Utamet id ex",
"amount": 35527.56785865293
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'