Reverse
Last updated
Last updated
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.
Method: PATCH
Production: https://api.payvalida.com/cashout/v1/transaction/{netname}/{idtransaction}
Sandbox: https://api-test.payvalida.com/cashout/v1/transaction/{netname}/{idtransaction}
Name | Required | Description | Type | Length |
---|---|---|---|---|
Reversing a transaction is supported as long as the endpoint is consumed within 30 seconds after the transaction is initially registered.
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
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