Balances & StatementsBalances

Get account balance

get/v1/merchants/{merchantId}/balance

Returns the merchant's current available balance in major currency units, rounded to 2 decimal places. The balance includes card and payment takings, internal transfers and in-transit provider funds, minus completed payouts, depending on the merchant's country and payout setup. pending and on_hold are always 0. Returns all zeros when the merchant has no gateway customer record. The merchant must belong to your reseller, otherwise 404.

Endpoint destination URL

https://sandbox-portal.datmanlabs.com/api/v1/merchants/{merchantId}/balance

Authorization

ApiKeyAuth
headerapi_key<token>

Partner API key issued by Datman.

Request Parameters

Path Parameters

merchantId*integer

Numeric merchant id. Must be a positive integer belonging to your reseller.

Range1 <= value

Response parameters & Errors

Response Body

Current balance.

application/json
  1. response
data*