shipType=2) and tracks it.
1. Check your balance
Response
dif_account_balance is how much you still need to deposit for every pending
order to be processed (total_val_pending_jobs - account_balance), floored at 0 —
not the remaining balance. When your balance already covers the pending orders it
comes back as 0.
2. Validate before paying (optional)
Sendtest=1 to validate the payload and PDF without creating the order or
charging credits.
The sender block is all-or-nothing. To use a request sender, send
name_sender, street_number_sender, zip_sender and country_sender.
addr1_sender, city_sender and state_sender go all three together or none
of them — when omitted, they come from the CEP. If any of the four is missing,
or only part of the three is sent, the whole block is taken from your account
profile — including the fields you did send, which are silently overwritten.
If the profile has no CEP you get a 400.3. Create the order
Droptest=1 to actually submit. The data field returns the order’s
visual id — store it.
Response
4. Track the order
status field follows this lifecycle: