Count the Seller's Transfers by tab
شرح نقطههای پایانی در مرجع API به انگلیسی است؛ واژهها و قالبها همان است که در پاسخها میبینید.
نمونهها نشانی محیط اصلی را دارند، اما «امتحان کنید» همان درخواست را فقط به محیط آزمایشی میفرستد. کلید محرمانه شما نه در این سایت ذخیره میشود و نه در گزارشهای آن میآید.
Returns how many of the caller's Transfers each tab holds. The call needs a token of the chasbi realm whose Account holds the Seller power FINANCE: the owner, or a Seller Member with the role MANAGER or FINANCE; or an access token of the chasbi-partners realm for an API Key of the Seller with the role MANAGER or FINANCE. Any other token is refused with ACCESS_DENIED.
oauth2AuthorizationBearer <token>An access token of the chasbi-partners realm, made by the client-credentials grant with an API Key's client id and secret in the Authorization: Basic header. It lives five minutes and comes with no refresh token: ask for a new one when it ends.
The counts.
application/json- response
How many Transfers each tab holds.
failed*integerFAILED.
int32inFile*integerIN_FILE, the Operator's Transfers in a Transfer File not yet accepted; always 0 for a Seller, whose inTransfer holds them.
int32inTransfer*integerIN_TRANSFER.
int32paid*integerPAID.
int32waiting*integerWaiting for the caller: an Operator's NEEDS_OPERATOR and WAITING_FOR_FILE; always 0 for a Seller.
int32waitingForFile*integerWAITING_FOR_FILE, the Operator's FILE Transfers waiting for a Transfer File; always 0 for a Seller, whose inTransfer holds them.
int32curl -X GET 'https://api.chasbi.com/v1/me/seller/settlement/transfers/counts'{ "failed": 0, "inFile": 0, "inTransfer": 0, "paid": 0, "waiting": 0, "waitingForFile": 0}