Cancel the Validity of a Payment Link
POST /moto/api/v1/mail_order/{identifier}
Request
URL Parameters
The URL must include the unique identifier, which is explained in the section "Unique Identifier for Future Operations". Example: "/moto/api/v1/mail_order/2c560e2a-2cd0-11ec-903d-0242ac1827ac"
Payload
No parameters
Response
Payload
- order (string):
Examples
Example - Response for Existing Operation
- Response:
{
"type": "app.status",
"code": "0",
"detail": "Success",
"payload": {
"order": "2c560e2a-2cd0-11ec-903d-0242ac1827ac"
},
"request_id": "6299eddcfca3a4d8081e69aa",
"uuid": "6299eddcfca3a4d8081e69aa"
}
Example - Response for Non-Existing Operation
- Response:
{
"type": "app.status",
"code": -1,
"detail": "Not found",
"payload": {
"error": "Order b7a59058-e32e-11ec-b3ab-0242ac110027 no encontrada"
},
"request_id": "6299ee45fca3a4d8081e69ab",
"uuid": "6299ee45fca3a4d8081e69ab"
}