List Settlement Details
GET/openapi/2024-07/shoplazza-payment/settlements/details
Returns a list of settled details. Objects are sorted in descending order by creation date, with the most recently created objects shown first
Request
Query Parameters
cursor for pagination, use the cursor from the response for pagination
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
Transaction type, (eg . "payment", "reserve_release", "chargeback", "chargeback_win", "refund", "refund_reversal","ship_ins_comm_transfer", "ship_ins_comm_reversal", "adjustment", "debit_negative_balance", "debit_negative_balance_reversal")
Currency of the settlement account
Filter option: settle initiation begin time (unix timestamp)
Filter option: settle refund initiation end time (unix timestamp)
Responses
- 200
- 422
OK
- application/json
- Schema
- Example
Schema
- Array [
- payment: Funds received from a completed payment transaction.
- reserve_release: Release of funds previously held in reserve.
- chargeback: A reversal of funds due to a dispute initiated by the payer.
- chargeback_win: Recovered funds from a dispute that was won in favor of the merchant.
- refund: Funds returned to the payer due to a refund request.
- refund_reversal: Reversal of a previous refund, typically restoring funds to the merchant.
- ship_ins_comm_transfer: Transfer of commission fees related to shipping insurance.
- ship_ins_comm_reversal: Reversal of previously charged shipping insurance commission.
- adjustment: Manual or automatic adjustments to correct balances or transaction amounts.
- debit_negative_balance: Debit applied to offset a negative balance on the account.
- debit_negative_balance_reversal: Reversal of a previous debit that was applied to correct a negative balance.
- ]
error code
error message
data object
list object[]
List of settlement details
Unique identifier for the store
Currency of the settlement account
Transaction type, (eg . "payment", "reserve_release", "chargeback", "chargeback_win", "refund", "refund_reversal","ship_ins_comm_transfer", "ship_ins_comm_reversal", "adjustment", "debit_negative_balance", "debit_negative_balance_reversal")
Transaction order number, applicable to all transaction types
Related fee amount
Amount settled in this transaction
Reserve amount for deposits
Time when the settlement occurred,(unix timestamp)
Merchant ID
Indicator of whether there is more data for pagination
cursor for pagination
{
"code": "string",
"message": "string",
"data": {
"list": [
{
"store_id": "string",
"currency": "string",
"trans_type": "string",
"trans_id": "string",
"fee_amount": "string",
"settlement_amount": "string",
"reserve_amount": "string",
"settlement_time": "string",
"merchant_id": "string"
}
],
"has_more": true,
"cursor": "string"
}
}
invalid parameter
- application/json
- Schema
- Example
- Example
Schema
error code
error message
{
"code": "string",
"message": "string"
}
{
"code": "InvalidParameter",
"message": "Currency is required."
}