Confirmation
With this operation, the previously registered transaction is confirmed or canceled. If this operation is not invoked, the order will remain in a pending state.

Production: https://cashin.payvalida.com/v1/transactions/
Field
Type
Required
Description
name
string
yes
Name of the payment network
transaction
string
yes
Unique transaction ID used in the POST transaction.
confirm
string
yes
Confirmation of the operation. string value of bool **
checksum
string
yes
Check string, calculated with SHA512(name + transaction + FIXED_HASH)
curl --location --request PATCH 'https://sandbox-cashin.payvalida.com/v1/transactions/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "BEVALIDA_343",
"transaction": "129999999",
"confirm": "true",
"checksum": "0C08309AE28D15E8D337344E88668E2047947F653B126B7F62B0EACC4B1A30FD680DBE25BD8B38413032A219B86BDAE52D9554D45A892CA4B5C5103597876EAD"
}'Field
Struct
Type
Description
CODE
-
string
Response code 0000 for OK.
TEXT
-
string
Description of the response
DATA
-
-
payment data
IDTRANSACTION
DATA
string
Confirmation of the transaction id sent by the network.
CONFIRM
DATA
bool
Confirmation sent over the network. And final status of the transaction.
{
"CODE": "0000",
"TEXT": "OK",
"DATA": {
"IDTRANSACTION": "129999999",
"CONFIRM": true
}
}Header
Value
Content-Type
application/json
** the confirm field can have the values of "true" or "false". with "true" the transaction is confirmed and finalized and after 30 seconds Payvalida will notify the business. After this time, the transaction cannot be canceled by sending confirm in "false".
Example request
GO
PHP
Java
Python
Última actualización
¿Te fue útil?