Eventos

PaymentInitiation

{
  "id": "7d3aae40-6655-4d9a-801b-d0ab7ae906d7",         // Event ID
  "version": "v1",                                      // Event payload schema version
  "account_id": "d95e7630-1b3c-4ac5-991d-d599d75efdd0", // Event digital account id
  "object": "PaymentInitiation",                        // Event object type
  "date": "2019-10-01T17:54:39.000Z",                   // Event date and time
  "data": {                                             // Event Payload
    "id": "cffaf285-e5d8-11ec-a6fd-1a7b7f34ae2a",       // PaymentInitiation ID
    "payer": {
      "person_type": "NATURAL_PERSON",                  // Payer person type
      "document": "08797766925"                         // Payer document
    },
    "amount": 1,                                        // PaymentInitiation amount
    "status": "REQUIRES_CONFIRMATION",                  // PaymentInitiation status
    "payment_method": "PIX",                            // Payment method
    "next_action": {
      "redirect_to_url": {
        "url": "https://bank-example.com.br/authorize?q=hd98dh"  // Institution redirect URL
      }
    },
    "payment_method_details": {
      "institution_id": "ae7b900a-773a-469d-8511-2b991a4823d7" // Institution ID
    },
    "return_url": null,                                        // URL to return after confirm
    "error": null,
    "bussiness_account_holder": {}                             // Business account holder data
  }
}