- API Introduction
- Error Code
- Payment Intents
- Charges
- Payment Methods
- Refunds
- Webhooks
- Events
- Files
- Disputes
- Payouts
- Balance
- Products
- Prices
- Payment Links
- Checkout
- Customers
- Setup Intents
- Invoices
- Invoice Items
- Invoice Line Item
- Subscriptions
- Subscription Items
- Issuing
- Authorizations
- Cardholders
- Cards
- Transactions
- Coupons
- Promotion Code
- Accounts
List all disputes
Developing
GET
/v1/disputes/list
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string {{Username}}:{{Password}}Example:
Authorization: Basic YWRtaW46MTIzNDU2
Header Params
Accept
string
required
Default:
application/json
Content-Type
string
required
Default:
application/json
Body Params application/json
charge
string
optional
payment_intent
string
optional
created
object
optional
gt
integer
optional
gte
integer
optional
lt
string
optional
lte
integer
optional
ending_before
string
optional
limit
integer
optional
starting_after
string
optional
Example
{
"charge": "string",
"payment_intent": "string",
"created": {
"gt": 0,
"gte": 0,
"lt": "string",
"lte": 0
},
"ending_before": "string",
"limit": 0,
"starting_after": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apitest.wooshpay.com/v1/disputes/list?members&reference&Type&_postman_listIndexKey=key&_postman_listAllowsMultipleValues' \
--data-raw ''
Responses
🟢200OK
application/json
Body
object
string
optional
url
string
optional
has_more
boolean
optional
data
array [object {15}]
optional
id
string
optional
object
string
optional
amount
integer
optional
balance_transactions
array[string]
optional
charge
string
optional
created
integer
optional
currency
string
optional
evidence
object
optional
evidence_details
object
optional
is_charge_refundable
boolean
optional
livemode
boolean
optional
metadata
object
optional
payment_intent
null
optional
reason
string
optional
status
string
optional
Example
{
"object": "list",
"url": "/v1/disputes",
"has_more": false,
"data": [
{
"id": "dp_1M97r8L6kclEVx6M2LpvSCG3",
"object": "dispute",
"amount": 1000,
"balance_transactions": [],
"charge": "ch_3K5l24L6kclEVx6M0ls3dCrx",
"created": 1669643926,
"currency": "eur",
"evidence": {
"access_activity_log": null,
"billing_address": null,
"cancellation_policy": null,
"cancellation_policy_disclosure": null,
"cancellation_rebuttal": null,
"customer_communication": null,
"customer_email_address": null,
"customer_name": null,
"customer_purchase_ip": null,
"customer_signature": null,
"duplicate_charge_documentation": null,
"duplicate_charge_explanation": null,
"duplicate_charge_id": null,
"product_description": null,
"receipt": null,
"refund_policy": null,
"refund_policy_disclosure": null,
"refund_refusal_explanation": null,
"service_date": null,
"service_documentation": null,
"shipping_address": null,
"shipping_carrier": null,
"shipping_date": null,
"shipping_documentation": null,
"shipping_tracking_number": null,
"uncategorized_file": null,
"uncategorized_text": null
},
"evidence_details": {
"due_by": 1671321599,
"has_evidence": false,
"past_due": false,
"submission_count": 0
},
"is_charge_refundable": true,
"livemode": false,
"metadata": {},
"payment_intent": null,
"reason": "general",
"status": "warning_needs_response"
}
]
}
Modified at 2024-03-22 09:41:04