Versions Compared

Key

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

...

Field

Description

Length

secret

Secret phrase as defined in the PagBrasil Dashboard

128

action

addpayout = Payout requested
successpayout = Payout completed
failpayout = Payout failed

13

taxid

CPF/CNPJ of the recipient of the payout amount.

14

id

Unique number that identifies the payout.

Unlimited

amount

Payout amount in Brazilian Real

5.2

date

Timestamp. Format: YYYY-MM-DD HH:MM:SS

19

signature

HMAC-MD5 hash that authenticates the webhook.
See note "h"   

32

Notes:

a) All fields are required except when noted otherwise.

...

Due to validation security reasons, this field cannot be changed after insertion. In order to change this information you must delete the old payee and then add a new one.

...

Anchor
5.e
5.e
e) To authenticate the legitimacy of the webhook, you may check the parameter secret and/or the parameter signature, which is a HMAC-MD5 hash based on the values of all elements (except the secret) and a key defined at the PagBrasil Dashboard, menu Account > Settings. The HMAC-MD5 source string is the concatenation of all the elements that are present in the structure and its total length.