Como utilizar
Basicamente, transações de pré autorização devem conter o campo operation_type preenchido com o valor pre_auth
Exemplo
{
"amount": 31065,
"initiator_id": "74e6e09bd3ff4737",
"reference_id": "74e6e09bd3ff4737",
"local_datetime": "2024-04-11T18:45:27",
"payment_method": "card",
"channel": "website",
"card_transaction": {
"type": "credit",
"operation_type": "pre_auth",
"statement_descriptor": "loja ecommerce",
"card": {
"entry_mode": "manual",
"number": "6033401111633077000",
"expiration_date": "3111",
"cvv": "123",
"holder_name": "TONY STARK"
}
}
}
{
"id": "B7843C6C57836C5ETWGFU",
"initiator_id": "1470375860-3.19.3.3-RG0DA3-0001",
"reference_id": "787CVBNBN794",
"amount": 923,
"status": "authorized",
"payment_method": "card",
"created_at": "2023-07-01T11:50:37Z",
"card_transaction": {
"type": "credit",
"funding_source": "credit",
"result": "success",
"transaction_id": "cb42d188-aca6-46f2-a2c9-046cb6342f5d",
"operation_id": "4d41314b-cb2d-4abe-b594-fd6875726e1b",
"authorization_code": "ABC416",
"acquirer_message": "Aprovado",
"acquirer_return_code": "0000",
"card": {
"brand": "Visa",
"emv_response": "9F0500"
}
}
}