pixRequestOut

This event is triggered when an outbound PIX transfer initiated through MagenPay is successfully sent to the destination bank.

{
  "type": "pixRequestOut",
  "data": {
    "description": "Pagamento de serviços",
    "debtor": {
      "document": "123.456.789-55",
      "name": "Fulano de tal",
      "accountType": "checking",
      "ispb": "12345678",
      "branch": "0001",
      "account": "001022"
    },
    "creditor": {
      "document": "987.654.321-10",
      "name": "Ciclano teste",
      "accountType": "checking",
      "ispb": "00000001",
      "branch": "8053",
      "account": "654321"
    },
    "flow": "OUT",
    "amount": 0.05,
    "status": "success",
    "endToEndId": "E12345678202511141322o0TbS3VoEiK",
    "txId": "",
    "finishedAt": "2025-11-14T13:22:25.012Z",
    "externalId": "13d8272f-1c97-42d4-acf6-64b450c31173",
    "method": "dict",
    "transactionType": "PIX",
    "metadata": {
      "reason": null,
      "triggerTransactionId": null
    }
  }
}
{
  "type": "pixRequestOut",
  "data": {
    "description": "Pagamento de serviços",
    "debtor": {
      "document": "123.456.789-55",
      "name": "Fulano de tal",
      "accountType": "checking",
      "ispb": "12345678",
      "branch": "0001",
      "account": "001022"
    },
    "creditor": {
      "document": "987.654.321-10",
      "name": "Ciclano teste",
      "accountType": "checking",
      "ispb": "00000001",
      "branch": "8053",
      "account": "654321"
    },
    "flow": "OUT",
    "amount": 0.05,
    "status": "failed",
    "error": {
      "code": "UNKNOWN",
      "message": "Unknown error"
    },
    "endToEndId": "E12345678202511141322o0TbS3VoEiK",
    "txId": "",
    "finishedAt": "2025-11-14T13:22:25.012Z",
    "externalId": "13d8272f-1c97-42d4-acf6-64b450c31173",
    "method": "dict",
    "transactionType": "PIX",
    "metadata": {
      "reason": null,
      "triggerTransactionId": null
    }
  }
}

Fields


FieldTypeDescription
typestringName of the event type
dataObjectEvent-specific payload.
data.descriptionstringDescription of the charge
data.debtorObjectInformation about the payer
data.debtor.documentstringPayer's document (CPF/CNPJ)
data.debtor.namestringPayer's name
data.debtor.accountTypestringPayer's account type
data.debtor.ispbstringPayer's bank code identification
data.debtor.branchstringPayer's branch number
data.debtor.accountstringPayer's account number
data.creditorObjectInformation about the payee
data.creditor.documentstringPayee's document (CPF/CNPJ)
data.creditor.namestringPayee's name
data.creditor.accountTypestringPayee's account type
data.creditor.ispbstringPayee's bank code identification
data.creditor.branchstringPayee's branch number
data.creditor.accountstringPayee's account number
data.flowstringFixed value = 'OUT'
data.amountnumberAmount received (R$)
data.statusstringPossible values : 'success','failed'
data.errorObjectInformation about the failure (List of errors)
data.error.codestringError code
data.error.messagestringError message
data.endToEndidstringCentral Bank's unique transaction id
data.txIdstringReconciliation id linked to this payment
data.finishedAtstringSettlement date
data.externalIdstringSafe string that must be unique among all your Pix Requests.
data.methodstringMethod used to retrieve receiver's account information
data.transactionTypestringFixed value = 'PIX'