Plixstar
API Reference

Internal einvoice

POST
/api/v1/internal/einvoice/retry-queue

Bearer PLIXSTAR_INTERNAL_EINVOICE_SECRET required. Up to 10 rows per call; claims via status flip then re-invokes submitForSubOrder.

Response Body

curl -X POST "https://example.com/api/v1/internal/einvoice/retry-queue"
Empty
POST
/api/v1/internal/einvoice/poll

Bearer PLIXSTAR_INTERNAL_EINVOICE_SECRET required. Up to 20 rows per call; claims via status flip then calls getSubmission. Transitions Submitted→Valid (sets long_id+validated_at), Submitted→Invalid (sets last_error), Submitted→Cancelled. Submitted-still-processing reverts the claim for the next tick.

Response Body

curl -X POST "https://example.com/api/v1/internal/einvoice/poll"
Empty