Get transaction status on contractor account
Get transaction status on contractor account
Request
GET
https://fleet-api.taxi.yandex.net/v3/parks/driver-profiles/transactions/status
Query parameters
|
Name |
Description |
|
contractor_profile_id* |
Type: string Driver's profile ID Example: |
|
id* |
Type: string Transaction ID |
|
park_id* |
Type: string Partner ID Example: |
|
version* |
Type: integer Transaction version Min value: |
Responses
200 OK
Transaction status information
Body
application/json
{
"id": "string",
"park_id": "string",
"contractor_profile_id": "string",
"version_info": {
"version": 0,
"created_at": "2019-08-08T11:58:01+00:00",
"status": "in_progress",
"status_description": "string",
"amount": "1050.5000",
"fee_amount": "1050.5000"
},
"latest_version": 0,
"latest_success_version": 0,
"event_id": "string"
}
|
Name |
Description |
|
contractor_profile_id* |
Type: string Contractor identifier Min length: Max length: |
|
event_id* |
Type: string ID of the event that initiates the creation of transactions via the api Min length: Max length: |
|
id* |
Type: string Min length: Max length: |
|
latest_version* |
Type: integer Min value: |
|
park_id* |
Type: string Park ID Min length: Max length: |
|
latest_success_version |
Type: integer Min value: |
|
version_info |
Type: EventVersion Transaction version |
EventVersion
Transaction version
|
Name |
Description |
|
amount* |
Type: string Example: Pattern: |
|
created_at* |
Type: string<date-time> Date and time in ISO 8601 format with timezone Example: |
|
status* |
Type: EventStatus Event processing status Enum: |
|
version* |
Type: integer Min value: |
|
fee_amount |
Type: string Example: Pattern: |
|
status_description |
Type: string Min length: Max length: |
400 Bad Request
Invalid request parameters
Body
application/json
{
"code": "string",
"message": "Textual description of the error"
}
|
Name |
Description |
|
message* |
Type: string Human-readable error message Example: |
|
code |
Type: string Machine-readable error code |
403 Forbidden
Insufficient rights to execute the request
Body
application/json
{
"code": "string",
"message": "Textual description of the error"
}
|
Name |
Description |
|
message* |
Type: string Human-readable error message Example: |
|
code |
Type: string Machine-readable error code |
429 Too Many Requests
Limit of requests was exceeded
Body
application/json
{
"code": "string",
"message": "Textual description of the error"
}
|
Name |
Description |
|
message* |
Type: string Human-readable error message Example: |
|
code |
Type: string Machine-readable error code |
500 Internal Server Error
Internal server error
Body
application/json
{
"code": "string",
"message": "Textual description of the error"
}
|
Name |
Description |
|
message* |
Type: string Human-readable error message Example: |
|
code |
Type: string Machine-readable error code |
No longer supported, please use an alternative and newer version.