Journey 1

Notification with Confirmation via Webhook

In this journey, the receiver requests that FitBank notify the payer about a pending recurrence response.

  • How it works: The receiver creates the recurrence, and FitBank sends a notification to the payer.

  • API Integration: GeneratePixAutomatic (to create the recurrence and initiate the notification process), NotifySuccess (endpoint when the recurrence is approved) or NotifyFailure (endpoint when the recurrence is rejected).


More details:

GeneratePixAutomatic: Generates a notification directed to the payer to inform about Automatic Pix.

NotifySucess: This webhook notifies that the recurrence has been approved.

NotifyFailure: This webhook notifies that the recurrence has been rejected.


GeneratePixAutomatic

{
  "Method": "GeneratePixAutomatic",
  "BusinessUnitId": 2002,
  "PartnerId": 1001,
  "Identifier": "ac1e955d-905d-436f-9881-f8dbdda58c73",
  "Retry": true,
  "Values": {
    "FinalValue": "100.00",
    "MaximumValue": "200.00"
  },
  "Receiver": {
        "TaxNumber": "84.925.787/0001-76",
        "Name": "Empresa S.A",
        "ISPB": "84925787",
        "Bank": "450",
        "BankBranch": "0001",
        "BankAccount": "440246",
        "BankAccountDigit": "3"
  },
  "Payer": {
    "TaxNumber": "12345678900",
    "Name": "João da Silva",
    "ISPB": "12345678",
    "Bank": "450",
    "BankBranch": "0001",
    "BankAccount": "440246",
    "BankAccountDigit": "3"
  },
  "Contract": {
    "Identifier": "string",
    "Description": "string"
  },
  "Date": {
    "Frequency": 0,
    "InitialDate": "2025-08-25",
    "EndDate": "2025-08-25"
  },
  "SearchProtocol": 5489665,
  "PixKey": "[email protected]",
  "PixKeyType": 2
}
{
    "Success": "true",
    "Message": "Automatic Pix recurrence request sent successfully",
    "RecurrenceId": "12345678901234567890123456789"
}
ParameterDescriptionMandatoryTypeComments
MethodMethod or action to be executed in the requestYesString
BusinessUnitIdIdentifier of the business unitYesInteger
PartnerIdPartner identifierYesInteger
IdentifierUnique Internal Identifier of the RecurrenceYesString
RetryIndicates if the recurrence can have retriesYesBoolean
ValuesObject containing value-related informationYesObject
Values.FinalValueTransaction valueConditionalStringMust be filled in case of a fixed value
Values.MaximumValueMaximum allowed value for the transactionConditionalStringMust be filled in case of a variable value
ReceiveObject containing receiver informationYesObject
Receive.TaxNumberCNPJ of the receiverYesString
Receive.NameReceiver's nameYesString
Receive.ISPBISPB code of the receiver's institutionYesString
Receive.BankReceiver's bank codeYesString
Receive.BankBranchReceiver's bank branch codeYesString
Receive.BankAccountReceiver's bank account numberYesString
Receive.BankAccountDigitReceiver's bank account digitYesString
PayerObject containing payer informationYesObject
Payer.TaxNumberCPF/CNPJ of the payerYesString
Payer.NamePayer's nameYesString
Payer.ISPBISPB code of the payer's institutionYesString
Payer.BankPayer's bank codeConditionalString
Payer.BankBranchPayer's bank branch codeConditionalString
Payer.BankAccountPayer's bank account numberConditionalString
Payer.BankAccountDigitPayer's bank account digitConditionalString
ContractObject containing contract informationYesObject
Contract.IdentifierContract identifierYesString
Contract.DescriptionContract or transaction descriptionYesString
DateObject containing date-related informationYesObject
Date.FrequencyTransaction frequencyYesIntegerWEEKLY = 0, MONTHLY = 1, QUARTERLY = 2, SEMIANNUAL = 3, ANNUAL = 4
Date.InitialDateTransaction start dateYesString
Date.EndDateTransaction end dateYesString
SearchProtocolUnique protocol generated after querying a Pix key.ConditionalInteger
PixKeyPix key related to the query made to obtain the SearchProtocol.ConditionalInteger
PixKeyTypeType of PIX key related to the query made to obtain the SearchProtocol.ConditionalIntegerSOCIALSECURITY = 0, TAXNUMBER = 1, EMAIL = 2, PHONENUMBER = 3, RAMDOMKEYCODE = 4