Partially change an entity by id
Updates the Payment resource.
Authorizations:Token, JWT
Query Parameters
| id required | string |
| cart_id required | string36 charactersCart ID |
Request Body Schema:
The updated Payment resource | cartId | string or null | ||||
| action | string or null | ||||
| actionData | Array of objects or null | ||||
Array
| |||||
| actionMetaData | Array of objects or null | ||||
Array
| |||||
Responses
200Payment resource updated
Response schema:
Payment resource updated | id | string or null | ||||||||||||||
| cartId | string or null | ||||||||||||||
| status | string or null | ||||||||||||||
| value | number or null | ||||||||||||||
| type | string or null | ||||||||||||||
| data | Array of objects or null | ||||||||||||||
Array
| |||||||||||||||
| backendTransactions | Array of objects or null | ||||||||||||||
Array
| |||||||||||||||
| processor | string or null | ||||||||||||||
| actionData | Array of objects or null | ||||||||||||||
Array
| |||||||||||||||
| actionMetaData | Array of objects or null | ||||||||||||||
Array
| |||||||||||||||
400Invalid input
401Unauthorized
Response schema:
Unauthorized | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |
404Resource not found
Response schema:
Resource not found | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |
422Unprocessable entity
500Internal error
Response schema:
Internal error | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |