رفتن به محتوا
چسبیتوسعه‌دهندگان
تسویه حساب

Read one of the Seller's Transfers

شرح نقطه‌های پایانی در مرجع API به انگلیسی است؛ واژه‌ها و قالب‌ها همان است که در پاسخ‌ها می‌بینید.

نمونه‌ها نشانی محیط اصلی را دارند، اما «امتحان کنید» همان درخواست را فقط به محیط آزمایشی می‌فرستد. کلید محرمانه شما نه در این سایت ذخیره می‌شود و نه در گزارش‌های آن می‌آید.

GET
/v1/me/seller/settlement/transfers/{transferId}

Returns the Transfer with the Shipments it carries. An unknown Transfer, or another Seller's, is 404 TRANSFER_NOT_FOUND, with the transferId in details. 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.

احراز هویت

oauth2
headerAuthorizationBearer <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.

پارامترهای مسیر

transferId*string

The Transfer's id.

قالبuuid

بدنه پاسخ

The Transfer.

application/json
  1. response

A Transfer with the ledger entries it draws.

lines*array<>

The entries it draws.

transfer*

The Transfer.

نمونه درخواست
curl -X GET 'https://api.chasbi.com/v1/me/seller/settlement/transfers/497f6eca-6276-4993-bfeb-53cbbbba6f08'
نمونه پاسخ
{  "lines": [    {      "amount": 0,      "entryId": "09a8b554-45ca-4bab-a638-265db4b3e828",      "kind": "SHIPMENT_RELEASED",      "live": true,      "orderNumber": 0,      "returnRequestNumber": 0,      "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf",      "shipmentPosition": 0    }  ],  "transfer": {    "amount": 0,    "bankReference": "string",    "createdAt": "2019-08-24T14:15:22Z",    "depositReference": 0,    "failedAt": "2019-08-24T14:15:22Z",    "failureCode": "STOPPED",    "fee": 0,    "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc",    "fileReference": 0,    "gross": 0,    "holdReason": "NO_SOURCE_ACCOUNT",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "lineCount": 0,    "method": "GATEWAY",    "paidAt": "2019-08-24T14:15:22Z",    "paidByHandOffered": true,    "sellerId": "2b5cb5ab-0f11-4d75-8f0a-a6d87a9d534e",    "sellerName": "string",    "status": "QUEUED",    "version": 0,    "waiting": true,    "waitingKind": "HOLDER_NAME_TO_REVIEW"  }}