Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Attribute

Description

Required

Length

pbtoken

PB_pbtoken

Token assigned to your merchant account. Your token is displayed at the PagBrasil Dashboard, menu Account > Settings.

Yes

32

authentication

PB_authentication

Required when payment method is Débito Flash (value "3DS2").

No

4

authentication_onfailure

PB_authentication_onfailure

Required when payment method is Débito Flash (value "false").

No

5

Notes:

To connect to the sandbox account, ensure to modify the setMerchant()method by adding the parameter "homolog": true. Please find the sample below.
Sandbox environment:

...