Documentation V3
Search…
⌃K

Check Payment

This endpoint returns information about specific transactions related to your LocalPayment accounts
get
https://api.stage.localpayment.com
/api/transactions/:externalId
Check Payment
The Body structure of the Check Payment is the same as the Body structure of the Payin Response

Example: Check Payment

cURL request
Cash response
Bank transfer response
Card response
curl --location --request GET 'https://api.stage.localpayment.com/api/transactions/1649274201' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjQ5Mjc0NDE1LCJqdGkiOiI4NmMwNjM2OWQ2MjQ0N2Y2OTY5NTYxNjMwM2Q4YTZjZSIsInVzZXJfaWQiOjMwLCJzdXBlcnVzZXIiOnRydWUsImlzX3N0YWZmIjpmYWxzZSwicm9sZXMiOlsiQUxMIl0sImNvdW50cmllcyI6WyJBTEwiXSwiY29tcGFueSI6IjAwMDEiLCJjbGllbnRfY29kZSI6IjAwMDEifQ.Eao7ckttrvvmIPqRtEI69YraRtPnuCqk1IOsDhT7bC4'
{
"transactionType": "PayIn",
"externalId": "1652993493",
"internalId": "40e4ffe9-b46b-492b-861d-a8a757b88920",
"paymentMethod": {
"type": "Cash",
"code": "1003",
"flow": "DIRECT"
},
"country": "ARG",
"currency": "ARS",
"amount": 1005.0,
"accountNumber": "032.032.00000015",
"confirmed": {
"currency": "ARS",
"amount": 1005.0,
"fxQuote": 1.0,
"exchangeRateToken": null
},
"payment": {
"installment": null,
"currency": "ARS",
"fxQuote": 1.0,
"financingFee": 0.0,
"amount": 1005.0
},
"localTaxes": [],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "ARS",
"fxSource": 118.342216,
"fxQuote": 1.0,
"amount": 0.0,
"account": "032.032.00000015"
},
"status": {
"code": "100",
"description": "INPROGRESS",
"detail": "The payin is pending the confirmation"
},
"ticket": {
"id": "1111111111",
"image": "https://api.stage.localpayment.com/api/images/1003/6002203236005007849112630060030590730000050007",
"barcode": "3335008800000000006001885552100005200211740749",
"expirationDate": "2022-06-30T22:59:59.000-04:00"
},
"qr": null,
"beneficiary": null,
"merchant": {
"type": "INDIVIDUAL",
"name": "Payer's name",
"lastname": "payer's last name",
"document": {
"id": "21879875",
"type": "DNI"
},
"email": "",
"phone": {
"countryCode": "54",
"areaCode": "11",
"number": "98789632"
},
"address": {
"street": "Street",
"number": "938",
"city": "city",
"state": "state",
"country": "country",
"zipCode": "zipCode",
"comment": "Add any usefull information"
},
"birthdate": "2000-01-01",
"nationality": "nationality"
},
"payer": {
"type": "INDIVIDUAL",
"name": "Payer's name",
"lastname": "payer's last name",
"document": {
"id": "99999999",
"type": "DNI"
},
"email": "[email protected]",
"phone": {
"countryCode": "1",
"areaCode": "11",
"number": "98789632"
},
"address": {
"street": "Street",
"number": "1234",
"city": "city",
"state": "state",
"country": "country",
"zipCode": "zipCode",
"comment": "Add any relevant information related to the payer"
},
"birthdate": "01/01/1990",
"nationality": "nationality"
},
"intermediaries": [],
"wireInstructions": null,
"date": {
"creationDate": "2022-05-19T20:51:34.074+00:00",
"processedDate": "2022-05-19T20:51:34.918102",
"expirationDate": "2022-05-20T20:51:34.918102"
},
"card": null,
"errors": []
}
{
"transactionType": "PayIn",
"externalId": "1652994419",
"internalId": "7717d940-327f-4e46-acb8-383ad229333a",
"paymentMethod": {
"type": "BankTransfer",
"code": "1313",
"flow": "DIRECT"
},
"country": "BRA",
"currency": "BRL",
"amount": 1000.0,
"accountNumber": "076.986.00000001",
"confirmed": {
"currency": "BRL",
"amount": 1000.0,
"fxQuote": 1.0,
"exchangeRateToken": null
},
"payment": {
"installment": null,
"currency": "BRL",
"fxQuote": 1.0,
"financingFee": 0.0,
"amount": 1000.0
},
"localTaxes": [],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "BRL",
"fxSource": 4.936304,
"fxQuote": 1.0,
"amount": 11.0,
"account": "076.986.00000001"
},
"status": {
"code": "100",
"description": "INPROGRESS",
"detail": "The payin is pending the confirmation"
},
"ticket": null,
"qr": null,
"beneficiary": null,
"merchant": {
"type": "INDIVIDUAL",
"name": "Merchant's name",
"lastname": "Merchant's last name",
"document": {
"id": "",
"type": ""
},
"email": "",
"phone": {
"countryCode": "54",
"areaCode": "11",
"number": "98789632"
},
"address": {
"street": "Street",
"number": "938",
"city": "city",
"state": "state",
"country": "country",
"zipCode": "zipCode",
"comment": "Add any usefull information"
},
"birthdate": "2000-01-01",
"nationality": "nationality"
},
"payer": {
"type": "COMPANY",
"name": "Payer's name",
"lastname": "",
"document": {
"id": "75.111.111/0001-56",
"type": "CNPJ"
},
"email": "[email protected]",
"phone": {
"countryCode": "1",
"areaCode": "11",
"number": "11789632"
},
"address": {
"street": "Street",
"number": "1234",
"city": "city",
"state": "state",
"country": "country",
"zipCode": "zipCode",
"comment": "Add any relevant information related to the payer"
},
"birthdate": "01/01/1990",
"nationality": "nationality"
},
"intermediaries": null,
"wireInstructions": {
"bank": {
"name": "Banco Itaú",
"code": null,
"branch": null,
"account": {
"type": "Checking",
"number": "11111-9"
}
},
"beneficiary": {
"name": "BRASIL",
"document": {
"id": "CNPJ",
"type": "34111130000133"
}
},
"referenceCode": "1313001012"
},
"date": {
"creationDate": "2022-05-19T21:06:59.651+00:00",
"processedDate": "2022-05-19T21:06:59.928308",
"expirationDate": "2022-05-26T21:06:59.928308"
},
"card": null,
"errors": []
}
{
"transactionType": "PayIn",
"externalId": "1652986963",
"internalId": "22f29c98-9baf-44bd-a164-1863ae2f1bb3",
"paymentMethod": {
"type": "CreditCard",
"code": "1000",
"flow": "DIRECT"
},
"country": "ARG",
"currency": "ARS",
"amount": 1002.0,
"accountNumber": "032.032.00000001",
"confirmed": {
"currency": "ARS",
"amount": 1002.0,
"fxQuote": 1.0,
"exchangeRateToken": null
},
"payment": {
"installment": null,
"currency": "ARS",
"fxQuote": 1.0,
"financingFee": 0.0,
"amount": 1002.0
},
"localTaxes": [],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "ARS",
"fxSource": 210.8,
"fxQuote": 1.0,
"amount": 13.02,
"account": "032.032.00000001"
},
"status": {
"code": "103",
"description": "APPROVED",
"detail": "The payin was confirmed but not credited yet"
},
"ticket": null,
"qr": null,
"beneficiary": null,
"merchant": {
"type": "COMPANY",
"name": "Merchant's name",
"lastname": "",
"document": null,
"email": null,
"phone": null,
"address": null,
"birthdate": null,
"nationality": null
},
"payer": {
"type": "INDIVIDUAL",
"name": "Payer's name",
"lastname": "Payer's last name",
"document": {
"id": "37895247",
"type": "DNI"
},
"email": "[email protected]",
"phone": {
"countryCode": "1",
"areaCode": "11",
"number": "98789632"
},
"address": null,
"birthdate": null,
"nationality": null
},
"intermediaries": [],
"wireInstructions": null,
"date": {
"creationDate": "2022-05-19T19:02:44.018+00:00",
"processedDate": "2022-05-19T19:02:44.799618",
"expirationDate": "0001-01-01T00:00:00"
},
"card": {
"token": "N66a0BVHGJY/oCwOyl/CbxIJ5DmCINWeir9PY9gxVGI=",
"bin": "402670",
"brand": "VISA",
"country": "RS",
"name": "Cardholder Name",
"last4": "3263",
"expirationYear": 2025,
"expirationMonth": 9
},
"errors": []
}