Skip to main content
Localpayment enables merchants to process instant bank transfers through Argentina’s Debin (Débito Inmediato) system. This guide outlines the process for initiating Debin payments through Localpayment’s API, detailing required parameters, handling responses, and interpreting status codes for seamless integration with Argentina’s immediate debit network.
ImportantDebin payments expire 2 days after the creation date.

Before You Begin

Ensure you have:

Step 1. Create Debin Payment

To generate a Debin payment request, send a POST request to the Create Payin endpoint with Debin-specific parameters.
The payment request can only be made to CBU accounts. These account numbers are distinguished by the fact that their first three digits do not begin with zero.

Key Request Parameters

The request requires several key objects specific to Debin payments: See all available parameters in the request.

Example Request

Below is an example using curl:
curl

The payment will only be considered complete once the customer accepts it in their banking application. If the customer declines it, the payment will be rejected. Otherwise, the payment will move to an expired status.

Step 2. Handle the Response

Successful Response

A successful Debin payment creation includes the payment request details and authorization flow:

Key Response Fields

Error Response

When Debin request creation fails, you’ll receive detailed error information:

Step 3. Handle Authorization Flow

  1. Payment Initiation: Your application sends DEBIN request to Localpayment API.
  2. Banking Network Processing: Localpayment routes payment through Argentine banking system.
  3. Customer Notification: Customer receives real-time alert in their banking app.
  4. Payment Authorization: Customer approves payment directly in banking interface.
  5. Confirmation & Webhooks: Localpayment sends instant webhook with final payment status.
  6. Order Fulfillment: Your application updates order status based on payment result.

Step 4. Track Transaction Status

Monitor Debin payment progress through these methods:

Webhooks (Recommended)

Receive real-time notifications when transaction status changes. Most efficient for production environments.

Status API Endpoint

Query transaction status programmatically. Useful for polling or recovering lost webhook notifications.

Business Portal View

Visual interface for monitoring transactions. Great for manual oversight and detailed transaction analysis.

Common Status Codes

The Localpayment API provides various status codes to indicate the progress and outcome of the Debin payment.
Complete ReferenceView all status codes in our Transaction Status Documentation.

Testing Your Integration

Sandbox Environment

Use the staging environment for testing:

Test Debin Scenarios

Verify your integration handles these scenarios:
  1. Successful Authorization: Complete Debin authorization flow.
  2. Authorization Expiration: Handle expired authorization requests.
  3. Status Updates: Webhook handling and status polling.

Next Steps

After implementing Debin payments, consider these additional capabilities:

Refund the transaction

If necessary, you can refund the payment to the customer. Refer to the documentation for details.

Review transaction details

You can retrieve transaction information using the Localpayment API for detailed insights.
Last modified on November 10, 2026