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

subscription

Subscription identification

9

status

0 = Waiting for first payment
1 = Active
2 = Pending payment
3 = Inactive/Cancelled
4 = Expired
5 = Paused

1

amount_brl

Amount in Brazilian Real of the recurring charge

7.2

next_billing_date

Start date for the first recurring charge.
Format: YYYY-MM-DD

10

signature

HMAC-MD5 hash that authenticates the webhook.

See note "c"   

32

Notes:

a) Response format is defined at the PagBrasil Dashboard. API's response format may be defined as XML or JSON, and the webhook may be sent as an XML, a JSON or a POST.

...