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": "2002-06-25",
"payer": {
"title": "reprehenderit magna ad",
"name": "Teagan Rowe",
"email": "[email protected]"
},
"items": [
{
"description": "id Lorem proident",
"amount": 37311.06781706966
},
{
"description": "Excepteur Duis laboris commodo Lorem",
"amount": 49362.05570710199
},
{
"description": "fugiat dolor",
"amount": 21723.52269290568
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'