Register Operation

Register Operation

POST https://api.payvalida.com/cashout/v1/operation

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

This method registers a cashout operation, authorizing the delivery of cash to the requester

Request Body

{  
   "code":"0000",
   “text”:”OK”,
   "data":{  
      "amount":"150000.0",
      “transactionCost”:”2000.0”,
      "currency":"COP”,
      "description":"Retiro de intereses al 15092019",
      "document":"1001007878",
      "otp":"*********",
      “operation”:”1452782”,
      “expire”:”2019-12-31”
      “payvalidaCode”:1234567890,
      “balance”:900234900,
   }
}

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 (If the SMS parameter is true, this value is not provided)

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

  • expire: Expiration date of the operation

  • payvalidaCode: Operation ID in Payvalida

  • balance: Available balance for operations

The CURRENCY parameter only accepts USD and the local currency, corresponding to the country where the commerce was registered. If USD is received, the system automatically converts it to the local currency.

All registered operations start with a PENDIENTE (pending) status.

The "expire" field indicates the date on which withdrawals cannot be made.

Last updated