Callbacks - Webhooks
Get updates on transaction status
The following transactions notify status changes in the configured URLs according to the following detail:
PAYINS CASH
{
"transactionType": "PayIn",
"transactionFlow": null,
"data": {
"transactionType": "PayIn",
"externalId": "11111111",
"internalId": "cfb68f11-b111-1111-1ce1-11a1xxff111b",
"paymentMethod": {
"type": "Cash",
"code": "1602",
"flow": "DIRECT"
},
"country": "MEX",
"currency": "MXN",
"amount": 500.0,
"accountNumber": "111.111.00000022",
"confirmed": {
"currency": "MXN",
"fxQuote": 0.0,
"amount": 0.0
},
"payment": {
"currency": "MXN",
"fxQuote": 0.0,
"financingFee": 0.0,
"amount": 0.0
},
"localTaxes": [],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "MXN",
"fxSource": 0.000,
"fxQuote": 0.0,
"amount": 0.6,
"account": "111.111.00000022"
},
"status": {
"code": "200",
"description": "COMPLETED",
"detail": "The payin was credited"
},
"ticket": {
"id": "pi_0N0XGyG0II6I0x000hWbTd0k",
"image": "https://api.v3.localpayment.com/api/images/Code128C/11001113235262120230512011200011",
"barcode": "11002073231111110110111011100011",
"expirationDate": "2023-05-12T22:38:44Z"
},
"merchant": {
"type": "COMPANY",
"name": "Odreval Limited",
"lastname": "",
"document": {
"type": "",
"id": ""
},
"email": "test@gmail.com"
},
"payer": {
"type": "INDIVIDUAL",
"name": "Valeria",
"lastname": "Perez",
"email": "valeriasuarez111@gmail.com",
"phone": {
"countryCode": "1",
"areaCode": "11",
"number": "+522231039010"
},
"address": {
"street": "",
"number": "1",
"city": "",
"state": "AG",
"country": "MEX",
"zipCode": ""
}
},
"intermediaries": [],
"date": {
"creationDate": "2023-05-05T22:38:41Z",
"processedDate": "2023-05-05T22:38:46Z",
"expirationDate": "2023-05-12T22:38:44Z"
},
"errors": []
}
}
{
"transactionType": "PayIn",
"transactionFlow": null,
"data": {
"transactionType": "PayIn",
"externalId": "1111111111",
"internalId": "1X111111-11X1-1111-1111-1X1111X1X111",
"paymentMethod": {
"type": "Cash",
"code": "1111",
"flow": "DIRECT"
},
"country": "ARG",
"currency": "ARS",
"amount": 0.0,
"accountNumber": "111.111.11111111",
"confirmed": {
"currency": "ARS",
"fxQuote": 0,
"amount": 0.0
},
"payment": {
"currency": "ARS",
"fxQuote": 0,
"financingFee": 0,
"amount": 0
},
"localTaxes": [],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "ARS",
"fxSource": 0,0,
"fxQuote": 0,
"amount": 0,
"account": "111.111.11111111"
},
"status": {
"code": "103",
"description": "APPROVED",
"detail": "The payin was confirmed but not credited yet"
},
"ticket": {
"id": "1111111",
"image": "https://api.stage.localpayment.com/api/images/1610/99580010002149257000000000000000000000604232359000025030098",
"barcode": "99580010002149257000000000000000000000604232359000025030098",
"expirationDate": "2023-03-24T17:07:04Z"
},
"merchant": {
"type": "COMPANY",
"name": "Merchant's name",
"lastname": "",
"document": {
"type": "CUIT",
"id": "11111111111"
},
"email": "mail@mail.com",
"phone": {
"countryCode": "54",
"areaCode": "11",
"number": "11111111"
},
"address": {
"street": "Street",
"number": "111",
"city": "city",
"state": "state",
"country": "country",
"zipCode": "zipCode",
"comment": "Add any usefull information"
},
"birthdate": "2000-01-01",
"nationality": "nationality"
},
"payer": {
"type": "INDIVIDUAL",
"name": "Yura",
"lastname": "Arias",
"document": {
"type": "CUIT",
"id": "11111111111"
},
"email": "payer@email.com",
"phone": {
"countryCode": "1",
"areaCode": "11",
"number": "11111111"
},
"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": [],
"date": {
"creationDate": "2023-03-22T17:07:03Z",
"processedDate": "2023-03-22T17:07:05Z",
"expirationDate": "2023-03-24T17:07:04Z"
},
"errors": []
}
}
{
"transactionType": "PayIn",
"transactionFloww": null,
"data": {
"externalId": "11111111",
"internalId": "11xx1111-x1x1-11x1-xx1x-11x1xx111xx1",
"status": {
"code": "801",
"description": "REJECTED",
"detail": "Params error"
},
"errors": [
{
"code": "300",
"detail": "Invalid param + [payer.document.id] + doesn´t match regex ^[a-zA-Z][a-zA-Z]d{11}$"
}
]
}
}
{
"transactionType": "PayIn",
"transactionFlow": null,
"data": {
"transactionType": "PayIn",
"externalId": "1111111111",
"internalId": "111X1111-111X-1111-X11X-X11XX1X1111X",
"paymentMethod": {
"type": "Cash",
"code": "1002",
"flow": "DIRECT"
},
"country": "ARG",
"currency": "ARS",
"amount": 0.00,
"accountNumber": "111.111.11111111",
"confirmed": {
"currency": "ARS",
"fxQuote": 0,
"amount": 0
},
"payment": {
"currency": "ARS",
"fxQuote": 0,
"financingFee": 0,
"amount": 0.0
},
"localTaxes": [],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "ARS",
"fxSource": 0.00,
"fxQuote": 0,
"amount": 0,
"account": "111.111.11111111"
},
"status": {
"code": "901",
"description": "EXPIRED",
"detail": "The payin has expired"
},
"ticket": {
"id": "2149258",
"image": "https://api.stage.localpayment.com/api/images/1610/99580010002149258000000000000000000000604232359000053080017",
"barcode": "99580010002149258000000000000000000000604232359000053080017",
"expirationDate": "2023-03-24T17:38:39Z"
},
"merchant": {
"type": "COMPANY",
"name": "Prueba Yura",
"lastname": "",
"document": {
"type": "CUIT",
"id": "11111111111"
},
"email": "mail@mail.com",
"phone": {
"countryCode": "54",
"areaCode": "11",
"number": "11111111"
},
"address": {
"street": "Street",
"number": "111",
"city": "city",
"state": "state",
"country": "country",
"zipCode": "zipCode",
"comment": "Add any usefull information"
},
"birthdate": "2000-01-01",
"nationality": "nationality"
},
"payer": {
"type": "INDIVIDUAL",
"name": "Yura",
"lastname": "Arias",
"document": {
"type": "CUIT",
"id": "11111111111"
},
"email": "payer@email.com",
"phone": {
"countryCode": "1",
"areaCode": "11",
"number": "11111111"
},
"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": [],
"date": {
"creationDate": "2023-03-22T17:38:39Z",
"processedDate": "2023-03-22T17:38:40Z",
"expirationDate": "2023-03-24T17:38:39Z"
},
"errors": []
}
}
{
"transactionType": "PayIn",
"transactionFlow": null,
"data": {
"transactionType": "PayIn",
"externalId": "1111111111",
"internalId": "X11X1XX1-X11X-111X-11X1-X11XXXXX1111",
"paymentMethod": {
"type": "Cash",
"code": "1111",
"flow": "DIRECT"
},
"country": "ARG",
"currency": "ARS",
"amount": 0.0,
"accountNumber": "111.111.11111111",
"confirmed": {
"currency": "ARS",
"fxQuote": 0,
"amount": 0.0
},
"payment": {
"currency": "ARS",
"fxQuote": 0,
"financingFee": 0,
"amount": 0.0
},
"localTaxes": [],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "ARS",
"fxSource": 0.0,
"fxQuote": 0,
"amount": 0,
"account": "111.111.11111111"
},
"status": {
"code": "900",
"description": "CANCELLED",
"detail": "The payin was cancelled"
},
"ticket": {
"id": "2149263",
"image": "https://api.stage.localpayment.com/api/images/1610/99580010002149263000000000000000000000604232359000053080073",
"barcode": "99580010002149263000000000000000000000604232359000053080073",
"expirationDate": "2023-03-24T17:48:57Z"
},
"merchant": {
"type": "COMPANY",
"name": "Prueba Yura",
"lastname": "",
"document": {
"type": "CUIT",
"id": "20115872045"
},
"email": "mail@mail.com",
"phone": {
"countryCode": "54",
"areaCode": "11",
"number": "11111111"
},
"address": {
"street": "Street",
"number": "111",
"city": "city",
"state": "state",
"country": "country",
"zipCode": "zipCode",
"comment": "Add any usefull information"
},
"birthdate": "2000-01-01",
"nationality": "nationality"
},
"payer": {
"type": "INDIVIDUAL",
"name": "Yura",
"lastname": "Arias",
"document": {
"type": "CUIT",
"id": "11111111111"
},
"email": "payer@email.com",
"phone": {
"countryCode": "1",
"areaCode": "11",
"number": "11111111"
},
"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": [],
"date": {
"creationDate": "2023-03-22T17:48:56Z",
"processedDate": "2023-03-22T17:48:59Z",
"expirationDate": "2023-03-24T17:48:57Z"
},
"errors": []
}
}
PAYINS BANK TRANSFER MASTER ACCOUNT
{
"transactionType": "PayIn",
"transactionFlow": null,
"data": {
"transactionType": "PayIn",
"externalId": "XXXXX",
"internalId": "XXXXX",
"paymentMethod": {
"type": "BankTransfer",
"code": "1027",
"flow": "direct"
},
"country": "ARG",
"currency": "ARS",
"amount": 7000,
"accountNumber": "XXXXX",
"confirmed": {
"currency": "ARS",
"fxQuote": 1,
"amount": 7000
},
"payment": {
"currency": "ARS",
"fxQuote": 1,
"financingFee": 0,
"amount": 7000
},
"localTaxes": [
{
"code": "0001",
"percentage": 1.2,
"description": "IDC",
"currency": "ARS",
"fxSource": 221.515899,
"fxQuote": 0,
"amount": 84,
"account": "XXXXX"
}
],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "ARS",
"fxSource": 221.515899,
"fxQuote": 1,
"amount": 200,
"account": "XXXXX"
},
"status": {
"code": "200",
"description": "COMPLETED",
"detail": "The payin was credited"
},
"merchant": {
"type": "COMPANY",
"name": "Merchant name",
"lastname": "Merchant lastname",
"document": {
"type": "XXXXX",
"id": "XXXXX"
},
"email": "payin@localpayment.com"
},
"payer": {
"type": "INDIVIDUAL",
"name": "Payer name",
"lastname": "Payer lastname",
"document": {
"type": "XXXXX",
"id": "XXXXX"
},
"email": "payer@gmail.com",
"bank": {
"name": "Payer fullname",
"code": "007",
"account": {
"type": "C",
"number": "XXXXX"
}
}
},
"intermediaries": [],
"wireInstructions": {
"beneficiary": {
"name": "LOCALPAYMENT SRL",
"document": {
"type": "CUIT",
"id": "30716132028"
},
"bank": {
"name": "BANCO BICA",
"code": "0055",
"branch": {},
"account": {
"type": "C",
"number": "4260004000100091408087"
}
}
},
"referenceCode": "ZSS9-S6W5-S6N5"
},
"date": {
"creationDate": "2023-05-01T00:47:05Z",
"processedDate": "2023-05-01T00:47:06Z",
"expirationDate": "2023-05-08T00:47:06Z"
},
"errors": []
}
}
{
"transactionType": "PayIn",
"transactionFlow": null,
"data": {
"transactionType": "PayIn",
"externalId": "XXXXX",
"internalId": "XXXXX",
"paymentMethod": {
"type": "BankTransfer",
"code": "1027",
"flow": "direct"
},
"country": "ARG",
"currency": "ARS",
"amount": 7000,
"accountNumber": "XXXXX",
"confirmed": {
"currency": "ARS",
"fxQuote": 1,
"amount": 7000
},
"payment": {
"currency": "ARS",
"fxQuote": 1,
"financingFee": 0,
"amount": 7000
},
"localTaxes": [
{
"code": "0001",
"percentage": 1.2,
"description": "IDC",
"currency": "ARS",
"fxSource": 221.515899,
"fxQuote": 0,
"amount": 84,
"account": "XXXXX"
}
],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "ARS",
"fxSource": 221.515899,
"fxQuote": 1,
"amount": 200,
"account": "XXXXX"
},
"status": {
"code": "901",
"description": "EXPIRED",
"detail": "The payin has expired"
},
"merchant": {
"type": "COMPANY",
"name": "Merchant name",
"lastname": "Merchant lastname",
"document": {
"type": "XXXXX",
"id": "XXXXX"
},
"email": "payin@localpayment.com"
},
"payer": {
"type": "INDIVIDUAL",
"name": "Payer name",
"lastname": "Payer lastname",
"document": {
"type": "XXXXX",
"id": "XXXXX"
},
"email": "payer@gmail.com",
"bank": {
"name": "Payer fullname",
"code": "007",
"account": {
"type": "C",
"number": "XXXXX"
}
}
},
"intermediaries": [],
"wireInstructions": {
"beneficiary": {
"name": "LOCALPAYMENT SRL",
"document": {
"type": "CUIT",
"id": "30716132028"
},
"bank": {
"name": "BANCO BICA",
"code": "0055",
"branch": {},
"account": {
"type": "C",
"number": "4260004000100091408087"
}
}
},
"referenceCode": "ZSS9-S6W5-S6N5"
},
"date": {
"creationDate": "2023-05-01T00:47:05Z",
"processedDate": "2023-05-01T00:47:06Z",
"expirationDate": "2023-05-08T00:47:06Z"
},
"errors": []
}
}
{
"transactionType": "PayIn",
"externalId": "xxxxxx",
"internalId": "XXXXX",
"paymentMethod": {
"type": "BankTransfer",
"code": "XXX",
"flow": "DIRECT"
},
"country": "ARG",
"currency": "ARS",
"amount": 0.00,
"accountNumber": "111.111.11111111",
"confirmed": {
"currency": "ARS",
"fxQuote": 0,
"amount": 0.00
},
"payment": {
"currency": "ARS",
"fxQuote": 0,
"financingFee": 0,
"amount": 0.00
},
"localTaxes": [],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "USD",
"fxSource": 0,
"fxQuote": 0,
"amount": 0.0,
"account": "111.111.11111111"
},
"status": {
"code": "XXX",
"description": "COMPLETED",
"detail": "The payin was credited"
},
"merchant": {
"type": "COMPANY",