2 - Generate

GenerateTopUp

This method is used to authorize a pre-paid content top-up.

Request Body

{
    "Method": "GenerateTopUp",
    "PartnerId": {{PartnerId}},
    "BusinessUnitId": {{BusinessUnitdId}},
    "ProductType": 0,
    "BatchIdentifier": "183000003082",
    "ProductKey": "OI11-1000-183000003082",
    "ProductValue": 10,
    "ContractIdentifier": 11965252277,
    "OriginNSU": "9fd9fe40-a50d-4ccd-a06d-f6361bd3c353",
    "TaxNumber": 46509373882
}

🚧

Note:

It is not necessary to pass DDI information in the "ContractIdentifier" field.

Description

  POST /main/execute
PARAMETERTYPEDESCRIPTION
MethodstringMandatory. Method Name
BusinessUnitIdlongMandatory. Business Unit ID provided by Fitbank
PartnerstringMandatory. Identifier provided by Fitbank
ProductTypeEnumMandatory. Recharge generation type (Phone = 0)
BatchIdentifierstringMandatory. Lot identifier that the product is linked to.
ProductKeystringMandatory. Product key that you are going to recharge
ProductValuedecimalAmount you will recharge
ContractIdentifierstringMandatory Product contract identifier
NSUstringMandatory Transactional identifier of the recharge
TaxNumberstringMandatory Beneficiary's CPF/CNPJ
FromBankstringBank Code
FromBankBranchstringAgency Number
FromBankAccountstringAccount Number
FromBankAccountDigitstringVerifying digit
TagsList<string>Tags