Connect Webhooks with Pagar.me

Connect Webhooks with Pagar.me to scale and automate your operations.

Explore automation templates

Automate Webhooks and Pagar.me
with Pluga integrations

Trusted by over 10.000 amazing companies

Webhooks and Pagar.me
your way

Check out the available triggers and actions in the automation of apps Webhooks + Pagar.me

Premium Trigger
Webhooks

Received notification

When Webhooks receives a notification from your tool

  • Capture events from a tool outside the hub, such as a new sale, abandoned cart, or new signup
  • Receive lists of items at once (arrays)
  • Start a workflow from an internal system

Date and time (UTC) when the order was captured by Pluga

Trigger
Pagar.me

Created payment

For each created payment on Pagar.me

transaction id

tid of the acquirer

not as a buyer

status

status reason [only pagar.me 1.0]

flag code

buyer's response

Message from the acquirer

creation date

creation date (formatted - DD/MM/YYYY)

creation date (formatted - H:M:S)

creation date (formatted - DD/MM/YYYY - H:M:S)

update date

update date (formatted - DD/MM/YYYY)

update date (formatted - H:M:S)

update date (formatted - DD/MM/YYYY - H:M:S)

total amount (in cents)

total amount

total amount (formatted in R$)

amount captured (in cents)

captured amount

amount captured (formatted in R$)

Total amount of items (in cents)

cost (in cents) [only pagar.me 1.0]

cost [only pagar.me 1.0]

cost (formatted in R$) [only pagar.me 1.0]

refunded amount (in cents) [only pagar.me 1.0]

amount refunded [only pagar.me 1.0]

refunded amount (formatted in R$) [only pagar.me 1.0]

payment method

installments

bank slip: link

bank slip: barcode

bank slip: expiration date

Subscription ID [only pagar.me 1.0]

customer telephone number (ddi)

customer phone number (ddd)

customer telephone number (number)

customer: document

customer: email

customer: name

address street

address: number

full address

address neighborhood

address: city

address: state

address: Zip Code

billing address: street

billing address: number

billing address: add-on

billing address: neighborhood

billing address: city

billing address: state

billing address: Zip Code

delivery address: street [only pagar.me 1.0]

delivery address: number [only pagar.me 1.0]

delivery address: complement [only pagar.me 1.0]

delivery address: neighborhood [only pagar.me 1.0]

delivery address: city [only pagar.me 1.0]

delivery address: state [only pagar.me 1.0]

delivery address: Zip Code [only pagar.me 1.0]

Shipping fee (in cents) [only pagar.me 1.0]

Shipping fee [only pagar.me 1.0]

Item SKU/ID

item title

unit price of items

quantity of items

title, price and quantity of items

Purchaser fee (in cents) [only pagar.me 1.0]

Purchaser fee [only pagar.me 1.0]

Purchaser fee (formatted in R$) [only pagar.me 1.0]

Advance fee (in cents) [only pagar.me 1.0]

Advance fee [only pagar.me 1.0]

Advance fee (formatted in R$) [only pagar.me 1.0]

payment link: id [only pagar.me 1.0]

payment link: name [only pagar.me 1.0]

card flag

Pix: QR Code

Pix: Expiration Date

Pix: Name of the payer [only pagar.me 1.0]

Pix: Payer document [only pagar.me 1.0]

Pix: Payer document type [only pagar.me 1.0]

Pix: Name of the payer’s Bank [only pagar.me 1.0]

Pix: ISPB code of the payer's bank [only pagar.me 1.0]

Pix: Payer's bank branch [only pagar.me 1.0]

Pix: Payer's bank account number [only pagar.me 1.0]

Trigger
Pagar.me

Created subscription

For each created subscription on Pagar.me

Transaction: ID

Subscription: Creation date

Subscription: Creation date (format - DD/MM/YYYY)

Subscription: Creation hour (format - H:M:S)

Subscription: Creation date (format - DD/MM/YYYY - H:M:S)

Subscription: Update date

Subscription: Update date (format - DD/MM/YYYY)

Subscription: Update date (format - H:M:S)

Subscription: Update date (format - DD/MM/YYYY - H:M:S)

Subscribed: Total price (in cents)

Subscribed: Total price

Subscribed: Total price (format - R$)

Client: Telephone (DDI)

Client: Telephone (DDD)

Client: Telephone

Client: Document

Client: Email

Client: Name

Address: Street

Address: Number

Address: Complement

Address: Neighborhood

Address: City

Address: State

Address: CEP

Subscribed: Current period start

Subscribed: Current period start (format - DD/MM/YYYY)

Subscribed: Current period start (format - H:M:S)

Subscribed: Current period start (format - DD/MM/YYYY - H:M:S)

Subscribed: Current period end

Subscribed: Current period end (format - DD/MM/YYYY)

Subscribed: Current period end (format - H:M:S)

Subscribed: Current period end (format - DD/MM/YYYY - H:M:S)

Transaction: Payment method

Transaction: Card holder name

Transaction: Card brand

Subscribed: Metadata origin

Subscribed: Metadata internal name

Subscribed: Items description resume, separated by comma [only pagar.me 2.0]

Subscribed: Quantity items resume, separated by comma [only pagar.me 2.0]

Subscribed: Items price resume, separated by comma [only pagar.Me 2.0]

Subscribed: Description, price and quantity resume, separated by comma [only pagar.me 2.0]

Subscribed: Next billing dates [only pagar.me 2.0]

Subscribed: Next billing dates (format - DD/MM/YYYY) [only pagar.me 2.0]

Subscribed: Next billing dates (format - H:M:S) [only pagar.me 2.0]

Subscribed: Next billing dates (format - DD/MM/YYYY - H:M:S) [only pagar.Me 2.0]

Premium Trigger
Webhooks

API new request

For each new request from Webhooks to your tool

  • Start a workflow from a system without a native integration
  • Use an event from your own API as the trigger
  • Capture data from your company's internal tools
Trigger
Pagar.me

Refunded payment

For each refunded payment on Pagar.me

transaction id

tid of the acquirer

not as a buyer

status

status reason [only pagar.me 1.0]

flag code

buyer's response

Message from the acquirer

creation date

creation date (formatted - DD/MM/YYYY)

creation date (formatted - H:M:S)

creation date (formatted - DD/MM/YYYY - H:M:S)

update date

update date (formatted - DD/MM/YYYY)

update date (formatted - H:M:S)

update date (formatted - DD/MM/YYYY - H:M:S)

total amount (in cents)

total amount

total amount (formatted in R$)

amount captured (in cents)

captured amount

amount captured (formatted in R$)

Total amount of items (in cents)

cost (in cents) [only pagar.me 1.0]

cost [only pagar.me 1.0]

cost (formatted in R$) [only pagar.me 1.0]

refunded amount (in cents) [only pagar.me 1.0]

amount refunded [only pagar.me 1.0]

refunded amount (formatted in R$) [only pagar.me 1.0]

payment method

installments

bank slip: link

bank slip: barcode

bank slip: expiration date

Subscription ID [only pagar.me 1.0]

customer telephone number (ddi)

customer phone number (ddd)

customer telephone number (number)

customer: document

customer: email

customer: name

address street

address: number

full address

address neighborhood

address: city

address: state

address: Zip Code

billing address: street

billing address: number

billing address: add-on

billing address: neighborhood

billing address: city

billing address: state

billing address: Zip Code

delivery address: street [only pagar.me 1.0]

delivery address: number [only pagar.me 1.0]

delivery address: complement [only pagar.me 1.0]

delivery address: neighborhood [only pagar.me 1.0]

delivery address: city [only pagar.me 1.0]

delivery address: state [only pagar.me 1.0]

delivery address: Zip Code [only pagar.me 1.0]

Shipping fee (in cents) [only pagar.me 1.0]

Shipping fee [only pagar.me 1.0]

Item SKU/ID

item title

unit price of items

quantity of items

title, price and quantity of items

Purchaser fee (in cents) [only pagar.me 1.0]

Purchaser fee [only pagar.me 1.0]

Purchaser fee (formatted in R$) [only pagar.me 1.0]

Advance fee (in cents) [only pagar.me 1.0]

Advance fee [only pagar.me 1.0]

Advance fee (formatted in R$) [only pagar.me 1.0]

payment link: id [only pagar.me 1.0]

payment link: name [only pagar.me 1.0]

card flag

Pix: QR Code

Pix: Expiration Date

Pix: Name of the payer [only pagar.me 1.0]

Pix: Payer document [only pagar.me 1.0]

Pix: Payer document type [only pagar.me 1.0]

Pix: Name of the payer’s Bank [only pagar.me 1.0]

Pix: ISPB code of the payer's bank [only pagar.me 1.0]

Pix: Payer's bank branch [only pagar.me 1.0]

Pix: Payer's bank account number [only pagar.me 1.0]

Trigger
Pagar.me

Approved payment

For each approved payment on Pagar.me

Charge order items

Charge invoice items

transaction id

tid of the acquirer

not as a buyer

status

código

status reason [only pagar.me 1.0]

flag code

buyer's response

Message from the acquirer

creation date

creation date (formatted - DD/MM/YYYY)

creation date (formatted - H:M:S)

creation date (formatted - DD/MM/YYYY - H:M:S)

update date

update date (formatted - DD/MM/YYYY)

update date (formatted - H:M:S)

update date (formatted - DD/MM/YYYY - H:M:S)

total amount (in cents)

total amount

total amount (formatted in R$)

amount captured (in cents)

captured amount

amount captured (formatted in R$)

Total amount of items

cost (in cents) [only pagar.me 1.0]

cost [only pagar.me 1.0]

cost (formatted in R$) [only pagar.me 1.0]

refunded amount (in cents) [only pagar.me 1.0]

amount refunded [only pagar.me 1.0]

refunded amount (formatted in R$) [only pagar.me 1.0]

payment method

installments

ticket: link

bank slip: barcode

bank slip: expiration date

Subscription ID [only pagar.me 1.0]

customer telephone number (ddi)

customer phone number (ddd)

customer telephone number (number)

customer: document

customer: email

customer: name

address street

address: number

full address

address neighborhood

address: city

address: state

address: Zip Code

billing address: street

billing address: number

billing address: add-on

billing address: neighborhood

billing address: city

billing address: state

billing address: Zip Code

delivery address: street [only pagar.me 1.0]

delivery address: number [only pagar.me 1.0]

delivery address: complement [only pagar.me 1.0]

delivery address: neighborhood [only pagar.me 1.0]

delivery address: city [only pagar.me 1.0]

delivery address: state [only pagar.me 1.0]

delivery address: Zip Code [only pagar.me 1.0]

Shipping fee (in cents) [only pagar.me 1.0]

Shipping fee [only pagar.me 1.0]

endereço de entrega: rua [somente pagar.me 2.0]

endereço de entrega: número [somente pagar.me 2.0]

endereço de entrega: bairro [somente pagar.me 2.0]

endereço de entrega: cidade [somente pagar.me 2.0]

endereço de entrega: estado [somente pagar.me 2.0]

endereço de entrega: número [somente pagar.me 2.0]

endereço de entrega: complemento [somente pagar.me 2.0]

endereço de entrega: cep [somente pagar.me 2.0]

endereço de entrega: cep [somente pagar.me 2.0]

endereço de entrega: país [somente pagar.me 2.0]

valor do frete [somente pagar.me 2.0]

Item SKU/ID

item title

unit price of items

quantity of items

title, price and quantity of items

tipo dos itens (separados por vírgula)

códigos dos itens (separados por vírgula)

Acquirer fee (in cents) [only pagar.me 1.0]

Acquirer fee [only pagar.me 1.0]

Acquirer fee (formatted in R$) [only pagar.me 1.0]

Advance fee (in cents) [only pagar.me 1.0]

Advance fee [only pagar.me 1.0]

Advance fee (formatted in R$) [only pagar.me 1.0]

payment link: id [only pagar.me 1.0]

payment link: name [only pagar.me 1.0]

id do cartão

card flag

nome do portador do cartão

últimos 4 dígitos do cartão

primeiros 6 dígitos do cartão

mês de expiração do cartão

ano de expiração do cartão

status do cartão

tipo do cartão

List of IDs of sales intermediaries [only pagar.me 1.0]

Nomes dos intermediários da venda (separados por vírgula) [somente pagar.me 1.0]

Emails dos intermediários da venda (separados por vírgula) [somente pagar.me 1.0]

Documentos dos intermediários da venda (separados por vírgula) [somente pagar.me 1.0]

List of amounts per sales intermediary [only pagar.me 1.0]

Porcentagem recebida por cada intermediário da venda (separado por vírgula) [somente pagar.me 1.0]

ID do gateway

ID do pedido vinculado à cobrança

ID da fatura vinculada à cobrança

Pix: QR Code

Pix: Expiration Date

Pix: Name of the payer [only pagar.me 1.0]

Pix: Payer document [only pagar.me 1.0]

Pix: Payer document type [only pagar.me 1.0]

Pix: Name of the payer’s Bank [only pagar.me 1.0]

Pix: ISPB code of the payer's bank [only pagar.me 1.0]

Pix: Payer's bank branch [only pagar.me 1.0]

Pix: Payer's bank account number [only pagar.me 1.0]

Trigger
Pagar.me

Declined payment

For each declined payment on Pagar.me

transaction id [only pagar.me 1.0]

tid of the acquirer

not as a buyer

status

código

status reason [only pagar.me 1.0]

flag code

buyer's response

Message from the acquirer

creation date

creation date (formatted - DD/MM/YYYY)

creation date (formatted - H:M:S)

creation date (formatted - DD/MM/YYYY - H:M:S)

update date

update date (formatted - DD/MM/YYYY)

update date (formatted - H:M:S)

update date (formatted - DD/MM/YYYY - H:M:S)

total amount (in cents)

total amount

total amount (formatted in R$)

amount captured (in cents)

captured amount

amount captured (formatted in R$)

Total amount of items (in cents)

cost (in cents) [only pagar.me 1.0]

cost [only pagar.me 1.0]

cost (formatted in R$) [only pagar.me 1.0]

refunded amount (in cents) [only pagar.me 1.0]

amount refunded [only pagar.me 1.0]

refunded amount (formatted in R$) [only pagar.me 1.0]

payment method

installments

bank slip: link

bank slip: barcode

bank slip: expiration date

Subscription ID [only pagar.me 1.0]

customer telephone number (ddi)

customer phone number (ddd)

customer telephone number (number)

customer: document

customer: email

customer: name

address street

address: number

full address

address neighborhood

address: city

address: state

address: Zip Code

billing address: street

billing address: number

billing address: add-on

billing address: neighborhood

billing address: city

billing address: state

billing address: Zip Code

delivery address: street [only pagar.me 1.0]

delivery address: number [only pagar.me 1.0]

delivery address: complement [only pagar.me 1.0]

delivery address: neighborhood [only pagar.me 1.0]

delivery address: city [only pagar.me 1.0]

delivery address: state [only pagar.me 1.0]

delivery address: Zip Code [only pagar.me 1.0]

Shipping fee (in cents) [only pagar.me 1.0]

Shipping fee [only pagar.me 1.0]

Item SKU/ID

item title

unit price of items

quantity of items

title, price and quantity of items

Purchaser fee (in cents) [only pagar.me 1.0]

Purchaser fee [only pagar.me 1.0]

Purchaser fee (formatted in R$) [only pagar.me 1.0]

Advance fee (in cents) [only pagar.me 1.0]

Advance fee [only pagar.me 1.0]

Advance fee (formatted in R$) [only pagar.me 1.0]

payment link: id [only pagar.me 1.0]

payment link: name [only pagar.me 1.0]

card flag

Premium Action
Webhooks

Send a message via Pluga Webhooks

send a notification to your app/system via Webhooks

  • Create a record in a tool that Pluga doesn't integrate with
  • Update an existing record (PUT or PATCH)
  • Delete a record (DELETE)
  • Notify an internal system whenever an event occurs

API URL of the tool Required

Tool fields

Headers

Query Params of the request

How to integrate Webhooks and Pagar.me on Pluga

Boost this flow in your workflow

With Pluga, you connect Webhooks + Pagar.me to build anything from the simplest integration to the most advanced flows, with several layers of logic.

  • Basic 1

    Pick the source app and the trigger

    Choose which app starts the automation and which event works as the trigger. For example, "For each declined payment on Pagar.me".

  • Basic 2

    Set the destinations and the actions

    Select the apps that make up the flow with Webhooks and what Pluga should run automatically at each step. Example: "send a notification to your app/system via Webhooks"

  • Basic 3

    Map the information

    Point out, visually, which data from the source app should fill in each field of the destination action.

  • Intermediate

    Only move forward when it makes sense

    Set "AND" or "OR" conditions so the automation only runs in the cases that matter

  • Intermediate

    Pause the flow for as long as you need

    Set the automation to wait minutes, hours or days and resume the next action on its own

  • Intermediate

    Standardize data across apps

    Adjust dates, numbers and characters to the format the next app expects to receive

  • Advanced

    Send data in several directions

    Route each piece of data down the right path within a single flow, according to specific conditions

  • Advanced

    Add a code block

    Run JavaScript or Python in the middle of the automation to transform data before the next step

  • Advanced

    Create loops

    Take lists of items, go through each row and run the same action for every one of them

  • Advanced

    Use generative AI

    Send data to an AI assistant or agent and use the response in the next step

  • Advanced

    Connect to (almost) any app

    Send and receive data through a dedicated URL, and connect to apps that are not integrated with Pluga

  • Advanced

    Requests to external APIs

    Query or send data to any external API inside your automation

Webhooks

Webhooks

Developer tools

Connect Webhooks to 133+ apps with Pluga and turn your work into a productive machine. Receive and send data over webhooks, call any API over HTTP, connect systems that do not talk to each other yet and process the data with custom scripts.

Pagar.me

Pagar.me

Payment

Connect Pagar.me to 133+ apps with Pluga and turn your work into a productive machine. Generate invoices as soon as a deal closes and automate what happens with payment data: notify the customer, settle it in your finance app and log it in your CRM. You can also push sales records out to keep cash flow dashboards always up to date.

Frequently Asked Questions

  • By automating Webhooks with Pagar.me on Pluga, you can automate various manual tasks that reduce productivity for those who perform them, while also avoiding human errors. The best part is that the process is simple and doesn’t require typing a single line of code.

  • On Pluga, you can make several automations for free with the free plan. Additionally, you have the option to try all the features for 7 days at no cost to create automations between Webhooks, Pagar.me, and even other apps.

    We also offer three other plans, with prices ranging from $17 to $71 per month, which include premium automations and features, as well as a higher volume of events and automations. For companies with specific needs, we have the Enterprise plan, designed to offer customized solutions beyond the resources available in other plans.

    Check Pluga's pricing page for more details.