API reference and playgroundPayouts
Get account info
curl -X GET "https://test-api.kashier.io/v2/account"{ "message": "success", "data": [ { "_id": "507f1f77bcf86cd799439004", "totalBalance": 228366, "availableBalance": 228366, "merchantId": "MID-XXXXX-XXX", "accountId": "ACC-XXXXX-XXX-01", "createdAt": "2024-02-15 15:53:56.947000+00:00", "updatedAt": "2024-11-20 18:05:15.432000+00:00", "merchantName": "kashier store", "payoutMethod": { "method": "bankAccount", "payoutFields": { "bankName": "Example Bank", "bankBranch": "Main Branch", "accountHolderName": "John Doe", "accountNumber": "0000000000", "branchCode": "3" } }, "lastTransfer": 1000, "totalBalanceBeforeLastTransfer": 1000, "lastTransferDate": "2024-05-08 11:19:15.656000+00:00" } ], "pagination": { "total": 1, "limit": 20, "page": 1, "pages": 1 }}Retrieves account info — balances, payout method, and last-transfer details for the merchant identified by the secret key.
Authorization
secretKey Authorization<token>
Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json