refunds
Refunds raised against payments, newest first. Filter by state to find refunds the customer has not been paid yet: REQUESTED is a refund not yet sent to the payment gateway, SENDING is being sent to the gateway now, ACCEPTED is money the gateway is still holding, FAILED is a refund the gateway refused, and UNKNOWN is one the gateway never answered about, so it may or may not have been paid. Requires MANAGE_ORDERS.
Integration: Orders to accounting
Required permission: MANAGE_ORDERS
Signature
Section titled “Signature”query { refunds( first: Int = null after: String = null state: RefundState = null gateway: String = null needsReview: Boolean = null ): RefundConnection!}Arguments
Section titled “Arguments”| Argument | Type | Default | Description |
|---|---|---|---|
first |
Int |
null |
|
after |
String |
null |
|
state |
RefundState |
null |
|
gateway |
String |
null |
|
needsReview |
Boolean |
null |