glopes 1 місяць тому
батько
коміт
347eed755c
2 змінених файлів з 224 додано та 0 видалено
  1. 60 0
      hookcashout.json
  2. 164 0
      test.md

+ 60 - 0
hookcashout.json

@@ -0,0 +1,60 @@
+{
+  "CustomerDebitMadeByMip": true,
+  "CustomerInitiationTimestampUTC": "2025-11-04T19:26:58.629",
+  "DebitEventStatus": {
+    "Code": "22",
+    "Description": "Payment rejected"
+  },
+  "DebitEventType": {
+    "Code": 1,
+    "Description": "Payment"
+  },
+  "DebitRejectionReason": {
+    "AdditionalRejectionDescription": "Identification of end customer is not consistent with associated account number. (formerly CreditorConsistency)",
+    "DebitClearingReason": {
+      "Code": "BE01"
+    }
+  },
+  "EndToEndId": "E45246410202511041926rCHWKiNkvZP",
+  "InitiationForm": "DICT",
+  "InstantPaymentId": "019a5056-35b9-c0f8-0d49-61733bd4dc0a",
+  "InstructionPriority": "HIGH",
+  "InstructionType": "PAGPRI",
+  "IsRigthsAndObligationSettlement": false,
+  "MipTransactionType": "INTRA_PSP",
+  "MirrorWasActive": true,
+  "OriginalSystem": "NOVOBAAS",
+  "Payer": {
+    "DebitAccount": {
+      "AccountNumber": "980134129",
+      "AccountType": "CACC",
+      "Branch": "1"
+    },
+    "DebitPsp": {
+      "Ispb": "45246410",
+      "Name": "BANCO GENIAL"
+    },
+    "Name": "TOO EASY TRADING COMMODITIES",
+    "TaxId": "47175222000109"
+  },
+  "Receiver": {
+    "AddressKey": "d78793e5-4b08-4bce-91f6-ec879ea55909",
+    "DebitAccount": {
+      "AccountNumber": "980134153",
+      "AccountType": "CACC",
+      "Branch": "1"
+    },
+    "DebitPsp": {
+      "Ispb": "45246410",
+      "Name": "BANCO GENIAL"
+    },
+    "TaxId": "37812511871"
+  },
+  "RemittanceInformation": null,
+  "SettlementId": "168977728252806228629684197639728721589",
+  "SpiSettlementDate": "2025-11-04",
+  "SpiTimestampUTC": "2025-11-04T19:26:59.362",
+  "TimestampUTC": "2025-11-04T19:26:58.485",
+  "TransactionPurpose": "IPAY",
+  "Value": 10
+}

+ 164 - 0
test.md

@@ -245,3 +245,167 @@ Payment confirmed for idempotencyId: 11dfcb3f-da19-4918-88c2-d03198bf8c9b
   },
   error: null
 }
+
+## status
+
+### in
+
+[
+    {
+        "instantPaymentId": "019a5065-d044-6b87-0c5d-63fc3e50254e",
+        "endToEndId": "E452464102025110419443reMspbFgf5",
+        "timestampUTC": "2025-11-04T19:44:01.080",
+        "settlementId": "150389158127792193735997885956086341046",
+        "receiverReconciliationIdentifier": "",
+        "value": 50.00,
+        "receiver": {
+            "psp": {
+                "ispb": "45246410",
+                "name": "BANCO GENIAL"
+            },
+            "taxId": "47175222000109",
+            "addressKey": "19f9e812-4187-45cc-991d-6430ef94274b",
+            "account": {
+                "accountNumber": "980134153",
+                "accountType": "CACC",
+                "branch": "1"
+            }
+        },
+        "payer": {
+            "psp": {
+                "ispb": "45246410",
+                "name": "BANCO GENIAL"
+            },
+            "taxId": "47175222000109",
+            "name": "TOO EASY TRADING COMMODITIES",
+            "account": {
+                "accountNumber": "980134129",
+                "accountType": "CACC",
+                "branch": "1"
+            }
+        },
+        "spiTimestampUTC": "2025-11-04T22:44:01.472Z",
+        "customerInitiationTimestampUTC": "2025-11-04T22:44:00.848Z",
+        "remittanceInformation": "",
+        "mipTransactionType": "INTRA_PSP",
+        "eventType": {
+            "code": 2,
+            "description": "Receipt"
+        },
+        "eventStatus": {
+            "code": 3,
+            "description": "Success"
+        },
+        "instructionType": "PAGPRI",
+        "initiationForm": "DICT",
+        "transactionPurpose": "IPAY",
+        "instructionPriority": "HIGH",
+        "isRigthsAndObligationSettlement": false,
+        "return": null,
+        "id": "690a57817f1351992484c384",
+        "createDate": "2025-11-04T19:44:01Z",
+        "updateDate": "2025-11-04T19:44:01.524Z"
+    }
+]
+
+### status out
+
+[
+    {
+        "pixSendRequest": {
+            "debit": {
+                "name": "TOO EASY TRADING COMMODITIES",
+                "agency": 1,
+                "account": "980134129",
+                "accountType": "CACC",
+                "document": null
+            },
+            "credit": {
+                "name": "too easy",
+                "agency": 1,
+                "account": "980134153",
+                "accountType": "CACC",
+                "document": "47175222000109",
+                "ispb": "45246410",
+                "key": "19f9e812-4187-45cc-991d-6430ef94274b",
+                "endToEndId": "E452464102025110419443reMspbFgf5"
+            },
+            "idempotencyId": "dd1f044d-be5c-4e2b-af50-fea122b95dfd",
+            "originalSystemTransactionId": null,
+            "value": 50.00,
+            "additionalInformation": null,
+            "historicComplement": null,
+            "observation": null,
+            "ignorePaymentDuplication": false,
+            "transactionApproved": false,
+            "initiatingInstitution": null,
+            "reconciliationIdentifier": null
+        },
+        "statusResponse": {
+            "receiver": {
+                "receiverInstitutionISPB": 45246410,
+                "receiverTaxId": "47175222000109",
+                "addressingKey": "19f9e812-4187-45cc-991d-6430ef94274b",
+                "endToEndIdQuery": "E452464102025110419443reMspbFgf5",
+                "account": {
+                    "branch": "1",
+                    "accountNumber": "980134153",
+                    "accountType": "CACC"
+                }
+            },
+            "value": 50.0,
+            "additionalInformation": null,
+            "customerInitiationTimestampUTC": "2025-11-04T22:44:00.848Z",
+            "demandsImmediateReturn": true,
+            "historicComplement": null,
+            "informationAccountHolder": "too easy",
+            "originSystem": "NOVOBAAS",
+            "instructionPriority": "HIGH",
+            "settlementId": "21528849730019066247541067469206929660",
+            "payer": {
+                "account": {
+                    "branch": "1",
+                    "accountNumber": "980134129",
+                    "accountType": "CACC"
+                },
+                "checkCustomerAccountBalance": true,
+                "name": "TOO EASY TRADING COMMODITIES",
+                "taxId": "47175222000109"
+            },
+            "instantPaymentId": "019a5065-ce8e-6737-bf34-3d0ce3df1887",
+            "eventStatus": {
+                "code": "39",
+                "description": "Waiting credit validation"
+            },
+            "endToEndId": "E452464102025110419443reMspbFgf5",
+            "customerDebitMadeByMip": true,
+            "instructionType": "PAGPRI",
+            "initiationForm": "DICT",
+            "transactionPurpose": "IPAY"
+        },
+        "header": {
+            "gUsername": "TOO-EASY-TRADING",
+            "gCnpj": "47175222000109",
+            "gAgency": 1,
+            "gAccount": 980134129
+        },
+        "instantPayments": {
+            "eventId": "019a5065-ce8e-6737-bf34-3d0ce3df1887",
+            "endToEndId": "E452464102025110419443reMspbFgf5",
+            "status": {
+                "code": 3,
+                "description": "Success"
+            },
+            "mipTransactionType": "INTRA_PSP",
+            "originalSystemTransactionId": null,
+            "eventType": {
+                "code": 1,
+                "description": "Payment"
+            },
+            "rejection": null
+        },
+        "id": "690a57807d5e2a790b15fb70",
+        "createDate": "2025-11-04T19:44:00Z",
+        "updateDate": "2025-11-04T19:44:02.342Z"
+    }
+]