Versions Compared

Key

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

...

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

order

Order number

Yes

64

amount_refunded

Amount requested to be refunded (Brazilian Real)

Yes

5.2

suspicious

Value "1" indicates that you are refunding the order because you suspect that it is a fraudulent order. That feeds our PagShield fraud prevention service database. Otherwise, set this parameter as "0" (or blank).

No

1

customer_bank

Customer's bank number (número do banco). See note "b"   

No

3

customer_branch

Branch number (agência).

No

12

customer_account

Account number (conta corrente). Must include the hyphen and the verification digit; for example: "12345678-0".

No

12

...

a) A successful response for the refund request will be "Refund request received".

Anchor
#6.1.b
#6.1.b
b) Please find the bank numbers here (column "COD COMPENSAÇÃO").

...