Delete

Only orders with a PENDING (PENDIENTE) status can be eliminated

Delete

DELETE https://api.payvalida.com/api/v3/porders/{order}

Sandbox URL: https://api-test.payvalida.com/api/v3/porders/{order} This action changes the order status from PENDING (PENDIENTE) to CANCELLED (CANCELADA), in this case, notifications about the status change aren't sent. After elimination (cancellation), the order can't be paid.

Path Parameters

Name
Type
Description

order

string

Order ID. Max. 200 characters

Query Parameters

Name
Type
Description

merchant

string

ID of the commerce in Payvalida. Max. 50 characters.

checksum

string

Checksum encoded in SHA512(order+merchant+FIXED_HASH). 512 caracteres.

{  
   "CODE":"0000",
   "DATA":{  
      "Reference":"3102292330",
      "Amount":"0.0",
      "Operation":"DELETED",
      "OrderID":"1496953766724_6",
      "PVOrderID":"95585"
   },
   "DESC":"OK"
}

Examples

  • Request

  • Go

  • PHP

  • Python

  • Java

  • JavaScript

Última actualización

¿Te fue útil?