Receive Webhook Payment Data

information icon
Important: To configure Getnet webhook notifications, you must provide a fully qualified callback URL (server endpoint) in the Technical Configuration process.

WebCheckout webhook notification, sends the authorization data, containing the details of the payment intent that originated it, to the endpoint preconfigured by the merchant. This request will be sent to your address, protected by Authorization: Basic authentication.

When a payment intention is authorized or denied in the Checkout, the system will send a REST request of the POST type to the previously configured URL.

Reconciliation of the authorization data received via this request can be done using the order_id field entered when creating the payment intent or the payment_intent_id field itself if you have chosen to persist it in your database.

The authorization data can be obtained from the payment object, where:

AttributeTypeDescriptionExample
methodStringThe payment method selected by the shopper.credit
amountIntegerThe amount authorized by the merchant.10000
installmentObjectThe number of installments and plan chosen, when applicable.--
resultObjectThe authorization data.--
statusStringPayment transaction status.Authorized or Denied
authorization_codeStringAuthorized payment transaction code.9999
transaction_datetimeStringDate and time the attempt/authorization was processed.1997-07-16T19:20:30.45+01:00
return_messageStringThe error message in case of a denied transaction.Card not accepted for this operation

Request

Example of Authorized request:
json
curl https://api-sbx.pre.globalgetnet.com/digital-checkout/v1/ \ --request POST \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic username:password' \ --data '{ "payment_intent_id": "1f9f47ed-65cc-4fbf-a407-0f17df9a2e2c", "checkout_id": "5ab15d1e-ea8b-4560-84d2-fb3d02179537", "order_id": "YOUR_ORDER_ID", "mode": "instant", "seller": { "id": "716d899e-9091-4577-a12f-8a77ec4d1e0b", "trade_name": "GetNet Shop", "merchant_document": "00000000000", "settings": { "notification_url_configured": true } }, "customer": { "customer_id": "c129d793-d204-4610-8819-b8fb720a8552", "first_name": "John", "last_name": "Doe", "name": "John Doe", "email": "johndoe@emailtest.com", "document_type": "dni", "document_number": "1111111111111", "checked_email": false, "billing_address": { "street": "South Rockledge St", "number": "00", "complement": "Rockville", "country": "BR", "postal_code": "00000000" } }, "shipping": { "first_name": "John", "last_name": "Doe", "name": "John Doe", "address": { "street": "South Rockledge St", "number": "00", "complement": "Rockville", "country": "BR", "postal_code": "00000000" } }, "payment": { "method": "credit", "amount": 14100, "currency": "BRL", "installment": { "quote_id": "f054ce63-0475-406f-8eca-25aea5dae6a8", "schema": "plan_name", "type": "with_interest", "number": 6 }, "payment_method": { "token_id": "e327bae6-286e-4920-addb-5f4b10315b4e" }, "result": { "payment_id": "3a76acae-d9c0-421c-91e0-cf5ce8aca098", "status": "Authorized", "authorization_code": "999999", "transaction_datetime": "2024-01-01T12:00:00.000Z" } }, "pickup_store": false, "product": [ { "product_type": "cash_carry", "title": "Look Fashion Leather Boot", "value": 5300, "quantity": 1 }, { "product_type": "cash_carry", "title": "Look Fashion Blazer", "value": 8800, "quantity": 1 } ], "frontend": { "link": "https://www.globalgetnet.com/", "time_page": 39, "sales_channel": "WEB", "application_version": "0.0.0", "card_pasted": true, "ip": "000.000.00.00", "timezone": "America/Sao_Paulo", "locale": "en-US" }, "created_at": "2024-01-01T12:00:00.000Z", "updated_at": "2024-01-01T12:00:00.000Z" }'
Example of Denied request:
json
curl https://api-sbx.pre.globalgetnet.com/digital-checkout/v1/ \ --request POST \ --header 'Authorization: Basic username:password' \ --data '{ "payment_intent_id": "1f9f47ed-65cc-4fbf-a407-0f17df9a2e2c", "checkout_id": "5ab15d1e-ea8b-4560-84d2-fb3d02179537", "order_id": "YOUR_ORDER_ID", "mode": "instant", "seller": { "id": "716d899e-9091-4577-a12f-8a77ec4d1e0b", "trade_name": "GetNet Shop", "merchant_document": "00000000000", "settings": { "notification_url_configured": true } }, "customer": { "customer_id": "c129d793-d204-4610-8819-b8fb720a8552", "first_name": "John", "last_name": "Doe", "name": "John Doe", "email": "johndoe@emailtest.com", "document_type": "dni", "document_number": "1111111111111", "checked_email": false, "billing_address": { "street": "South Rockledge St", "number": "00", "complement": "Rockville", "country": "BR", "postal_code": "00000000" } }, "shipping": { "first_name": "John", "last_name": "Doe", "name": "John Doe", "address": { "street": "South Rockledge St", "number": "00", "complement": "Rockville", "country": "BR", "postal_code": "00000000" } }, "payment": { "method": "credit", "amount": 14100, "currency": "BRL", "installment": { "quote_id": "f054ce63-0475-406f-8eca-25aea5dae6a8", "schema": "plan_name", "type": "with_interest", "number": 6 }, "payment_method": { "token_id": "e327bae6-286e-4920-addb-5f4b10315b4e" }, "result": { "payment_id": "3a76acae-d9c0-421c-91e0-cf5ce8aca098", "status": "Denied", "return_message": "Card not accepted for this operation", "transaction_datetime": "2024-01-01T12:00:00.000Z" } }, "pickup_store": false, "product": [ { "product_type": "cash_carry", "title": "Look Fashion Leather Boot", "value": 5300, "quantity": 1 }, { "product_type": "cash_carry", "title": "Look Fashion Blazer", "value": 8800, "quantity": 1 } ], "frontend": { "link": "https://www.globalgetnet.com/", "time_page": 39, "sales_channel": "WEB", "application_version": "0.0.0", "card_pasted": true, "ip": "000.000.00.00", "timezone": "America/Sao_Paulo", "locale": "en-US" }, "created_at": "2024-01-01T12:00:00.000Z", "updated_at": "2024-01-01T12:00:00.000Z" }'

QR Code notifications

information icon
Applies only for 🇦🇷 Argentina.

For QR Code payments, the notification is sent when the wallet confirms or declines the payment, which may happen a few minutes after the QR Code was displayed to the buyer. Until that moment the transaction remains pending and no notification is sent.

The payment object of the QR Code notification carries the data reported by the wallet:
AttributeTypeDescriptionExample
methodStringPayment method used by the buyer.qr_code
amountIntegerAuthorized amount.1410000
currencyStringCurrency code of the transaction.ARS
installmentObjectInstallment plan chosen by the buyer in the wallet, when applicable.--
payment_method.operationStringType of operation settled by the wallet.pct
payment_method.brandStringBrand of the payment form chosen in the wallet, when applicable.VISA
payment_method.last_four_digitsStringLast four digits of the card used in the wallet, when the payment form is a card.1234
result.payment_idStringPayment identifier, used in cancellation or refund.3a76acae-d9c0-421c-91e0-cf5ce8aca098
result.statusStringTransaction status.Approved or Denied
result.authorization_codeStringAuthorization code of the approved transaction.999999
result.return_messageStringReason reported by the wallet in case of decline.1 - Rechazado por el usuario
result.transaction_datetimeStringDate and time the payment was confirmed by the wallet.2026-07-27T18:24:03.000Z
Example of an approved QR Code notification:
json
curl https://api-sbx.pre.globalgetnet.com/dpy/web-checkout/v1/ \ --request POST \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic username:password' \ --data '{ "payment_intent_id": "f6ee8bc7-229d-4d9d-bced-7dd2371a1f57", "checkout_id": "5ab15d1e-ea8b-4560-84d2-fb3d02179537", "order_id": "PEDIDO_AR_97531", "mode": "instant", "seller": { "id": "716d899e-9091-4577-a12f-8a77ec4d1e0b", "trade_name": "GetNet Shop", "merchant_document": "00000000000", "settings": { "notification_url_configured": true } }, "customer": { "customer_id": "cliente_ar_005", "first_name": "Laura", "last_name": "Fernández", "name": "Laura Fernández", "email": "laura.fernandez@example.com.ar", "document_type": "dni", "document_number": "45678912" }, "payment": { "method": "qr_code", "amount": 1410000, "currency": "ARS", "payment_method": { "operation": "pct" }, "result": { "payment_id": "3a76acae-d9c0-421c-91e0-cf5ce8aca098", "status": "Approved", "authorization_code": "999999", "transaction_datetime": "2026-07-27T18:24:03.000Z" } }, "created_at": "2026-07-27T18:22:41.000Z", "updated_at": "2026-07-27T18:24:03.000Z" }'
Example of a declined QR Code notification:
json
curl https://api-sbx.pre.globalgetnet.com/dpy/web-checkout/v1/ \ --request POST \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic username:password' \ --data '{ "payment_intent_id": "f6ee8bc7-229d-4d9d-bced-7dd2371a1f57", "checkout_id": "5ab15d1e-ea8b-4560-84d2-fb3d02179537", "order_id": "PEDIDO_AR_97531", "mode": "instant", "seller": { "id": "716d899e-9091-4577-a12f-8a77ec4d1e0b", "trade_name": "GetNet Shop", "merchant_document": "00000000000", "settings": { "notification_url_configured": true } }, "payment": { "method": "qr_code", "amount": 1410000, "currency": "ARS", "payment_method": { "operation": "pct" }, "result": { "payment_id": "3a76acae-d9c0-421c-91e0-cf5ce8aca098", "status": "Denied", "return_message": "1 - Rechazado por el usuario", "transaction_datetime": "2026-07-27T18:24:03.000Z" } }, "created_at": "2026-07-27T18:22:41.000Z", "updated_at": "2026-07-27T18:24:03.000Z" }'
information icon
Info: Getnet will resend the webhook notification up to five times at progressively increasing intervals. If the notification is still not successfully delivered after these initial attempts, retries will continue once per hour for up to 72 hours. After this period, GetNet will stop any further notification attempts.

200 Response

A status of 200 means that the webhook has been successfully received and no further delivery attempts will be made.