Delete Operation

Delete Operation

DELETE https://api.payvalida.com/cashout/v1/operation/{merchant}/{operation}

URL Sandbox: https://api-test.payvalida.com/v1/operation/{merchant}/{operation}

This method allows to change the status of an operation to CANCELADO (CANCELLED), meaning that the operation won't be available to be executed. Only PENDIENTE (PENDING) operations are allowed to be cancelled.

Path Parameters

NameTypeDescription

merchant

string

Commerce/merchant that owns the operation (Max 30 characters).

operation

string

Operation ID generated by the commerce/merchant (Max 30 characters).

Request Body

NameTypeDescription

checksum

string

Checksum encoded in SHA512 (merchant+operation+FIXED_HASH) (512 caracteres)

documet

number

ID of the end user that executes the operation (Max 20 characters).

{  
   "code":"0000",
   “text”:”OK”,
   "data":{
        "amount": "5000",
        "transactionCost": "2000",
        "currency": "COP",
        "description": "1001007878",
        "otp": "379133",
        "operation": "909192",
        "status": "CANCELADA",
        "payvalidaCode": "507"
    }
}

Response data

code: Code of the result, "0000" indicates success, any other indicates an error

text: Contains the message associated with the code that was sent.

data: Contains the transaction data (for successful results)

  • amount: Transaction amount

  • transactionCost: The cost the user assumes for executing the transaction

  • currency: Registered currency for the cashout operation

  • description: Description of the operation

  • document: Identification number

  • otp: Generated OTP for the operation

  • operation: Operation ID, generated by the commerce/merchant

  • expire: Expiration date of the operation

  • status: Status of the operation

  • payvalidaCode: Operation ID in Payvalida

Last updated