Create defense

🚧

Beta feature

This feature is currently in private beta, and the final specification may still change.

Submits a defense for a dispute. The API stores the defense before it submits the defense to the payment provider asynchronously. Reuse the same idempotency key when you retry a request.

🔑

Access with

API keyAdvanced access token with disputes.writeOAuth access with disputes.write
Path Params
string
required

Provide the ID of the related dispute.

Query Params
boolean

Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.

Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.

Body Params
string | null

Additional information about the defense.

evidence
array of objects
required
length ≤ 50
evidence*
Headers
string | null

A client-generated key that prevents duplicate submissions. The same key for an organization returns the cached response for 24 hours. Use a key no longer than 64 characters.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/hal+json