- Customers
- Customer Address
- Retrieves a list of addresses for a customer
- Creates a new address for a customer
- Retrieves details for a single customer address
- Updates an existing customer address
- Removes an address from a customer’s address list
- Performs bulk operations for multiple customer addresses
- Sets the default address for a customer
- CustomerSavedSearch
- Customer
- Retrieves a list of customers
- Creates a customer
- Searches for customers that match a supplied query
- Retrieves a single customer
- Updates a customer
- Deletes a customer
- Creates an account activation URL for a customer
- Sends an account invite to a customer
- Retrieves a count of customers
- Retrieves all orders that belong to a customer
- Sales channels
- Checkout
- CollectionListing
- Retrieve collection listings that are published to your app
- Retrieve product_ids that are published to a collection_id
- Retrieve a specific collection listing that is published to your app
- Create a collection listing to publish a collection to your app
- Delete a collection listing to unpublish a collection from your app
- Product ResourceFeedback
- MobilePlatformApplication
- ProductListing
- Retrieve product listings that are published to your app
- Retrieve product_ids that are published to your app
- Retrieve a count of products that are published to your app
- Retrieve a specific product listing that is published to your app
- Create a product listing to publish a product to your app
- Delete a product listing to unpublish a product from your app
- ResourceFeedback
- Payment
- Products
- Collect
- Collection
- CustomCollection
- Product
- Product Image
- Product Variant
- SmartCollection
- Orders
- Abandoned checkouts
- DraftOrder
- Order Risk
- Transaction
- Order
- Refund
- Access
- Billing
- Online store
- Asset
- Blog
- Article
- Retrieves a list of all articles from a blog
- Creates an article for a blog
- Retrieves a count of all articles from a blog
- Receive a single Article
- Updates an article
- Deletes an article
- Retrieves a list of all article authors
- Retrieves a list of all article tags
- Retrieves a list of all article tags from a specific blog
- Redirect
- Comment
- ScriptTag
- Page
- Theme
- Shipping and fulfillment
- CancellationRequest
- CarrierService
- AssignedFulfillmentOrder
- FulfillmentEvent
- Fulfillment
- Retrieves fulfillments associated with an order
- Retrieves fulfillments associated with a fulfillment order
- Retrieves a count of fulfillments associated with a specific order
- Receive a single Fulfillment
- Creates a fulfillment for one or many fulfillment orders
- Updates the tracking information for a fulfillment
- Cancels a fulfillment
- FulfillmentOrder
- Retrieves a list of fulfillment orders for a specific order
- Retrieves a specific fulfillment order
- Cancel a fulfillment order
- Marks a fulfillment order as incomplete
- Moves a fulfillment order to a new location
- Marks the fulfillment order as open
- Reschedules the fulfill_at time of a scheduled fulfillment order
- Applies a fulfillment hold on an open fulfillment order
- Sets deadline for fulfillment orders
- Releases the fulfillment hold on a fulfillment order
- LocationsForMove
- FulfillmentRequest
- FulfillmentService
- Shopify Payments
- Analytics
- Deprecated API calls
- Discounts
- DiscountCode
- Creates a discount code
- Retrieves a list of discount codes
- Updates an existing discount code
- Retrieves a single discount code
- Deletes a discount code
- Retrieves the location of a discount code
- Retrieves a count of discount codes for a shop
- Creates a discount code creation job
- Retrieves a discount code creation job
- Retrieves a list of discount codes for a discount code creation job
- PriceRule
- DiscountCode
- Inventory
- Events
- MarketingEvent
- Metafield
- Plus
- Store properties
- TenderTransaction
Return a single dispute
GET
/admin/api/{api_version}/shopify_payments/disputes/{dispute_id}.json
请求参数
Path 参数
api_version
string
必需
dispute_id
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.myshopify.com//admin/api//shopify_payments/disputes/.json'
返回响应
🟢200Return a single dispute
application/json
Body
dispute
object (Dispute)
可选
id
string
可选
order_id
string
可选
type
string
可选
Valid values:
- inquiry: The dispute is in the inquiry phase.
- chargeback: The dispute has turned into a chargeback.
currency
string
可选
amount
string
可选
reason
string
可选
- bank_not_process: The customer's bank cannot process the charge.
- credit_not_processed: The customer claims that the purchased product was returned
or the transaction was otherwise canceled, but the merchant have not yet provided a refund or credit. - customer_initiated: The customer initiated the dispute, so the merchant should contact
the customer for additional details to find out why the payment was disputed. - debit_not_authorized: The customer's bank cannot proceed with the debit
since it has not been authorized. - duplicate: The customer claims they were charged multiple times
for the same product or service. - fraudulent: The cardholder claims that they didn't authorize the payment.
- general: The dispute is uncategorized, so the merchant should contact the customer for
additional details to find out why the payment was disputed. - incorrect_account_details: The customer account associated with the
purchase is incorrect. - insufficient_funds: The customer's bank account has insufficient funds.
- product_not_received: The customer claims they did not receive the products
or services purchased. - product_unacceptable: The product or service was received but was defective,
damaged, or not as described. - subscription_canceled: The customer claims that the merchant continued to charge them
after a subscription was canceled. - unrecognized: The customer doesn't recognize the payment appearing on
their card statement.
network_reason_code
string
可选
status
string
可选
- needs_response: The dispute has been open and needs an evidence submission.
- under_review: The evidence has been submitted and is being reviewed by the
cardholder's bank. - charge_refunded: The merchant refunded the inquiry amount.
- accepted: The merchant has accepted the dispute as being valid.
- won: The cardholder's bank reached a final decision in the merchant's favor.
- lost: The cardholder's bank reached a final decision in the buyer's favor.
evidence_due_by
string
可选
evidence_sent_on
string
可选
evidence was sent. Returns
null
if evidence has not yet been sent.finalized_on
string
可选
this dispute was resolved. Returns
null
if the dispute is not yet resolved.示例
{
"dispute": {
"id": 598735659,
"order_id": 625362839,
"type": "chargeback",
"amount": "11.50",
"currency": "USD",
"reason": "fraudulent",
"network_reason_code": "4827",
"status": "needs_response",
"evidence_due_by": "2022-10-15T20:00:00-04:00",
"evidence_sent_on": null,
"finalized_on": null,
"initiated_at": "2013-05-03T20:00:00-04:00"
}
}
修改于 2023-01-29 12:00:35