PayoutsPayouts
Get payout statistics
get
/v1/merchants/{merchantId}/payout-statsReturns the merchant's provider payout transactions grouped by status, with the number of payouts and the total amount (in major currency units) for each status. This covers all time. Payout batches are not counted. Returns an empty list when the merchant has no payout transactions. The merchant must belong to your reseller, otherwise 404.
Endpoint destination URL
https://sandbox-portal.datmanlabs.com/api/v1/merchants/{merchantId}/payout-statsApiKeyAuthheader
api_key<token>Partner API key issued by Datman.
Request Parameters
merchantId*integerNumeric merchant id. Must be a positive integer belonging to your reseller.
Range
1 <= valueResponse parameters & Errors
Payout counts and totals by status.
application/json- response
data*array<>
