Reverse
Reverse a cashout transaction. This method allows the cash network to make an automatic reverse.
This method has a limit of 50 seconds since its registration.
Production: https://api.payvalida.com/cashout/v1/transaction/{netname}/{idtransaction}
Sandbox: https://api-test.payvalida.com/cashout/v1/transaction/{netname}/{idtransaction}
netcode
Yes
Network code
Numeric
20
transaction
Yes
Transaction ID (unique)
Alphanumeric
50
checksum
Yes
Checksum encoded with SHA512(name + transaction + FIXED_HASH)
Alphanumeric
512
curl -i -X PATCH -H "Content-Type:application/json" -d '{
“transaction”: ”1500003”,
"checksum": "SHA512CHECKSUM...",
"netcode": 180
}' https://api-test.payvalida.com/cashout/v1/transactions/redEjemplo/1500003
code
Indicates the resulting code, “0000” means result with no error, any other value indicates the error code.
Alphanumeric
text
Contains the detailed message associated with the code.
Alphanumeric
data
Contains the transaction’s data (when there’s no error)
Object
data-transaction
Transaction confirmation as sent by the network
Alphanumeric
data-checksum
Checksum encoded with SHA512(transaction + FIXED_HASH)
Alphanumeric
data-netcode
Network code
Alphanumeric
{ "code":"0000",
“text”:”OK”,
"data":{ “transaction”: ”1500003”,
“netcode”: ”180”, "checksum":"71ff0ca3ffa49f0d13c7de5c661c6f8fddcab38004a195718e3d2..."
}
}
Last updated