Get delivery cash transfers
Gets information about orders for which cash on delivery was transferred to the online store
- Parameters
- Advanced call ?
Function GetDeliveryCashTransfers(Val Token, Val ReceivingDate, Val TestAPI = False) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Token | --token | String | ✔ | Auth token |
| ReceivingDate | --date | Date | ✔ | Date for which data should be retrieved |
| TestAPI | --testapi | Boolean | ✖ | Flag to use test API for requests |
Returns
Map Of KeyAndValue - serialized JSON response from CDEK
| Parameter | Description |
|---|---|
| proxy | InternetProxy or a structure with fields Protocol, Host, Port, User, Password, UseOSAuthentication |
| timeout | Request execution timeout |
| adv_response | Formats the response as a complete HTTP structure with fields code, body, and headers |
| retries | Number of HTTP request send attempts on 5** status codes or internal client errors |
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
tip
Method at API documentation: Cash on delivery transfer information
1C:Enterprise/OneScript code example
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3NjE5MTU3NDQsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
ReceivingDate = OPI_Tools.GetCurrentDate();
Result = OPI_CDEK.GetDeliveryCashTransfers(Token, ReceivingDate, True);
- Bash
- CMD/Bat
oint cdek GetDeliveryCashTransfers \
--token "***" \
--date "2026-05-26T14:19:08" \
--testapi "***"
oint cdek GetDeliveryCashTransfers ^
--token "***" ^
--date "2026-05-26T14:19:08" ^
--testapi "***"
Result
{
"timestamp": "2026-05-26T14:19:08.453+00:00",
"status": 404,
"error": "Not Found",
"path": "/v2/payment"
}