QR (Argentina)

This payment solution is only available in Argentina

A QR code is a Quick Response code that, when scanned, allows users to view merchant information such as their account number and transaction value. The QR code is generated in the response as a payment instruction, containing the sales order information. It will include general details of the charge and the amount to be collected.

How it works?

Generation of the QR Code: To accept payments via QR code, the seller must generate a QR code linked to the transaction amount.

Scanning the Code: Once the QR code has been generated, the customer must scan it with their mobile device. This can be done using their bank's app

Confirmation and Authorization: When the code is scanned, a payment screen will open on the customer's device, allowing them to review the transaction details and complete the payment.

Transaction Processing: The information is transmitted through a secure network, and the transaction is processed. The funds are transferred from the customer's account to the operator's account.

Payment Confirmation: Both parties involved receive instant notifications confirming the success of the transaction.

You will be able to use it at the banks listed here.

  • A QR Bank Transfer payment order expires by default within 7 days after the creation date.

  • However, the expiration date can be set according to our clients requirements between 1 to 10 days

  • This payment solution is only available in Argentina

QR

POST https://api.stage.localpayment.com/api/payin

Headers

Request Body

{
    "transactionType": "PayIn",
    "externalId": "{{externalId}}",
    "internalId": "{{InternalId}}",
    "paymentMethod": {
        "type": "BankTransfer",
        "code": "1050",
        "flow": "REDIRECT"
    },
    "country": "ARG",
    "currency": "ARS",
    "amount": 800.0,
    "accountNumber": "{{yourAccountNumber}}",
    "confirmed": {
        "currency": "ARS",
        "amount": 10.0,
        "fxQuote": 1.0
    },
    "payment": {
        "currency": "ARS",
        "fxQuote": 1.0,
        "financingFee": 0.0,
        "amount": 10.0
    },
    "localTaxes": [
        {
            "code": "0001",
            "percentage": 1.25,
            "description": "IDC",
            "currency": "ARS",
            "fxSource": 1,
            "fxQuote": 0.0,
            "amount": 10.0,
            "account": "{{YourAccountNumber}}"
        }
    ],
    "withHoldings": [],
    "fees": {
        "description": "Fee",
        "currency": "ARS",
        "fxSource": 1,
        "fxQuote": 1,
        "amount": 0.0,
        "account": "{{YourAccountNumber}}"
    },
    "status": {
        "code": "100",
        "description": "INPROGRESS",
        "detail": "The payin is pending the confirmation"
    },
    "qr": {
        "code": "00020101021102080000000041370012com.TESTbind98113071613202899020143220018B00000500110ETA0125015001120322678275512600220000531905012067208748520457345802AR5912Localpayment6014CABA - Almagro6108C1006ACT530303262100706S1590981080004A01263047179",
        "expirationDate": "2024-09-30T16:18:50.322266+00:00"
    },
    "merchant": {
        "type": "COMPANY",
        "name": "name"
    },
    "payer": {
        "bank": {
            "name": "bankName",
            "code": "322",
            "account": {
                "type": "C",
                "number": "3220001805117354710015"
            }
        },
        "type": "INDIVIDUAL",
        "name": "name",
        "lastname": "lastname",
        "document": {
            "type": "CUIL",
            "id": "20963504870"
        },
        "email": "smith@email.email"
    },
    "intermediaries": [],
    "date": {
        "creationDate": "2024-09-23T17:38:47.667+00:00",
        "processedDate": "2024-09-23T17:38:50.4244067",
        "expirationDate": "2024-09-30T16:18:50.322266+00:00"
    },
    "errors": []
}

Examples: QR request

To create a QR payment order through LP api, the request body examples are detailed below.

To complete the payment you must scan the QR in the bank application, where you are previously registered as a user.

{
      "externalId": "{{externalId}}",
      "paymentMethod": {
        "type": "BankTransfer",
        "code": "1050",
        "flow": "REDIRECT"
      },
      "country": "ARG",
      "currency": "ARS",
      "amount": 800,
      "accountNumber": "{{yourAccountNumber}}",
      "conceptCode": "0038",
      "comment": "",
      "merchant": {
        "type": "COMPANY",
        "name": "Name"
      },
      "payer": {
        "type": "INDIVIDUAL",
        "name": "Name",
        "lastName": "lastname",
        "document": {
          "type": "CUIL",
          "id": "20961504870"
        },
        "email": "smith@email.email",
        "bank": {
          "name": "name",
          "code": "322",
          "account": {
            "type": "C",
            "number": "3220001805117354710015"
          }
        }
      },
      "intermediaries": [],
      "transactionType": "PayIn",
      "clientCode": "clientCode",
      "requireAuth": false,
      "file": false
    }'

QR image

QR payment order response will return, among others, an OBJECT named "qr". The elements that compose the "qr" object are: "image","codeBase64" and "expirationDate".

Example: QR response

heck the Payin Status Codes

Last updated