Operations 7
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“Can I upload a file like a product image and classify it with a tag?”
“What do I need to provide to store a new generic file?”
Tell an agent
Upload file {file} named {name} with tag {tag}.
Store {file} as a product-image file called {name}, tag {tag}.
Ask an LLM
“Which files have I uploaded to my Stax account?”
“Can I see all of my stored files in one list?”
Tell an agent
List all the files I have uploaded.
Show every stored file on my account.
DELETE
/file/dispute/{evidenceFileId}
Delete a dispute evidence file · Delete Evidence for Dispute
#
Ask an LLM
“Can I remove an evidence file I attached to a chargeback dispute by mistake?”
“Is there a way to delete dispute evidence before it is submitted?”
Tell an agent destructive · confirm first
Delete dispute evidence file {evidenceFileId}.
Remove the evidence file {evidenceFileId} from its dispute.
Ask an LLM
“Can I rename or retag a file I already uploaded?”
“Is it possible to replace the contents of an existing stored file?”
Tell an agent
Rename file {id} to {name}.
Change the tag on file {id} to {tag}.
Ask an LLM
“Can I fetch the details of one uploaded file using its ID?”
“What name and tag does a particular stored file have?”
Tell an agent
Get file {id}.
Show me the name and tag of file ID {id}.
Ask an LLM
“Can I pull up only the files classified with a certain tag, like thumbnail?”
“Which files are tagged as product closeups?”
Tell an agent
Get the files tagged {tag}.
Show only files classified under the tag {tag}.
Ask an LLM
“How do I attach evidence to a chargeback dispute?”
“What file types and sizes are accepted for dispute evidence?”
Tell an agent
Upload {file} as evidence named {name} for dispute {dispute_id}.
Attach the signed receipt PDF {file} to dispute {dispute_id} as {name}.
Documentation
Documentation
https://docs.staxpayments.com/
APIReference
https://docs.staxpayments.com/reference/overview
Specifications
Other Resources
Examples
https://artifacts.apis.io/stax/examples/stax-api-examples.yml
DataModel
https://artifacts.apis.io/stax/data-model/stax-data-model.yml
ErrorCatalog
https://artifacts.apis.io/stax/errors/stax-problem-types.yml
Webhooks
https://artifacts.apis.io/stax/asyncapi/stax-webhooks.yml
AgenticAccess
https://artifacts.apis.io/stax/agentic-access/stax-agentic-access.yml