We provide the convenience of paying Pix QR codes directly from your Stark Bank account.
In the document below, we will detail the processes related to paying Pix QR codes (both static and dynamic) from Stark Bank or other institutions, providing a clear and comprehensive understanding of the operation and how to manage the lifecycle of this resource.
NOTE: Read Core Concepts before continuing this guide.
For each environment: (Sandbox or Production)
1. Create an account at Stark Bank.
2. Create a webhook with the following subscriptions to receive events in your desired URL:
brcode-payment
2.1. Via Internet Banking:
Integrations > Webhook > New Webhook
2.2. Via API:
Use the POST /webhook route to create the webhook
Brcode Payment is a resource that can be used to pay Pix QR codes (both static and dynamic) from Stark Bank or other institutions.
To create a Brcode Payment, you need to provide the mandatory parameters: brcode, taxId and description.
Optional parameters include scheduled, tags, and rules.
Each Brcode Payment has a status that can change over time according to its life cycle:
| Status | Description |
|---|---|
| Created | The Brcode Payment was successfully created in Stark Bank. |
| Processing | The Brcode Payment is being processed by Stark Bank. |
| Success | The Brcode Payment was successfully completed. |
| Failed | The Brcode Payment was unsuccessful. |
| Canceled | The Brcode Payment was canceled before processing. |
Every time either you or Stark Bank makes a change to a Brcode Payment, we create a Log. Logs are pretty useful for understanding the life cycle of each Brcode Payment and the changes that happened to it. Here you can see the flow of possible logs:
A completed Brcode Payment can be reversed back to its payer. When a reversal occurs, the following flow of logs will happen:
| Log type | Status | Description |
|---|---|---|
| Created | Created | The Brcode Payment was successfully created in Stark Bank. |
| Sending | Processing | The Brcode Payment is being sent to the banking network. |
| Success | Success | The Brcode Payment was successfully completed and credited. |
| Failed | Failed | The Brcode Payment was unsuccessful. |
| Canceling | Processing | The Brcode Payment cancellation is being processed. |
| Canceled | Canceled | The Brcode Payment was canceled before processing. |
| Reversing | Success | The Brcode Payment reversal is being processed. |
| Reversed | Success | The Brcode Payment was reversed back to the payer. |
id
Unique id for the brcode payment.
amount
Amount in cents to be paid. Example: 1000000 (R$10,000.00).
brcode
Pix QR code string to be paid.
created
Creation datetime. Example: "2020-02-06T16:22:24.664148+00:00".
description
Text to be displayed in your statement.
fee
Fee charged in cents.
name
Receiver full name.
rules
List of rule objects with key and value to modify brcode payment behavior.
scheduled
Scheduled date or datetime for the brcode payment. Example: "2020-08-14" or "2020-08-14T15:23:26+00:00".
status
Current brcode payment status. Options: "created", "processing", "success", "failed", "canceled".
tags
Tags associated with the brcode payment.
taxId
Payment payer CPF or CNPJ.
transactionIds
Ledger transaction IDs linked to the brcode payment.
type
Type of the brcode payment. Options: "dynamic", "static".
updated
Last update datetime. Example: "2020-02-06T16:22:24.664148+00:00".
To create a Brcode Payment, fill in the mandatory parameters: brcode, taxId and description.
The brcode parameter must contain a valid Pix QR code string (static or dynamic).
Brcode Payments are available 24/7 and can be scheduled for any date and time.
import starkbank
payments = starkbank.brcodepayment.create([
starkbank.BrcodePayment(
brcode="00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
tax_id="012.345.678-90",
description="this will be fast"
)
])
for payment in payments:
print(payment)
const starkbank = require('starkbank');
(async() => {
let payments = await starkbank.brcodePayment.create([
{
brcode: '00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF',
taxId: '012.345.678-90',
description: 'this will be fast'
}
])
for (let payment of payments) {
console.log(payment);
}
})();
$payments = StarkBank\BrcodePayment::create([
new StarkBank\BrcodePayment([
"brcode" => "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"taxId" => "012.345.678-90",
"description" => "this will be fast"
])
]);
foreach($payments as $payment){
print_r($payment);
}
import com.starkbank.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
List<BrcodePayment> payments = new ArrayList<>();
HashMap<String, Object> data = new HashMap<>();
data.put("brcode", "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF");
data.put("taxId", "012.345.678-90");
data.put("description", "this will be fast");
payments.add(new BrcodePayment(data));
payments = BrcodePayment.create(payments);
for (BrcodePayment payment : payments){
System.out.println(payment);
}
require('starkbank')
payments = StarkBank::BrcodePayment.create(
[
StarkBank::BrcodePayment.new(
brcode: '00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF',
tax_id: '012.345.678-90',
description: 'this will be fast'
)
]
)
payments.each do |payment|
puts payment
end
payments = StarkBank.BrcodePayment.create!([
%StarkBank.BrcodePayment{
brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
tax_id: "012.345.678-90",
description: "this will be fast"
}
])
for payment <- payments do
payment |> IO.inspect
end
using System;
using System.Collections.Generic;
List<StarkBank.BrcodePayment> payments = StarkBank.BrcodePayment.Create(
new List<StarkBank.BrcodePayment> {
new StarkBank.BrcodePayment(
brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
taxID: "012.345.678-90",
description: "this will be fast"
)
}
);
foreach(StarkBank.BrcodePayment payment in payments)
{
Console.WriteLine(payment);
}
package main
import (
"fmt"
"github.com/starkbank/sdk-go/starkbank/brcodepayment"
)
func main() {
payments, err := brcodepayment.Create(
[]brcodepayment.BrcodePayment{
{
Brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
TaxId: "012.345.678-90",
Description: "this will be fast",
},
}, nil)
if err.Errors != nil {
for _, e := range err.Errors {
fmt.Printf("code: %s, message: %s", e.Code, e.Message)
}
}
for _, payment := range payments {
fmt.Printf("%+v", payment)
}
}
(def payments
(starkbank.brcode-payment/create
[
{
:brcode "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF"
:tax-id "012.345.678-90"
:description "this will be fast"
}
]))
(dorun (map println payments))
curl --location --request POST '{{baseUrl}}/v2/brcode-payment'
--header 'Access-Id: {{accessId}}'
--header 'Access-Time: {{accessTime}}'
--header 'Access-Signature: {{accessSignature}}'
--header 'Content-Type: application/json'
--data-raw '{
"payments": [
{
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"taxId": "012.345.678-90",
"description": "this will be fast"
}
]
}'
BrcodePayment(
amount=1000,
brcode=00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created=2020-02-06 16:22:24.664134,
description=this will be fast,
fee=0,
id=5412038532661248,
name=Stark Bank S.A. - Instituicao de Pagamento,
rules=[],
scheduled=2020-02-07 10:00:00,
status=created,
tags=[],
tax_id=012.345.678-90,
transaction_ids=[],
type=dynamic,
updated=2020-02-06 16:22:24.664134
)
BrcodePayment {
id: '5412038532661248',
amount: 1000,
brcode: '00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF',
created: '2020-02-06T16:22:24.664148+00:00',
description: 'this will be fast',
fee: 0,
name: 'Stark Bank S.A. - Instituicao de Pagamento',
rules: [],
scheduled: '2020-02-07T10:00:00+00:00',
status: 'created',
tags: [ ],
taxId: '012.345.678-90',
transactionIds: [],
type: 'dynamic',
updated: '2020-02-06T16:22:24.664148+00:00'
}
StarkBank\BrcodePayment Object
(
[id] => 5412038532661248
[amount] => 1000
[brcode] => 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
[created] => DateTime Object
(
[date] => 2020-02-06 16:22:24.664148
[timezone_type] => 1
[timezone] => +00:00
)
[description] => this will be fast
[fee] => 0
[name] => Stark Bank S.A. - Instituicao de Pagamento
[rules] => Array
(
)
[scheduled] => DateTime Object
(
[date] => 2020-02-07 10:00:00.000000
[timezone_type] => 1
[timezone] => +00:00
)
[status] => created
[tags] => Array
(
)
[taxId] => 012.345.678-90
[transactionIds] => Array
(
)
[type] => dynamic
[updated] => DateTime Object
(
[date] => 2020-02-06 16:22:24.664148
[timezone_type] => 1
[timezone] => +00:00
)
)
BrcodePayment({
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-02-06T16:22:24.664148+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-02-07T10:00:00+00:00",
"status": "created",
"tags": [],
"taxId": "012.345.678-90",
"transactionIds": [],
"type": "dynamic",
"updated": "2020-02-06T16:22:24.664148+00:00",
"id": "5412038532661248"
})
brcodepayment(
id: 5412038532661248,
amount: 1000,
brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created: 2020-02-06T16:22:24+00:00,
description: this will be fast,
fee: 0,
name: Stark Bank S.A. - Instituicao de Pagamento,
rules: [],
scheduled: 2020-02-07T10:00:00+00:00,
status: created,
tags: [],
tax_id: 012.345.678-90,
transaction_ids: [],
type: dynamic,
updated: 2020-02-06T16:22:24+00:00
)
%StarkBank.BrcodePayment{
amount: 1000,
brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
created: ~U[2020-02-06 16:22:24.664148Z],
description: "this will be fast",
fee: 0,
id: "5412038532661248",
name: "Stark Bank S.A. - Instituicao de Pagamento",
rules: [],
scheduled: ~U[2020-02-07 10:00:00Z],
status: "created",
tags: [],
tax_id: "012.345.678-90",
transaction_ids: [],
type: "dynamic",
updated: ~U[2020-02-06 16:22:24.664148Z]
}
BrcodePayment(
Amount: 1000,
Brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
Created: 06/02/2020 16:22:24,
Description: this will be fast,
Fee: 0,
Name: Stark Bank S.A. - Instituicao de Pagamento,
Rules: {},
Scheduled: 07/02/2020 10:00:00,
Status: created,
Tags: {},
TaxID: 012.345.678-90,
TransactionIds: { },
Type: dynamic,
Updated: 06/02/2020 16:22:24,
ID: 5412038532661248
)
{
Id:5412038532661248
Amount:1000
Brcode:00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
Created:2020-02-06 16:22:24.664148 +0000 +0000
Description:this will be fast
Fee:0
Name:Stark Bank S.A. - Instituicao de Pagamento
Rules:[]
Scheduled:2020-02-07 10:00:00 +0000 +0000
Status:created
Tags:[]
TaxId:012.345.678-90
TransactionIds:[]
Type:dynamic
Updated:2020-02-06 16:22:24.664148 +0000 +0000
}
{:amount 1000,
:brcode "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
:created "2020-02-06T16:22:24.664148+00:00",
:description "this will be fast",
:fee 0,
:id "5412038532661248",
:name "Stark Bank S.A. - Instituicao de Pagamento",
:rules [],
:scheduled "2020-02-07T10:00:00+00:00",
:status "created",
:tags [],
:tax-id "012.345.678-90",
:transaction-ids [],
:type "dynamic",
:updated "2020-02-06T16:22:24.664148+00:00"}
{
"message": "Brcode Payment(s) successfully created",
"payments": [
{
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-02-06T16:22:24.387022+00:00",
"description": "this will be fast",
"fee": 0,
"id": "5412038532661248",
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-02-07T10:00:00+00:00",
"status": "created",
"tags": [],
"taxId": "012.345.678-90",
"transactionIds": [],
"type": "dynamic",
"updated": "2020-02-06T16:22:24.387022+00:00"
}
]
}
Scheduled: Schedule the brcode payment for a specific date.
Today is the default.
Brcode Payments are available 24/7 and can be scheduled for any date and time.
Example: "2020-08-14T15:23:26+00:00" or "2020-08-14"
Tags: Array of strings to tag the entity for future queries. All tags will be converted to lowercase. Example: ["pix", "qrcode/1234"]
import starkbank
payments = starkbank.brcodepayment.create([
starkbank.BrcodePayment(
brcode="00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
tax_id="012.345.678-90",
description="this will be fast",
scheduled="2020-08-14",
tags=["pix", "invoice/1234"]
)
])
for payment in payments:
print(payment)
const starkbank = require('starkbank');
(async() => {
let payments = await starkbank.brcodePayment.create([
{
brcode: '00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF',
taxId: '012.345.678-90',
description: 'this will be fast',
scheduled: '2020-08-14',
tags: ['pix', 'invoice/1234']
}
])
for (let payment of payments) {
console.log(payment);
}
})();
$payments = StarkBank\BrcodePayment::create([
new StarkBank\BrcodePayment([
"brcode" => "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"taxId" => "012.345.678-90",
"description" => "this will be fast",
"scheduled" => "2020-08-14",
"tags" => ["pix", "invoice/1234"]
])
]);
foreach($payments as $payment){
print_r($payment);
}
import com.starkbank.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
List<BrcodePayment> payments = new ArrayList<>();
HashMap<String, Object> data = new HashMap<>();
data.put("brcode", "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF");
data.put("taxId", "012.345.678-90");
data.put("description", "this will be fast");
data.put("scheduled", "2020-08-14");
data.put("tags", new String[]{"pix", "invoice/1234"});
payments.add(new BrcodePayment(data));
payments = BrcodePayment.create(payments);
for (BrcodePayment payment : payments){
System.out.println(payment);
}
require('starkbank')
payments = StarkBank::BrcodePayment.create(
[
StarkBank::BrcodePayment.new(
brcode: '00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF',
tax_id: '012.345.678-90',
description: 'this will be fast',
scheduled: '2020-08-14',
tags: ['pix', 'invoice/1234']
)
]
)
payments.each do |payment|
puts payment
end
payments = StarkBank.BrcodePayment.create!([
%StarkBank.BrcodePayment{
brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
tax_id: "012.345.678-90",
description: "this will be fast",
scheduled: "2020-08-14",
tags: ["pix", "invoice/1234"]
}
])
for payment <- payments do
payment |> IO.inspect
end
using System;
using System.Collections.Generic;
List<StarkBank.BrcodePayment> payments = StarkBank.BrcodePayment.Create(
new List<StarkBank.BrcodePayment> {
new StarkBank.BrcodePayment(
brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
taxID: "012.345.678-90",
description: "this will be fast",
scheduled: new DateTime(2020, 8, 14),
tags: new List<string> { "pix", "invoice/1234" }
)
}
);
foreach(StarkBank.BrcodePayment payment in payments)
{
Console.WriteLine(payment);
}
package main
import (
"fmt"
"time"
"github.com/starkbank/sdk-go/starkbank/brcodepayment"
)
func main() {
scheduled := time.Date(2020, 8, 14, 0, 0, 0, 0, time.UTC)
payments, err := brcodepayment.Create(
[]brcodepayment.BrcodePayment{
{
Brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
TaxId: "012.345.678-90",
Description: "this will be fast",
Scheduled: &scheduled,
Tags: []string{"pix", "invoice/1234"},
},
}, nil)
if err.Errors != nil {
for _, e := range err.Errors {
fmt.Printf("code: %s, message: %s", e.Code, e.Message)
}
}
for _, payment := range payments {
fmt.Printf("%+v", payment)
}
}
(def payments
(starkbank.brcode-payment/create
[
{
:brcode "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF"
:tax-id "012.345.678-90"
:description "this will be fast"
:scheduled "2020-08-14"
:tags ["pix" "invoice/1234"]
}
]))
(dorun (map println payments))
curl --location --request POST '{{baseUrl}}/v2/brcode-payment'
--header 'Access-Id: {{accessId}}'
--header 'Access-Time: {{accessTime}}'
--header 'Access-Signature: {{accessSignature}}'
--header 'Content-Type: application/json'
--data-raw '{
"payments": [
{
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"taxId": "012.345.678-90",
"description": "this will be fast",
"scheduled": "2020-08-14",
"tags": ["pix", "invoice/1234"]
}
]
}'
BrcodePayment(
amount=1000,
brcode=00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created=2020-02-06 16:22:24.664134,
description=this will be fast,
fee=0,
id=5412038532661248,
name=Stark Bank S.A. - Instituicao de Pagamento,
rules=[],
scheduled=2020-08-14 10:00:00,
status=created,
tags=['pix', 'invoice/1234'],
tax_id=012.345.678-90,
transaction_ids=[],
type=dynamic,
updated=2020-02-06 16:22:24.664134
)
BrcodePayment {
id: '5412038532661248',
amount: 1000,
brcode: '00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF',
created: '2020-02-06T16:22:24.664148+00:00',
description: 'this will be fast',
fee: 0,
name: 'Stark Bank S.A. - Instituicao de Pagamento',
rules: [],
scheduled: '2020-08-14T10:00:00+00:00',
status: 'created',
tags: [ 'pix', 'invoice/1234' ],
taxId: '012.345.678-90',
transactionIds: [],
type: 'dynamic',
updated: '2020-02-06T16:22:24.664148+00:00'
}
StarkBank\BrcodePayment Object
(
[id] => 5412038532661248
[amount] => 1000
[brcode] => 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
[created] => DateTime Object
(
[date] => 2020-02-06 16:22:24.664148
[timezone_type] => 1
[timezone] => +00:00
)
[description] => this will be fast
[fee] => 0
[name] => Stark Bank S.A. - Instituicao de Pagamento
[rules] => Array
(
)
[scheduled] => DateTime Object
(
[date] => 2020-08-14 10:00:00.000000
[timezone_type] => 1
[timezone] => +00:00
)
[status] => created
[tags] => Array
(
[0] => pix
[1] => invoice/1234
)
[taxId] => 012.345.678-90
[transactionIds] => Array
(
)
[type] => dynamic
[updated] => DateTime Object
(
[date] => 2020-02-06 16:22:24.664148
[timezone_type] => 1
[timezone] => +00:00
)
)
BrcodePayment({
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-02-06T16:22:24.664148+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-08-14T10:00:00+00:00",
"status": "created",
"tags": ["pix", "invoice/1234"],
"taxId": "012.345.678-90",
"transactionIds": [],
"type": "dynamic",
"updated": "2020-02-06T16:22:24.664148+00:00",
"id": "5412038532661248"
})
brcodepayment(
id: 5412038532661248,
amount: 1000,
brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created: 2020-02-06T16:22:24+00:00,
description: this will be fast,
fee: 0,
name: Stark Bank S.A. - Instituicao de Pagamento,
rules: [],
scheduled: 2020-08-14T10:00:00+00:00,
status: created,
tags: ['pix', 'invoice/1234'],
tax_id: 012.345.678-90,
transaction_ids: [],
type: dynamic,
updated: 2020-02-06T16:22:24+00:00
)
%StarkBank.BrcodePayment{
amount: 1000,
brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
created: ~U[2020-02-06 16:22:24.664148Z],
description: "this will be fast",
fee: 0,
id: "5412038532661248",
name: "Stark Bank S.A. - Instituicao de Pagamento",
rules: [],
scheduled: ~U[2020-08-14 10:00:00Z],
status: "created",
tags: ["pix", "invoice/1234"],
tax_id: "012.345.678-90",
transaction_ids: [],
type: "dynamic",
updated: ~U[2020-02-06 16:22:24.664148Z]
}
BrcodePayment(
Amount: 1000,
Brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
Created: 06/02/2020 16:22:24,
Description: this will be fast,
Fee: 0,
Name: Stark Bank S.A. - Instituicao de Pagamento,
Rules: {},
Scheduled: 14/08/2020 10:00:00,
Status: created,
Tags: { pix, invoice/1234 },
TaxID: 012.345.678-90,
TransactionIds: { },
Type: dynamic,
Updated: 06/02/2020 16:22:24,
ID: 5412038532661248
)
{
Id:5412038532661248
Amount:1000
Brcode:00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
Created:2020-02-06 16:22:24.664148 +0000 +0000
Description:this will be fast
Fee:0
Name:Stark Bank S.A. - Instituicao de Pagamento
Rules:[]
Scheduled:2020-08-14 10:00:00 +0000 +0000
Status:created
Tags:[pix invoice/1234]
TaxId:012.345.678-90
TransactionIds:[]
Type:dynamic
Updated:2020-02-06 16:22:24.664148 +0000 +0000
}
{:amount 1000,
:brcode "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
:created "2020-02-06T16:22:24.664148+00:00",
:description "this will be fast",
:fee 0,
:id "5412038532661248",
:name "Stark Bank S.A. - Instituicao de Pagamento",
:rules [],
:scheduled "2020-08-14T10:00:00+00:00",
:status "created",
:tags ["pix" "invoice/1234"],
:tax-id "012.345.678-90",
:transaction-ids [],
:type "dynamic",
:updated "2020-02-06T16:22:24.664148+00:00"}
{
"message": "Brcode Payment(s) successfully created",
"payments": [
{
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-02-06T16:22:24.387022+00:00",
"description": "this will be fast",
"fee": 0,
"id": "5412038532661248",
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-08-14T10:00:00+00:00",
"status": "created",
"tags": ["pix", "invoice/1234"],
"taxId": "012.345.678-90",
"transactionIds": [],
"type": "dynamic",
"updated": "2020-02-06T16:22:24.387022+00:00"
}
]
}
Get a list of Brcode Payments using filters such as after, before, status and tags to narrow the results.
import starkbank
payments = starkbank.brcodepayment.query(
after="2020-04-01",
before="2020-04-30",
)
for payment in payments:
print(payment)
const starkbank = require('starkbank');
(async() => {
let payments = await starkbank.brcodePayment.query({
after: '2020-04-01',
before: '2020-04-30',
});
for await (let payment of payments) {
console.log(payment);
}
})();
$payments = StarkBank\BrcodePayment::query([
"after" => "2020-04-01",
"before" => "2020-04-30"
]);
foreach($payments as $payment){
print_r($payment);
}
import com.starkbank.*;
import com.starkbank.utils.Generator;
import java.util.HashMap;
HashMap<String, Object> params = new HashMap<>();
params.put("after", "2020-04-01");
params.put("before", "2020-04-30");
Generator<BrcodePayment> payments = BrcodePayment.query(params);
for (BrcodePayment payment : payments){
System.out.println(payment);
}
require('starkbank')
payments = StarkBank::BrcodePayment.query(
after: '2020-04-01',
before: '2020-04-30'
)
payments.each do |payment|
puts payment
end
payments = StarkBank.BrcodePayment.query!(
after: "2020-04-01",
before: "2020-04-30"
)
for payment <- payments do
payment |> IO.inspect
end
using System;
using System.Collections.Generic;
IEnumerable<StarkBank.BrcodePayment> payments = StarkBank.BrcodePayment.Query(
after: new DateTime(2020, 4, 1),
before: new DateTime(2020, 4, 30)
);
foreach(StarkBank.BrcodePayment payment in payments)
{
Console.WriteLine(payment);
}
package main
import (
"fmt"
"time"
"github.com/starkbank/sdk-go/starkbank/brcodepayment"
)
func main() {
var params = map[string]interface{}{}
params["after"] = time.Date(2020, 4, 1, 0, 0, 0, 0, time.UTC)
params["before"] = time.Date(2020, 4, 30, 0, 0, 0, 0, time.UTC)
payments, errorChannel := brcodepayment.Query(params, nil)
loop:
for {
select {
case err := <-errorChannel:
if err.Errors != nil {
for _, e := range err.Errors {
fmt.Printf("code: %s, message: %s", e.Code, e.Message)
}
}
case payment, ok := <-payments:
if !ok {
break loop
}
fmt.Printf("%+v", payment)
}
}
}
(def payments
(starkbank.brcode-payment/query
{
:after "2020-04-01"
:before "2020-04-30"
}))
(dorun (map println payments))
curl --location --request GET '{{baseUrl}}/v2/brcode-payment?after=2020-04-01&before=2020-04-30'
--header 'Access-Id: {{accessId}}'
--header 'Access-Time: {{accessTime}}'
--header 'Access-Signature: {{accessSignature}}'
BrcodePayment(
amount=1000,
brcode=00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created=2020-04-24 17:49:10.225810,
description=this will be fast,
fee=0,
id=5950134772826112,
name=Stark Bank S.A. - Instituicao de Pagamento,
rules=[],
scheduled=2020-08-14 10:00:00,
status=processing,
tags=['pix', 'invoice/1234'],
tax_id=012.345.678-90,
transaction_ids=['5991715760504832'],
type=dynamic,
updated=2020-04-24 17:49:10.225810
)
BrcodePayment {
id: '5950134772826112',
amount: 1000,
brcode: '00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF',
created: '2020-04-24T17:49:10.225810+00:00',
description: 'this will be fast',
fee: 0,
name: 'Stark Bank S.A. - Instituicao de Pagamento',
rules: [],
scheduled: '2020-08-14T10:00:00+00:00',
status: 'processing',
tags: [ 'pix', 'invoice/1234' ],
taxId: '012.345.678-90',
transactionIds: [ '5991715760504832' ],
type: 'dynamic',
updated: '2020-04-24T17:49:10.225810+00:00'
}
StarkBank\BrcodePayment Object
(
[id] => 5950134772826112
[amount] => 1000
[brcode] => 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
[created] => DateTime Object
(
[date] => 2020-04-24 17:49:10.225810
[timezone_type] => 1
[timezone] => +00:00
)
[description] => this will be fast
[fee] => 0
[name] => Stark Bank S.A. - Instituicao de Pagamento
[rules] => Array
(
)
[scheduled] => DateTime Object
(
[date] => 2020-08-14 10:00:00.000000
[timezone_type] => 1
[timezone] => +00:00
)
[status] => processing
[tags] => Array
(
[0] => pix
[1] => invoice/1234
)
[taxId] => 012.345.678-90
[transactionIds] => Array
(
[0] => 5991715760504832
)
[type] => dynamic
[updated] => DateTime Object
(
[date] => 2020-04-24 17:49:10.225810
[timezone_type] => 1
[timezone] => +00:00
)
)
BrcodePayment({
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-04-24T17:49:10.225810+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-08-14T10:00:00+00:00",
"status": "processing",
"tags": ["pix", "invoice/1234"],
"taxId": "012.345.678-90",
"transactionIds": ["5991715760504832"],
"type": "dynamic",
"updated": "2020-04-24T17:49:10.225810+00:00",
"id": "5950134772826112"
})
brcodepayment(
id: 5950134772826112,
amount: 1000,
brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created: 2020-04-24T17:49:10+00:00,
description: this will be fast,
fee: 0,
name: Stark Bank S.A. - Instituicao de Pagamento,
rules: [],
scheduled: 2020-08-14T10:00:00+00:00,
status: processing,
tags: ['pix', 'invoice/1234'],
tax_id: 012.345.678-90,
transaction_ids: ['5991715760504832'],
type: dynamic,
updated: 2020-04-24T17:49:10+00:00
)
%StarkBank.BrcodePayment{
amount: 1000,
brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
created: ~U[2020-04-24 17:49:10.225810Z],
description: "this will be fast",
fee: 0,
id: "5950134772826112",
name: "Stark Bank S.A. - Instituicao de Pagamento",
rules: [],
scheduled: ~U[2020-08-14 10:00:00Z],
status: "processing",
tags: ["pix", "invoice/1234"],
tax_id: "012.345.678-90",
transaction_ids: ["5991715760504832"],
type: "dynamic",
updated: ~U[2020-04-24 17:49:10.225810Z]
}
BrcodePayment(
Amount: 1000,
Brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
Created: 24/04/2020 17:49:10,
Description: this will be fast,
Fee: 0,
Name: Stark Bank S.A. - Instituicao de Pagamento,
Rules: {},
Scheduled: 14/08/2020 10:00:00,
Status: processing,
Tags: { pix, invoice/1234 },
TaxID: 012.345.678-90,
TransactionIds: { 5991715760504832 },
Type: dynamic,
Updated: 24/04/2020 17:49:10,
ID: 5950134772826112
)
{
Id:5950134772826112
Amount:1000
Brcode:00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
Created:2020-04-24 17:49:10.225810 +0000 +0000
Description:this will be fast
Fee:0
Name:Stark Bank S.A. - Instituicao de Pagamento
Rules:[]
Scheduled:2020-08-14 10:00:00 +0000 +0000
Status:processing
Tags:[pix invoice/1234]
TaxId:012.345.678-90
TransactionIds:[5991715760504832]
Type:dynamic
Updated:2020-04-24 17:49:10.225810 +0000 +0000
}
{:amount 1000,
:brcode "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
:created "2020-04-24T17:49:10.225810+00:00",
:description "this will be fast",
:fee 0,
:id "5950134772826112",
:name "Stark Bank S.A. - Instituicao de Pagamento",
:rules [],
:scheduled "2020-08-14T10:00:00+00:00",
:status "processing",
:tags ["pix" "invoice/1234"],
:tax-id "012.345.678-90",
:transaction-ids ["5991715760504832"],
:type "dynamic",
:updated "2020-04-24T17:49:10.225810+00:00"}
{
"cursor": null,
"payments": [
{
"id": "5950134772826112",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-04-24T17:49:10.225810+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-08-14T10:00:00+00:00",
"status": "processing",
"tags": ["pix", "invoice/1234"],
"taxId": "012.345.678-90",
"transactionIds": ["5991715760504832"],
"type": "dynamic",
"updated": "2020-04-24T17:49:10.225810+00:00"
}
]
}
Get a single Brcode Payment by its id.
You can use it to check the current status of a Brcode Payment.
import starkbank
payment = starkbank.brcodepayment.get("5950134772826112")
print(payment)
const starkbank = require('starkbank');
(async() => {
let payment = await starkbank.brcodePayment.get('5950134772826112');
console.log(payment);
})();
$payment = StarkBank\BrcodePayment::get("5950134772826112");
print_r($payment);
import com.starkbank.*;
BrcodePayment payment = BrcodePayment.get("5950134772826112");
System.out.println(payment);
require('starkbank')
payment = StarkBank::BrcodePayment.get('5950134772826112')
puts payment
payment = StarkBank.BrcodePayment.get!("5950134772826112")
payment |> IO.inspect
using System;
StarkBank.BrcodePayment payment = StarkBank.BrcodePayment.Get("5950134772826112");
Console.WriteLine(payment);
package main
import (
"fmt"
"github.com/starkbank/sdk-go/starkbank/brcodepayment"
)
func main() {
payment, err := brcodepayment.Get("5950134772826112", nil)
if err.Errors != nil {
for _, e := range err.Errors {
fmt.Printf("code: %s, message: %s", e.Code, e.Message)
}
}
fmt.Println(payment)
}
(def payment (starkbank.brcode-payment/get "5950134772826112"))
(println payment)
curl --location --request GET '{{baseUrl}}/v2/brcode-payment/5950134772826112'
--header 'Access-Id: {{accessId}}'
--header 'Access-Time: {{accessTime}}'
--header 'Access-Signature: {{accessSignature}}'
BrcodePayment(
amount=1000,
brcode=00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created=2020-04-24 17:49:10.225810,
description=this will be fast,
fee=0,
id=5950134772826112,
name=Stark Bank S.A. - Instituicao de Pagamento,
rules=[],
scheduled=2020-08-14 10:00:00,
status=processing,
tags=['pix', 'invoice/1234'],
tax_id=012.345.678-90,
transaction_ids=['5991715760504832'],
type=dynamic,
updated=2020-04-24 17:49:10.225810
)
BrcodePayment {
id: '5950134772826112',
amount: 1000,
brcode: '00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF',
created: '2020-04-24T17:49:10.225810+00:00',
description: 'this will be fast',
fee: 0,
name: 'Stark Bank S.A. - Instituicao de Pagamento',
rules: [],
scheduled: '2020-08-14T10:00:00+00:00',
status: 'processing',
tags: [ 'pix', 'invoice/1234' ],
taxId: '012.345.678-90',
transactionIds: [ '5991715760504832' ],
type: 'dynamic',
updated: '2020-04-24T17:49:10.225810+00:00'
}
StarkBank\BrcodePayment Object
(
[id] => 5950134772826112
[amount] => 1000
[brcode] => 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
[created] => DateTime Object
(
[date] => 2020-04-24 17:49:10.225810
[timezone_type] => 1
[timezone] => +00:00
)
[description] => this will be fast
[fee] => 0
[name] => Stark Bank S.A. - Instituicao de Pagamento
[rules] => Array
(
)
[scheduled] => DateTime Object
(
[date] => 2020-08-14 10:00:00.000000
[timezone_type] => 1
[timezone] => +00:00
)
[status] => processing
[tags] => Array
(
[0] => pix
[1] => invoice/1234
)
[taxId] => 012.345.678-90
[transactionIds] => Array
(
[0] => 5991715760504832
)
[type] => dynamic
[updated] => DateTime Object
(
[date] => 2020-04-24 17:49:10.225810
[timezone_type] => 1
[timezone] => +00:00
)
)
BrcodePayment({
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-04-24T17:49:10.225810+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-08-14T10:00:00+00:00",
"status": "processing",
"tags": ["pix", "invoice/1234"],
"taxId": "012.345.678-90",
"transactionIds": ["5991715760504832"],
"type": "dynamic",
"updated": "2020-04-24T17:49:10.225810+00:00",
"id": "5950134772826112"
})
brcodepayment(
id: 5950134772826112,
amount: 1000,
brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created: 2020-04-24T17:49:10+00:00,
description: this will be fast,
fee: 0,
name: Stark Bank S.A. - Instituicao de Pagamento,
rules: [],
scheduled: 2020-08-14T10:00:00+00:00,
status: processing,
tags: ['pix', 'invoice/1234'],
tax_id: 012.345.678-90,
transaction_ids: ['5991715760504832'],
type: dynamic,
updated: 2020-04-24T17:49:10+00:00
)
%StarkBank.BrcodePayment{
amount: 1000,
brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
created: ~U[2020-04-24 17:49:10.225810Z],
description: "this will be fast",
fee: 0,
id: "5950134772826112",
name: "Stark Bank S.A. - Instituicao de Pagamento",
rules: [],
scheduled: ~U[2020-08-14 10:00:00Z],
status: "processing",
tags: ["pix", "invoice/1234"],
tax_id: "012.345.678-90",
transaction_ids: ["5991715760504832"],
type: "dynamic",
updated: ~U[2020-04-24 17:49:10.225810Z]
}
BrcodePayment(
Amount: 1000,
Brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
Created: 24/04/2020 17:49:10,
Description: this will be fast,
Fee: 0,
Name: Stark Bank S.A. - Instituicao de Pagamento,
Rules: {},
Scheduled: 14/08/2020 10:00:00,
Status: processing,
Tags: { pix, invoice/1234 },
TaxID: 012.345.678-90,
TransactionIds: { 5991715760504832 },
Type: dynamic,
Updated: 24/04/2020 17:49:10,
ID: 5950134772826112
)
{
Id:5950134772826112
Amount:1000
Brcode:00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
Created:2020-04-24 17:49:10.225810 +0000 +0000
Description:this will be fast
Fee:0
Name:Stark Bank S.A. - Instituicao de Pagamento
Rules:[]
Scheduled:2020-08-14 10:00:00 +0000 +0000
Status:processing
Tags:[pix invoice/1234]
TaxId:012.345.678-90
TransactionIds:[5991715760504832]
Type:dynamic
Updated:2020-04-24 17:49:10.225810 +0000 +0000
}
{:amount 1000,
:brcode "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
:created "2020-04-24T17:49:10.225810+00:00",
:description "this will be fast",
:fee 0,
:id "5950134772826112",
:name "Stark Bank S.A. - Instituicao de Pagamento",
:rules [],
:scheduled "2020-08-14T10:00:00+00:00",
:status "processing",
:tags ["pix" "invoice/1234"],
:tax-id "012.345.678-90",
:transaction-ids ["5991715760504832"],
:type "dynamic",
:updated "2020-04-24T17:49:10.225810+00:00"}
{
"payment": {
"id": "5950134772826112",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-04-24T17:49:10.225810+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-08-14T10:00:00+00:00",
"status": "processing",
"tags": ["pix", "invoice/1234"],
"taxId": "012.345.678-90",
"transactionIds": ["5991715760504832"],
"type": "dynamic",
"updated": "2020-04-24T17:49:10.225810+00:00"
}
}
This method will allow the cancellation of a brcode payment.
It's important to note that it's only possible to cancel brcode payments before the start of processing.
import starkbank
payment = starkbank.brcodepayment.delete("6693962735681536")
print(payment)
const starkbank = require('starkbank');
(async() => {
let payment = await starkbank.brcodePayment.delete('6693962735681536');
console.log(payment);
})();
$payment = StarkBank\BrcodePayment::delete("6693962735681536");
print_r($payment);
import com.starkbank.*;
BrcodePayment payment = BrcodePayment.delete("6693962735681536");
System.out.println(payment);
require('starkbank')
payment = StarkBank::BrcodePayment.delete('6693962735681536')
puts payment
payment = StarkBank.BrcodePayment.delete!("6693962735681536")
payment |> IO.inspect
using System;
StarkBank.BrcodePayment payment = StarkBank.BrcodePayment.Delete("6693962735681536");
Console.WriteLine(payment);
package main
import (
"fmt"
"github.com/starkbank/sdk-go/starkbank/brcodepayment"
)
func main() {
payment, err := brcodepayment.Delete("6693962735681536", nil)
if err.Errors != nil {
for _, e := range err.Errors {
fmt.Printf("code: %s, message: %s", e.Code, e.Message)
}
}
fmt.Println(payment)
}
(def payment (starkbank.brcode-payment/delete "6693962735681536"))
(println payment)
curl --location --request DELETE '{{baseUrl}}/v2/brcode-payment/6693962735681536'
--header 'Access-Id: {{accessId}}'
--header 'Access-Time: {{accessTime}}'
--header 'Access-Signature: {{accessSignature}}'
BrcodePayment(
amount=1000,
brcode=00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created=2020-04-24 17:49:10.225810,
description=this will be fast,
fee=0,
id=6693962735681536,
name=Stark Bank S.A. - Instituicao de Pagamento,
rules=[],
scheduled=2020-08-14 10:00:00,
status=canceled,
tags=['pix', 'invoice/1234'],
tax_id=012.345.678-90,
transaction_ids=[],
type=dynamic,
updated=2020-04-24 17:49:10.225810
)
BrcodePayment {
id: '6693962735681536',
amount: 1000,
brcode: '00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF',
created: '2020-04-24T17:49:10.225810+00:00',
description: 'this will be fast',
fee: 0,
name: 'Stark Bank S.A. - Instituicao de Pagamento',
rules: [],
scheduled: '2020-08-14T10:00:00+00:00',
status: 'canceled',
tags: [ 'pix', 'invoice/1234' ],
taxId: '012.345.678-90',
transactionIds: [],
type: 'dynamic',
updated: '2020-04-24T17:49:10.225810+00:00'
}
StarkBank\BrcodePayment Object
(
[id] => 6693962735681536
[amount] => 1000
[brcode] => 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
[created] => DateTime Object
(
[date] => 2020-04-24 17:49:10.225810
[timezone_type] => 1
[timezone] => +00:00
)
[description] => this will be fast
[fee] => 0
[name] => Stark Bank S.A. - Instituicao de Pagamento
[rules] => Array
(
)
[scheduled] => DateTime Object
(
[date] => 2020-08-14 10:00:00.000000
[timezone_type] => 1
[timezone] => +00:00
)
[status] => canceled
[tags] => Array
(
[0] => pix
[1] => invoice/1234
)
[taxId] => 012.345.678-90
[transactionIds] => Array
(
)
[type] => dynamic
[updated] => DateTime Object
(
[date] => 2020-04-24 17:49:10.225810
[timezone_type] => 1
[timezone] => +00:00
)
)
BrcodePayment({
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-04-24T17:49:10.225810+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-08-14T10:00:00+00:00",
"status": "canceled",
"tags": ["pix", "invoice/1234"],
"taxId": "012.345.678-90",
"transactionIds": [],
"type": "dynamic",
"updated": "2020-04-24T17:49:10.225810+00:00",
"id": "6693962735681536"
})
brcodepayment(
id: 6693962735681536,
amount: 1000,
brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
created: 2020-04-24T17:49:10+00:00,
description: this will be fast,
fee: 0,
name: Stark Bank S.A. - Instituicao de Pagamento,
rules: [],
scheduled: 2020-08-14T10:00:00+00:00,
status: canceled,
tags: ['pix', 'invoice/1234'],
tax_id: 012.345.678-90,
transaction_ids: [],
type: dynamic,
updated: 2020-04-24T17:49:10+00:00
)
%StarkBank.BrcodePayment{
amount: 1000,
brcode: "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
created: ~U[2020-04-24 17:49:10.225810Z],
description: "this will be fast",
fee: 0,
id: "6693962735681536",
name: "Stark Bank S.A. - Instituicao de Pagamento",
rules: [],
scheduled: ~U[2020-08-14 10:00:00Z],
status: "canceled",
tags: ["pix", "invoice/1234"],
tax_id: "012.345.678-90",
transaction_ids: [],
type: "dynamic",
updated: ~U[2020-04-24 17:49:10.225810Z]
}
BrcodePayment(
Amount: 1000,
Brcode: 00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF,
Created: 24/04/2020 17:49:10,
Description: this will be fast,
Fee: 0,
Name: Stark Bank S.A. - Instituicao de Pagamento,
Rules: {},
Scheduled: 14/08/2020 10:00:00,
Status: canceled,
Tags: { pix, invoice/1234 },
TaxID: 012.345.678-90,
TransactionIds: { },
Type: dynamic,
Updated: 24/04/2020 17:49:10,
ID: 6693962735681536
)
{
Id:6693962735681536
Amount:1000
Brcode:00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF
Created:2020-04-24 17:49:10.225810 +0000 +0000
Description:this will be fast
Fee:0
Name:Stark Bank S.A. - Instituicao de Pagamento
Rules:[]
Scheduled:2020-08-14 10:00:00 +0000 +0000
Status:canceled
Tags:[pix invoice/1234]
TaxId:012.345.678-90
TransactionIds:[]
Type:dynamic
Updated:2020-04-24 17:49:10.225810 +0000 +0000
}
{:amount 1000,
:brcode "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
:created "2020-04-24T17:49:10.225810+00:00",
:description "this will be fast",
:fee 0,
:id "6693962735681536",
:name "Stark Bank S.A. - Instituicao de Pagamento",
:rules [],
:scheduled "2020-08-14T10:00:00+00:00",
:status "canceled",
:tags ["pix" "invoice/1234"],
:tax-id "012.345.678-90",
:transaction-ids [],
:type "dynamic",
:updated "2020-04-24T17:49:10.225810+00:00"}
{
"payment": {
"id": "6693962735681536",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2020-04-24T17:49:10.225810+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2020-08-14T10:00:00+00:00",
"status": "canceled",
"tags": ["pix", "invoice/1234"],
"taxId": "012.345.678-90",
"transactionIds": [],
"type": "dynamic",
"updated": "2020-04-24T17:49:10.225810+00:00"
}
}
After creation, you can use asynchronous Webhooks to monitor status changes of the entity. The Brcode Payment will follow the following life cycle:
Every time we change a Brcode Payment, we create a Log. Logs are pretty useful for understanding the life cycle of each Brcode Payment. Whenever a new Log is created, we will fire a Webhook to your registered URL.
NOTE: Check the Webhook Get Started for more details on how to receive and process Webhook events.
NOTE: A brcode-payment subscription is required to receive this event.
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}
{
"event": {
"id": "5258020443389952",
"subscription": "brcode-payment",
"workspaceId": "6341320293482496",
"created": "2024-02-01T02:06:27.872660+00:00",
"log": {
"id": "4638457385189376",
"type": "success",
"created": "2024-02-01T02:06:26.317809+00:00",
"errors": [],
"payment": {
"id": "6679150966341632",
"amount": 1000,
"brcode": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/ace289aac1ce453b9ca64fb12ec525855204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***63044DDF",
"created": "2024-02-01T02:06:26.294998+00:00",
"description": "this will be fast",
"fee": 0,
"name": "Stark Bank S.A. - Instituicao de Pagamento",
"rules": [],
"scheduled": "2024-02-02T10:00:00+00:00",
"status": "success",
"tags": [
"order/123",
"customer/456"
],
"taxId": "012.345.678-90",
"transactionIds": ["6341320293482496"],
"type": "dynamic",
"updated": "2024-02-01T02:06:26.294998+00:00"
}
}
}
}