Check Payment
This endpoint returns information about specific transactions related to your LocalPayment accounts
Check Payment
GET
https://api.stage.localpayment.com/api/transactions/:externalId
Path Parameters
Name
Type
Description
externalId*
string
Mandatory. The same externalId
you specified when the order was posted. An Id should be meaningful to you
Headers
Name
Type
Description
Authorization*
string
Mandatory. BearerJWT token in format Bearer eyJ0...
. For more information about authentication, please refer to Authenticationtoken
{
"externalId": "test",
"internalId": "f8be3b50-da22-43bb-afd1-2e7f1d79ab88",
"currency": "ARS",
"amount": 10000,
"paymentCurrency": "ARS",
"paymentAmount": 10000,
"fxQuote": 0,
"fxquoteToken": null,
"confirmedamount": 10000,
"localtaxes": 0,
"financialfees": 0,
"fees": 0,
"totalamount": 10000,
"accountNumber": "032.032.00000008",
"transactionType": "PayIn",
"methodcode": "1022",
"status": {
"code": "200",
"description": "COMPLETED",
"detail": "The payin was credited"
},
"dateCreated": "2021-11-10T16:21:19Z",
"dateProcessed": "2021-11-24T18:18:51Z"
}
Example
curl --location --request GET '{{api_base_url}}/api/transactions/1649274201' \
--header 'Authorization: Bearer {{token}}'
Example response
{
"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": []
}
Last updated
Was this helpful?