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
Authorization*
string
Mandatory. JWT token in format Bearer eyJ0...
. For more information about authentication, please refer to Authentication
Request Body
paymentMethod*
OBJECT
Mandatory. Payment method details
paymentMethod.type*
string
Mandatory.wallet
paymentMethod.code*
string
Mandatory. Select among the codes available in each country here NOTE: yment method code might affect the collection currency in bimonetary countries. For more info, see the side note on currency
field.
paymentMethod.flow*
string
Mandatory. The payment Method data is collected through an additional form or plugin (REDIRECT). Currently, only REDIRECT flow is allowed.
externalId*
string
Mandatory. An ID that is meaningful to you and your system. It must be unique and alphanumeric, no characters allowed.
amount*
number
Mandatory. Amount to charge to your end user. For GTQ, use 2 decimal places separated by a dot.
currency*
string
Mandatory. The currency in which the amount is expressed. It could be A) the local currency of the selected country or B) the account's currency. If A), the amount will be charged to the customer's cash payment method. If B) and it differs from the local currency, the amount specified will be credited to your account and Localpayment will perform a Foreign Exchange operation to collect the amount expressed in local currency. In bimonetary countries, paymentMethod.code resolves possible ambiguity: the payment will be executed in the currency of that specific payment method network. e.i.: SPID (USD); SPEI (MXN)
accountNumber*
string
Mandatory. Your Localpayment account number in which the amount will be credited.
conceptCode*
string
Mandatory. Choose the suitable concept code from our Concept Code List. Based on our experience, the most usual are 0039 (remittances) and 0040 (corporate payments).
comment
string
Optional. A comment related to the transaction. It should be something meaningful to your business.
merchant*
OBJECT
Mandatory. Party Object.
type*
string
Mandatory. Possible values: COMPANY
merchant.name*
string
merchant.name
payer*
OBJECT
Mandatory. Party Object. Information related to the payer.
type*
string
Mandatory. Possible values: COMPANY
, INDIVIDUAL
name*
string
Mandatory. Individual first name / company name
lastName
string
Mandatory for individuals / Ignored for companies.
document.id*
string
Mandatory. Identity document Id. Usually numbers or combination of numbers and letters.
userReference
string
Optional. Username or id in your platform.
string
Mandatory
phone
OBJECT
Optional. Party Object. Contact phone number
phone.countryCode
string
Optional. Possible values: gt
phone.areaCode
string
Optional. Country Area Code
phone.number
string
Optional. Phone number
birthdate
string
Optional. Individual birthdate / company incorporation date. ISO 8601 format (YYYY-MM-DD)
nationality
string
Optional
address
OBJECT
Optional. Party Object. Contact address
address.street
string
Optional
address.number
string
Optional
address.city
string
Optional
address.state
string
Optional
address.country
string
Optional
address.comment
string
Optional. Additional info, such as floor or apartment number.
intermediaries
array
Optional. Array of Party objects. It represents others parties in the payment chain because of the end user is not your direct customer. Take into account the array sequence: your client should be the first element, the client of your client should be the second and so on, until there are no more intermediaries.
commercialData
OBJECT
Mandatory. Party Object. Extra information related to the goods or services traded.
item.id
string
Mandatory. Item ID
items.quantity
number
Mandatory. Item quantity
items.description
string
Mandatory. Item description
item.title
string
Mandatory. Item title
item.unitPrice
number
Mandatory.Unit price
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.
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
PayinLast updated