...
Field | Description | Required | Length | |||
|---|---|---|---|---|---|---|
secret | Secret phrase as defined in the PagBrasil Dashboard | Yes | 128 | |||
pbtoken | Token assigned to your merchant account. Your token is displayed at the PagBrasil Dashboard, menu Account > Settings. | Yes | 32 | |||
payer_name | Customer's full name if an individual, or "razão social" if the customer is a company. See note "e" | Yes | 128 | |||
payer_taxid | CPF if an individual, or CNPJ if the customer is a company. See note "f" | Yes | 14 | |||
pix_rec_description | Text that uniquely identifies the subscription within the customer's banking app. | No | 19 | |||
pix_rec_cycle | Define the recurrence cycle as one the following values: “weekly”, “monthly”, “quarterly”, “semiannual”, “annually”. | Yes | 10 | |||
pix_rec_expiration | Recurrence end date. | No | 10 | |||
pix_rec_first_recurrence | Estimated date of the first future recurring charge. | Yes | 10 | |||
pix_rec_minimum_amount | Minimum amount for recurring charges. This prevents the customer from setting a lower payment limit, but it may also make the customer hesitant to give their consent. Therefore, it should be used cautiously and aligned with the subscription the customer is signing up for. | No | 7.2 | |||
pix_rec_retry | Set “1” to indicate it’s a recurring charge retry. We strongly recommend setting the parameter “pix_rec_retry” to 1 to enable retry attempts in case of failure. See note “h”“g” | No | 1param_url | A string that can be concatenated to the URL our server posts the response to. See note "g" | No | 254 |
Notes:
a) All fields are required except when noted otherwise.
...
The last 2 digits of the CPF/CNPJ are check digits, and you will need to use them to validate the tax ID entered by the customer. You will find examples of CPF/CNPJ validation routines in different languages at the PagBrasil Dashboard, menu Resources. For testing purposes, please use CPF 91051605962 and CNPJ 78797547000157. Anchor
...
| Anchor | ||||
|---|---|---|---|---|
|
...