1. Payments
Regional API GetNet
  • Authentication
    • Authentication Token
      POST
  • Payments
    • Create - Authorize
      POST
    • Adjustment
      PATCH
    • Capture
      POST
    • QRCode
      POST
    • Cancel
      POST
    • Create an Invoice/Boleto
      POST
    • Create PIX
      POST
    • 3DS - Init Authentication
      POST
    • 3DS - Banking Login Authentication Payload
      POST
    • 3DS - Validate authentication
      POST
  • Payment Record Management
    • Get Transaction
      GET
    • Get by Idempotent Key
      GET
  • Combined Payments
    • Authorize
      POST
    • Capture
      POST
    • Cancel
      POST
  • Crossborder
    • Get CrossBorder Quote
      POST
    • Validate customer
      POST
  • Installments
    • Get Installments
      POST
  • Cards
    • Generate Token
      POST
    • BIN Lookup
      GET
    • Get Cards By Customer Id
      GET
    • Store Card in Vault
      POST
    • Get Card by Id
      GET
    • Delete Card by Id
      DELETE
    • Card verification
      POST
  • Customers
    • Get Customers by Seller Id
    • Create Customer
    • Get Customer by Id
  • Recurrence Plans
    • Get Plans by Seller Id
    • Create Recurrence Plan
    • Get Plan by Id
    • Update Plan
    • Migrate Subscriptions
    • Update Plan status
  • Webhooks
    • Subscribe to a webhook event
    • Get a list of all subscriptions events
    • Subscribe to a webhook event
    • Get a list of all subscriptions events messages based on filters
    • Re-send a message
    • Get a list of all possible events to subscribe.
  • Subscriptions
    • Get Subscriptions
    • Create Subscription
    • Get Subscription by Id
    • Cancel Subscription
    • Projection of Charges
    • Confirm Payment for a Subscription
    • Update Payment Date
    • Update Payment Data
    • Get Changes of Subscription Installments
    • Set Changes of Subscription Installments
    • Delete Changes of Subscription Installments
    • Update Changes of Subscription Installments
    • Update fluctuation of Subscription Installment
    • Delete fluctuation of Subscriptions Installment
    • Migrate Subscription Plan
    • Get All Charges
  • 数据模型
    • payment
    • seller_id
    • request_id
    • payment_id
    • order_id
    • amount
    • currency
    • received_at
    • transaction_id
    • authorized_at
    • acquirer
    • soft_descriptor
    • brand
    • authorization_code
    • acquirer_transaction_id
    • eci
    • total_installment_amount
    • first_installment_amount
    • other_installment_amount
    • payment_method
    • status
    • idempotency_key
    • reason_code
    • reason_message
    • custom_key
    • customer_id
    • plan_id
    • md
    • tx_id
    • xid
    • status3DS
    • protocol
    • operation
    • cavv
    • ds_trans_id
    • redirect_html_template
    • acs_redirect_form
    • requestPayment
    • requestCapture
    • requestCancel
    • paymentAuthorizationResponse
    • Record Object
    • Request QRCode Data
    • Response QRCode Data
    • paymentCancelResponse
    • paymentCaptureResponse
    • paymentPurchaseResponse
    • cancelResult
    • protocol
    • registered_at
    • rel
    • notFound
    • badRequest
    • internalServerError
    • CreditCancel
    • DefaultErrorHttpResponse
    • ErrorDetail
    • OrderItemReleaseDTO
    • ReleaseDTO
    • AddressDTO
    • CardDTO
    • ServiceCodeDTO
    • CustomerDTOSubs
    • CustomerDTO
    • InternalDTO
    • OrderPaymentDTO
    • OrderDTO
    • InstallmentCuotesDTO
    • RecurringDTO
    • SubMerchantDTO
    • TokenizationDTO
    • ReceiverDTO
    • FundTransferDTO
    • WalletCreditDTO
    • CreditResponseDTO
    • DetailsResponseDTO
    • PaymentResponseDTO
    • BoletoDTO
    • DataDTO
    • DataAdjustmentDTO
    • DataBoletoDTO
    • PaymentDataDTO
    • TerminalPaymentDTO
    • PaymentDataAdjustmentDTO
    • PaymentBoletoDataDTO
    • BoletoDataDTO
    • CancelRequestDTO
    • MarketplaceSubsellerPayment
    • OrderItem
    • CancelDTO
    • CaptureResponseDTO
    • CancelResponseDTO
    • PaymentDTO
    • AdjustmentDTO
    • PaymentBoletoDTO
    • AutorizationResponseDTO
    • BolepixDTO
    • BoletoResponseDTO
    • LinkBoletoDTO
    • InstallmentQuotesRequestDTO
    • IncreaseRateDTO
    • InstallmentQuotesResponseDTO
    • CrossborderQuoteResponseDTO
    • PricesDTO
    • InterestRateDTO
    • InterestTaxRateDTO
    • OptionResponseDTO
    • Data
    • ConfirmRequestDTO
    • ConfirmResponseDTO
    • CreditConfirmDTO
    • CancelCustomKeyResponseDTO
    • TokensCardRequest
    • TokensCardResponse
    • CardDataResponse
    • ListCardDataResponse
    • SaveCardDataRequest
    • SaveCardDataResponse
    • VerificationCardRequest
    • VerificationCardResponse
    • CustomerResponse
    • ListCustomersResponse
    • Address
    • FloatingDataPlan
    • Period
    • PlanRequest
    • Plan
    • PlanData
    • TenantData
    • PlanDataWrapper
    • UpdatePlan
    • PlanPartialUpdateRequest
    • SubscriptionPlanMigration
    • FilteredResponse
    • SubscriptionResponse
    • Device
    • SubscriptionDetailResponse
    • PaymentResponse
    • PaymentTypeResponse
    • PlanResponse
    • CreditResponse
    • PeriodResponse
    • FloatingData
    • Tokenization
    • Wallet
    • CreditCardResponse
    • PaymentDataResponse
    • PaymentError
    • PaymentErrorDetail
    • Shipping
    • CreditCardCreation
    • CreditCreation
    • PaymentCreation
    • PaymentTypeCreation
    • SubscriptionCreation
    • SubscriptionDetailCreation
    • PaymentDate
    • SubscriptionCancel
    • FloatingDataProjection
    • Projection
    • AmountProjection
    • ConfirmPayment
    • ReplaceCreditCard
    • FloatingDataResponse
    • FloatingDataRemoveResponse
    • FloatingDataWithDetails
    • FloatingDataUpdate
    • PlanMigrationRequest
    • Order
    • Card
    • PaymentResponseCharge
    • PlanCharge
    • consultaBinResponse
    • results
    • split_data
    • rates
    • DeviceDTO
    • CustomerDTOAddData
    • BillingAddressDTO
    • ShippingsDTO
    • PixDTO
    • Payment
    • quote_id
    • CombinedPaymentDTO
    • CombinedDataDTO
    • CombinedPaymentDataDTO
    • CrossBorderDataDTO
    • CombinedResponseDTOCombinedAutorizationResponseDataDTO
    • CombinedAutorizationResponseDataDTO
    • CombinedOperationsRequestDTOCombinedCapturetDataDTO
    • CombinedCapturetDataDTO
    • CombinedResponseDTOCaptureResponseDTO
    • CombinedOperationsRequestDTOCombinedCancelDataDTO
    • CombinedCancelDataDTO
    • CombinedResponseDTOCancelResponseDTO
    • CombinedReleaseDTO
    • MgmReleaseSubSellerPaymentResponse
    • Errors
    • ValidationsDTO
    • EnrolmentsInitialDTO
    • PaymentMethod
    • ExtraFields
    • InitialResponseDTO
    • StatusTransaction
    • ValidationsResponseDTO
    • EnrolmentsContinueDTO
    • ContinueResponseDTO
    • Airlines
    • dccDTO
    • crossBorderDTO
    • ValidateCustomerDTO
    • ValidateCustomerResponseDTO
    • WebhookSubscription
    • WebhookSubscriptions
    • WebhookUserCredentials
    • WebhookOauth
    • WebhookNotification
    • WebhookNotificationsList
    • WebhookHttpConfig
    • WebhookEmailConfig
    • WebhookHttpMessage
    • WebhookEmailMessage
    • WebhookEventList
    • BadRequestError
    • InternalServerError
    • Error
    • WebhookResponseTransactions
    • WebhookCancelledTransactions
    • WebhookCapturedTransactions
    • WebhookCardUpdated
  1. Payments

Cancel

POST
/dpm/payments-gwproxy/v2/payments/cancel
Cancel a Captured Payment


The Cancel endpoint allows merchants to reverse a previously captured payment, ensuring that the transaction amount is refunded to the customer.

Usage Scenarios:
Voiding a payment that was captured by mistake.
Handling order cancellations that require a full refund._

Notes:
Only captured payments can be canceled.
The cancellation process may vary depending on the payment method and issuer.
Some transactions may require additional processing time before the funds are returned to the customer._

请求参数

Authorization
OAuth 2.0
Client Credentials
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Token URL: https://api.globalgetnet.com/authentication/oauth2/access_token
or
OAuth 2.0
Client Credentials
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Token URL: https://api.pre.globalgetnet.com/authentication/oauth2/access_token
or
OAuth 2.0
Client Credentials
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Token URL: https://api-sbx.globalgetnet.com/authentication/oauth2/access_token
Scopes:
digital-platform:gateway-api-Read and write access
or
Body 参数application/json必填

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/dpm/payments-gwproxy/v2/payments/cancel' \
--header 'Content-Type: application/json' \
--data '{
    "idempotency_key": "63c7f8ee-51a6-470d-bb76-ef762b62bfb7",
    "request_id": "daac03dc-73db-453f-9bea-b1391669d5d3",
    "payment_id": "2c341d28-491b-4cf8-aec7-eeb60136b7a5",
    "additional_data": {
        "split": {
            "subseller_list_payment": [
                {
                    "subseller_id": "700104158",
                    "document_type": "CPF",
                    "document_number": "12345678912",
                    "subseller_sale_amount": 118708,
                    "items": [
                        {
                            "id": "MR1",
                            "description": "Product MR1.",
                            "amount": 118708,
                            "transaction_rate_percent": 1.2,
                            "transaction_rate_amount": 235,
                            "payment_plan": 3
                        }
                    ]
                }
            ]
        },
        "card": {
            "track1": "string",
            "track2": "string",
            "number": "1231231231231232",
            "expiration_month": 12,
            "expiration_year": 28
        },
        "currency": "BRL"
    },
    "amount": 118708,
    "payment_method": "CREDIT",
    "custom_key": "20200630-8900"
}'

返回响应

🟢200
application/json
Transaction executed successfully.
Bodyapplication/json

示例
{
    "idempotency_key": "63c7f8ee-51a6-470d-bb76-ef762b62bfb7",
    "seller_id": "9406df6c-3100-49ba-b4df-d81c1ad8a62b",
    "request_id": "daac03dc-73db-453f-9bea-b1391669d5d3",
    "payment_id": "2c341d28-491b-4cf8-aec7-eeb60136b7a5",
    "order_id": "ORDER-10187383",
    "amount": 8900,
    "currency": "BRL",
    "status": "string",
    "reason_code": "00",
    "reason_message": "TRANSACTION EXECUTED SUCCESSFULLY",
    "canceled_at": "2020-07-01T02:15:03.603Z",
    "custom_key": "20200630-8900"
}
🟠400
🟠401
🟠404
🟠422
🟠429
🔴500
🔴503
🔴504
修改于 2026-04-01 08:05:47
上一页
QRCode
下一页
Create an Invoice/Boleto
Built with