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": []
    }
}

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",
    "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",