Requirements
| Requirement | Description | |
|---|---|---|
| Integration type | Make sure that you have an existing API-only integration. | |
| Action handling | Make sure that your existing integration is set up to handle the additional action. action.type: qrCode. | |
| Setup steps | Before you begin, add Pix in your Customer Area. |
How it works
- The shopper selects Pix as the payment method.
- The shopper enters their details in the payment form that you build.
- When you make the payment request, you include additional information about the items that the shopper intends to purchase.
- Your existing integration setup enables you to present a QR code to the shopper to complete the payment.
- You capture the payment.
Build your payment form
Include fields to collect the following information from your shopper in the payment form.| Field | Description |
|---|---|
| Name | The first and last name of the shopper. |
| CPF/CNPJ | CPF/CNPJ is a unique identifier similar to a social security number. The shopper can provide their CPF (Cadastro de Pessoas Físicas) number or their CNPJ (Cadastro Nacional da Pessoa Jurídica) number. |
Get Pix as an available payment method
When you make the /paymentMethods request to get available payment methods, specify the following so that Pix is included in the response.| Parameter | Values |
|---|---|
| countryCode | BR |
| amount.currency | BRL |
curl https://checkout-test.adyen.com/v72/paymentMethods \
-H 'x-api-key: ADYEN_API_KEY' \
-H 'idempotency-key: YOUR_IDEMPOTENCY_KEY' \
-H 'content-type: application/json' \
-X POST
-d '{
"merchantAccount": "ADYEN_MERCHANT_ACCOUNT",
"countryCode": "BR",
"amount": {
"currency": "BRL",
"value": 10000
},
"shopperLocale": "br-BR"
}'
// Adyen Java API Library v40.0.0
import com.adyen.Client;
import com.adyen.enums.Environment;
import com.adyen.model.checkout.*;
import java.time.OffsetDateTime;
import java.util.*;
import com.adyen.model.RequestOptions;
import com.adyen.service.checkout.*;
// For the LIVE environment, also include your liveEndpointUrlPrefix.
Client client = new Client("ADYEN_API_KEY", Environment.TEST);
// Create the request object(s)
Amount amount = new Amount()
.currency("BRL")
.value(10000L);
PaymentMethodsRequest paymentMethodsRequest = new PaymentMethodsRequest()
.amount(amount)
.merchantAccount("ADYEN_MERCHANT_ACCOUNT")
.countryCode("BR")
.shopperLocale("br-BR");
// Send the request
PaymentsApi service = new PaymentsApi(client);
PaymentMethodsResponse response = service.paymentMethods(paymentMethodsRequest, new RequestOptions().idempotencyKey("UUID"));
<?php
// Adyen PHP API Library v28.3.0
use Adyen\Client;
use Adyen\Environment;
use Adyen\Model\Checkout\Amount;
use Adyen\Model\Checkout\PaymentMethodsRequest;
use Adyen\Service\Checkout\PaymentsApi;
$client = new Client();
$client->setXApiKey("ADYEN_API_KEY");
// For the LIVE environment, also include your liveEndpointUrlPrefix.
$client->setEnvironment(Environment::TEST);
// Create the request object(s)
$amount = new Amount();
$amount
->setCurrency("BRL")
->setValue(10000);
$paymentMethodsRequest = new PaymentMethodsRequest();
$paymentMethodsRequest
->setAmount($amount)
->setMerchantAccount("ADYEN_MERCHANT_ACCOUNT")
->setCountryCode("BR")
->setShopperLocale("br-BR");
$requestOptions['idempotencyKey'] = 'UUID';
// Send the request
$service = new PaymentsApi($client);
$response = $service->paymentMethods($paymentMethodsRequest, $requestOptions);
// Adyen .NET API Library v32.2.1
using Adyen;
using Environment = Adyen.Model.Environment;
using Adyen.Model;
using Adyen.Model.Checkout;
using Adyen.Service.Checkout;
// For the LIVE environment, also include your liveEndpointUrlPrefix.
var config = new Config()
{
XApiKey = "ADYEN_API_KEY",
Environment = Environment.Test
};
var client = new Client(config);
// Create the request object(s)
Amount amount = new Amount
{
Currency = "BRL",
Value = 10000
};
PaymentMethodsRequest paymentMethodsRequest = new PaymentMethodsRequest
{
Amount = amount,
MerchantAccount = "ADYEN_MERCHANT_ACCOUNT",
CountryCode = "BR",
ShopperLocale = "br-BR"
};
// Send the request
var service = new PaymentsService(client);
var response = service.PaymentMethods(paymentMethodsRequest, requestOptions: new RequestOptions { IdempotencyKey = "UUID"});
// Adyen Node API Library v30.0.0
const { Client, CheckoutAPI } = require('@adyen/api-library');
// For the LIVE environment, also include your liveEndpointUrlPrefix.
const config = new Config({
apiKey: "ADYEN_API_KEY",
environment: EnvironmentEnum.TEST
});
const client = new Client(config);
// Create the request object(s)
const paymentMethodsRequest = {
merchantAccount: "ADYEN_MERCHANT_ACCOUNT",
countryCode: "BR",
amount: {
currency: "BRL",
value: 10000
},
shopperLocale: "br-BR"
}
// Send the request
const checkoutAPI = new CheckoutAPI(client);
const response = checkoutAPI.PaymentsApi.paymentMethods(paymentMethodsRequest, { idempotencyKey: "UUID" });
// Adyen Go API Library v21.1.0
import (
"context"
"github.com/adyen/adyen-go-api-library/v21/src/common"
"github.com/adyen/adyen-go-api-library/v21/src/adyen"
"github.com/adyen/adyen-go-api-library/v21/src/checkout"
)
// For the LIVE environment, also include your liveEndpointUrlPrefix.
client := adyen.NewClient(&common.Config{
ApiKey: "ADYEN_API_KEY",
Environment: common.TestEnv,
})
// Create the request object(s)
amount := checkout.Amount{
Currency: "BRL",
Value: 10000,
}
paymentMethodsRequest := checkout.PaymentMethodsRequest{
Amount: &amount,
MerchantAccount: "ADYEN_MERCHANT_ACCOUNT",
CountryCode: common.PtrString("BR"),
ShopperLocale: common.PtrString("br-BR"),
}
// Send the request
service := client.Checkout()
req := service.PaymentsApi.PaymentMethodsInput().IdempotencyKey("UUID").PaymentMethodsRequest(paymentMethodsRequest)
res, httpRes, err := service.PaymentsApi.PaymentMethods(context.Background(), req)
# Adyen Python API Library v13.6.0
import Adyen
adyen = Adyen.Adyen()
adyen.client.xapikey = "ADYEN_API_KEY"
# For the LIVE environment, also include your liveEndpointUrlPrefix.
adyen.client.platform = "test" # The environment to use library in.
# Create the request object(s)
json_request = {
"merchantAccount": "ADYEN_MERCHANT_ACCOUNT",
"countryCode": "BR",
"amount": {
"currency": "BRL",
"value": 10000
},
"shopperLocale": "br-BR"
}
# Send the request
result = adyen.checkout.payments_api.payment_methods(request=json_request, idempotency_key="UUID")
# Adyen Ruby API Library v11.0.0
require "adyen-ruby-api-library"
adyen = Adyen::Client.new
adyen.api_key = 'ADYEN_API_KEY'
# For the LIVE environment, also include your liveEndpointUrlPrefix.
adyen.env = :test # Set to "live" for live environment
# Create the request object(s)
request_body = {
:merchantAccount => 'ADYEN_MERCHANT_ACCOUNT',
:countryCode => 'BR',
:amount => {
:currency => 'BRL',
:value => 10000
},
:shopperLocale => 'br-BR'
}
# Send the request
result = adyen.checkout.payments_api.payment_methods(request_body, headers: { 'Idempotency-Key' => 'UUID' })
// Adyen Node API Library v30.0.0
import { Client, CheckoutAPI, Types } from "@adyen/api-library";
// For the LIVE environment, also include your liveEndpointUrlPrefix.
const config = new Config({
apiKey: "ADYEN_API_KEY",
environment: EnvironmentEnum.TEST
});
const client = new Client(config);
// Create the request object(s)
const amount: Types.checkout.Amount = {
currency: "BRL",
value: 10000
};
const paymentMethodsRequest: Types.checkout.PaymentMethodsRequest = {
amount: amount,
merchantAccount: "ADYEN_MERCHANT_ACCOUNT",
countryCode: "BR",
shopperLocale: "br-BR"
};
// Send the request
const checkoutAPI = new CheckoutAPI(client);
const response = checkoutAPI.PaymentsApi.paymentMethods(paymentMethodsRequest, { idempotencyKey: "UUID" });
{
"paymentMethods": [
{
"name": "Pix",
"type": "pix"
}
]
}
Add additional parameters to your /payments request
When you make a payment, add the following parameters:| Parameter | Required | Description |
|---|---|---|
| paymentMethod | ![]() | The state.data.paymentMethod from the onSubmit event from your front end. |
| amount | ![]() | The final price of the purchase. |
| shopperName | Shopper’s first name and last name. | |
| socialSecurityNumber | The shopper’s CPF or CNPJ number. This will be shown to the shopper on the Pix payment form. | |
| shopperStatement | Free-text field that will be shown to the shopper. By default this contains the message: merchantName−EstepagamentoPIXparamerchantName é processado por Adyen. If you provide any value, keep the length under 60 characters. | |
| sessionValidity | The expiration date of the Pix payment. Default: 1 hour (Checkout API v71 or earlier) or 24 hours (Checkout API v72 or later). | |
| lineItems.id | The name of the purchased item. Maximum 50 characters. | |
| lineItems.amountIncludingTax | The price of the purchased item including tax. Maximum 200 characters. |
shopperName and socialSecurityNumber, because this information will be shown to the shopper to help identify the payment.
Example payment request for Pix
curl https://checkout-test.adyen.com/v72/payments \
-H 'x-API-key: ADYEN_API_KEY' \
-H 'idempotency-key: YOUR_IDEMPOTENCY_KEY' \
-H 'content-type: application/json' \
-X POST \
-d '{
"amount": {
"currency": "BRL",
"value": 10000
},
"countryCode": "BR",
"returnUrl": "adyencheckout://your.package.name",
"merchantAccount": "YOUR_MERCHANT_ACCOUNT",
"reference": "YOUR_PAYMENT_REFERENCE",
"paymentMethod": {
"type": "pix"
},
"shopperName": {
"firstName": "Jose",
"lastName": "Silva"
},
"socialSecurityNumber": "01234567890",
"shopperStatement": "Your message to the shopper",
"sessionValidity": "2025-10-01T10:00:00+02:00",
"lineItems": [
{
"id": "item1",
"amountIncludingTax": 5000
},
{
"id": "item2",
"amountIncludingTax": 5000
}
]
}'
// Adyen Java API Library v40.0.0
import com.adyen.Client;
import com.adyen.enums.Environment;
import com.adyen.model.checkout.*;
import java.time.OffsetDateTime;
import java.util.*;
import com.adyen.model.RequestOptions;
import com.adyen.service.checkout.*;
// For the LIVE environment, also include your liveEndpointUrlPrefix.
Client client = new Client("ADYEN_API_KEY", Environment.TEST);
// Create the request object(s)
LineItem lineItem1 = new LineItem()
.id("item1")
.amountIncludingTax(5000L);
LineItem lineItem2 = new LineItem()
.id("item2")
.amountIncludingTax(5000L);
Amount amount = new Amount()
.currency("BRL")
.value(10000L);
ShopperName shopperName = new ShopperName()
.firstName("Jose")
.lastName("Silva");
PixDetails pixDetails = new PixDetails()
.type(PixDetails.TypeEnum.PIX);
PaymentRequest paymentRequest = new PaymentRequest()
.reference("YOUR_PAYMENT_REFERENCE")
.lineItems(Arrays.asList(lineItem1, lineItem2))
.amount(amount)
.shopperName(shopperName)
.sessionValidity("2025-10-01T10:00:00+02:00")
.merchantAccount("YOUR_MERCHANT_ACCOUNT")
.countryCode("BR")
.socialSecurityNumber("01234567890")
.paymentMethod(new CheckoutPaymentMethod(pixDetails))
.returnUrl("adyencheckout://your.package.name")
.shopperStatement("Your message to the shopper");
// Send the request
PaymentsApi service = new PaymentsApi(client);
PaymentResponse response = service.payments(paymentRequest, new RequestOptions().idempotencyKey("UUID"));
<?php
// Adyen PHP API Library v28.3.0
use Adyen\Client;
use Adyen\Environment;
use Adyen\Model\Checkout\LineItem;
use Adyen\Model\Checkout\Amount;
use Adyen\Model\Checkout\ShopperName;
use Adyen\Model\Checkout\CheckoutPaymentMethod;
use Adyen\Model\Checkout\PaymentRequest;
use Adyen\Service\Checkout\PaymentsApi;
$client = new Client();
$client->setXApiKey("ADYEN_API_KEY");
// For the LIVE environment, also include your liveEndpointUrlPrefix.
$client->setEnvironment(Environment::TEST);
// Create the request object(s)
$lineItem1 = new LineItem();
$lineItem1
->setId("item1")
->setAmountIncludingTax(5000);
$lineItem2 = new LineItem();
$lineItem2
->setId("item2")
->setAmountIncludingTax(5000);
$amount = new Amount();
$amount
->setCurrency("BRL")
->setValue(10000);
$shopperName = new ShopperName();
$shopperName
->setFirstName("Jose")
->setLastName("Silva");
$checkoutPaymentMethod = new CheckoutPaymentMethod();
$checkoutPaymentMethod
->setType("pix");
$paymentRequest = new PaymentRequest();
$paymentRequest
->setReference("YOUR_PAYMENT_REFERENCE")
->setLineItems(array($lineItem1, $lineItem2))
->setAmount($amount)
->setShopperName($shopperName)
->setSessionValidity("2025-10-01T10:00:00+02:00")
->setMerchantAccount("YOUR_MERCHANT_ACCOUNT")
->setCountryCode("BR")
->setSocialSecurityNumber("01234567890")
->setPaymentMethod($checkoutPaymentMethod)
->setReturnUrl("adyencheckout://your.package.name")
->setShopperStatement("Your message to the shopper");
$requestOptions['idempotencyKey'] = 'UUID';
// Send the request
$service = new PaymentsApi($client);
$response = $service->payments($paymentRequest, $requestOptions);
// Adyen .NET API Library v32.2.1
using Adyen;
using Environment = Adyen.Model.Environment;
using Adyen.Model;
using Adyen.Model.Checkout;
using Adyen.Service.Checkout;
// For the LIVE environment, also include your liveEndpointUrlPrefix.
var config = new Config()
{
XApiKey = "ADYEN_API_KEY",
Environment = Environment.Test
};
var client = new Client(config);
// Create the request object(s)
LineItem lineItem1 = new LineItem
{
Id = "item1",
AmountIncludingTax = 5000
};
LineItem lineItem2 = new LineItem
{
Id = "item2",
AmountIncludingTax = 5000
};
Amount amount = new Amount
{
Currency = "BRL",
Value = 10000
};
ShopperName shopperName = new ShopperName
{
FirstName = "Jose",
LastName = "Silva"
};
PixDetails pixDetails = new PixDetails
{
Type = PixDetails.TypeEnum.Pix
};
PaymentRequest paymentRequest = new PaymentRequest
{
Reference = "YOUR_PAYMENT_REFERENCE",
LineItems = new List<LineItem>{ lineItem1, lineItem2 },
Amount = amount,
ShopperName = shopperName,
SessionValidity = "2025-10-01T10:00:00+02:00",
MerchantAccount = "YOUR_MERCHANT_ACCOUNT",
CountryCode = "BR",
SocialSecurityNumber = "01234567890",
PaymentMethod = new CheckoutPaymentMethod(pixDetails),
ReturnUrl = "adyencheckout://your.package.name",
ShopperStatement = "Your message to the shopper"
};
// Send the request
var service = new PaymentsService(client);
var response = service.Payments(paymentRequest, requestOptions: new RequestOptions { IdempotencyKey = "UUID"});
// Adyen Node API Library v30.0.0
const { Client, CheckoutAPI } = require('@adyen/api-library');
// For the LIVE environment, also include your liveEndpointUrlPrefix.
const config = new Config({
apiKey: "ADYEN_API_KEY",
environment: EnvironmentEnum.TEST
});
const client = new Client(config);
// Create the request object(s)
const paymentRequest = {
amount: {
currency: "BRL",
value: 10000
},
countryCode: "BR",
returnUrl: "adyencheckout://your.package.name",
merchantAccount: "YOUR_MERCHANT_ACCOUNT",
reference: "YOUR_PAYMENT_REFERENCE",
paymentMethod: {
type: "pix"
},
shopperName: {
firstName: "Jose",
lastName: "Silva"
},
socialSecurityNumber: "01234567890",
shopperStatement: "Your message to the shopper",
sessionValidity: "2025-10-01T10:00:00+02:00",
lineItems: [ {
id: "item1",
amountIncludingTax: 5000
}, {
id: "item2",
amountIncludingTax: 5000
} ]
}
// Send the request
const checkoutAPI = new CheckoutAPI(client);
const response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: "UUID" });
// Adyen Go API Library v21.1.0
import (
"context"
"github.com/adyen/adyen-go-api-library/v21/src/common"
"github.com/adyen/adyen-go-api-library/v21/src/adyen"
"github.com/adyen/adyen-go-api-library/v21/src/checkout"
)
// For the LIVE environment, also include your liveEndpointUrlPrefix.
client := adyen.NewClient(&common.Config{
ApiKey: "ADYEN_API_KEY",
Environment: common.TestEnv,
})
// Create the request object(s)
lineItem1 := checkout.LineItem{
Id: common.PtrString("item1"),
AmountIncludingTax: common.PtrInt64(5000),
}
lineItem2 := checkout.LineItem{
Id: common.PtrString("item2"),
AmountIncludingTax: common.PtrInt64(5000),
}
amount := checkout.Amount{
Currency: "BRL",
Value: 10000,
}
shopperName := checkout.ShopperName{
FirstName: "Jose",
LastName: "Silva",
}
pixDetails := checkout.PixDetails{
Type: common.PtrString("pix"),
}
paymentRequest := checkout.PaymentRequest{
Reference: "YOUR_PAYMENT_REFERENCE",
LineItems: []checkout.LineItem{
lineItem1, lineItem2,
},
Amount: amount,
ShopperName: &shopperName,
SessionValidity: common.PtrString("2025-10-01T10:00:00+02:00"),
MerchantAccount: "YOUR_MERCHANT_ACCOUNT",
CountryCode: common.PtrString("BR"),
SocialSecurityNumber: common.PtrString("01234567890"),
PaymentMethod: checkout.PixDetailsAsCheckoutPaymentMethod(&pixDetails),
ReturnUrl: "adyencheckout://your.package.name",
ShopperStatement: common.PtrString("Your message to the shopper"),
}
// Send the request
service := client.Checkout()
req := service.PaymentsApi.PaymentsInput().IdempotencyKey("UUID").PaymentRequest(paymentRequest)
res, httpRes, err := service.PaymentsApi.Payments(context.Background(), req)
# Adyen Python API Library v13.6.0
import Adyen
adyen = Adyen.Adyen()
adyen.client.xapikey = "ADYEN_API_KEY"
# For the LIVE environment, also include your liveEndpointUrlPrefix.
adyen.client.platform = "test" # The environment to use library in.
# Create the request object(s)
json_request = {
"amount": {
"currency": "BRL",
"value": 10000
},
"countryCode": "BR",
"returnUrl": "adyencheckout://your.package.name",
"merchantAccount": "YOUR_MERCHANT_ACCOUNT",
"reference": "YOUR_PAYMENT_REFERENCE",
"paymentMethod": {
"type": "pix"
},
"shopperName": {
"firstName": "Jose",
"lastName": "Silva"
},
"socialSecurityNumber": "01234567890",
"shopperStatement": "Your message to the shopper",
"sessionValidity": "2025-10-01T10:00:00+02:00",
"lineItems": [ {
"id": "item1",
"amountIncludingTax": 5000
}, {
"id": "item2",
"amountIncludingTax": 5000
} ]
}
# Send the request
result = adyen.checkout.payments_api.payments(request=json_request, idempotency_key="UUID")
# Adyen Ruby API Library v11.0.0
require "adyen-ruby-api-library"
adyen = Adyen::Client.new
adyen.api_key = 'ADYEN_API_KEY'
# For the LIVE environment, also include your liveEndpointUrlPrefix.
adyen.env = :test # Set to "live" for live environment
# Create the request object(s)
request_body = {
:amount => {
:currency => 'BRL',
:value => 10000
},
:countryCode => 'BR',
:returnUrl => 'adyencheckout://your.package.name',
:merchantAccount => 'YOUR_MERCHANT_ACCOUNT',
:reference => 'YOUR_PAYMENT_REFERENCE',
:paymentMethod => {
:type => 'pix'
},
:shopperName => {
:firstName => 'Jose',
:lastName => 'Silva'
},
:socialSecurityNumber => '01234567890',
:shopperStatement => 'Your message to the shopper',
:sessionValidity => '2025-10-01T10:00:00+02:00',
:lineItems => [ {
:id => 'item1',
:amountIncludingTax => 5000
}, {
:id => 'item2',
:amountIncludingTax => 5000
} ]
}
# Send the request
result = adyen.checkout.payments_api.payments(request_body, headers: { 'Idempotency-Key' => 'UUID' })
// Adyen Node API Library v30.0.0
import { Client, CheckoutAPI, Types } from "@adyen/api-library";
// For the LIVE environment, also include your liveEndpointUrlPrefix.
const config = new Config({
apiKey: "ADYEN_API_KEY",
environment: EnvironmentEnum.TEST
});
const client = new Client(config);
// Create the request object(s)
const lineItem1: Types.checkout.LineItem = {
id: "item1",
amountIncludingTax: 5000
};
const lineItem2: Types.checkout.LineItem = {
id: "item2",
amountIncludingTax: 5000
};
const amount: Types.checkout.Amount = {
currency: "BRL",
value: 10000
};
const shopperName: Types.checkout.ShopperName = {
firstName: "Jose",
lastName: "Silva"
};
const pixDetails: Types.checkout.PixDetails = {
type: Types.checkout.PixDetails.TypeEnum.Pix
};
const paymentRequest: Types.checkout.PaymentRequest = {
reference: "YOUR_PAYMENT_REFERENCE",
lineItems: [lineItem1, lineItem2],
amount: amount,
shopperName: shopperName,
sessionValidity: "2025-10-01T10:00:00+02:00",
merchantAccount: "YOUR_MERCHANT_ACCOUNT",
countryCode: "BR",
socialSecurityNumber: "01234567890",
paymentMethod: pixDetails,
returnUrl: "adyencheckout://your.package.name",
shopperStatement: "Your message to the shopper"
};
// Send the request
const checkoutAPI = new CheckoutAPI(client);
const response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: "UUID" });
action.type: qrCode.
Example response with an additional action
{
"additionalData": {
"pix.expirationDate": "2021-12-21T13:00:00-03:00",
"acquirerReference": "00000000008815658961765250",
"acquirerAccountCode": "PixBTGAcquirerAccount"
},
"pspReference": "8815658961765250",
"resultCode": "Pending",
"action": {
"paymentData": "Ab02b4c0!BQABAgA...",
"paymentMethodType": "pix",
"type": "qrCode",
"qrCodeData": "DMhpN90TFR2e7TzwHYRFkhw4brxm2wHBg"
}
}
JSON
{
"live":"false",
"notificationItems": [
{
"NotificationRequestItem": {
"additionalData": {
...
"pix.originalAmountValue":"100000",
"pix.originalAmountCurrency":"BRL"
},
"amount": {
"currency":"BRL",
"value":100000
},
"eventCode":"AUTHORISATION",
"eventDate":"2021-12-21T20:49:23-03:00",
"merchantAccountCode":"ADYEN_MERCHANT_ACCOUNT",
"merchantReference":"YOUR_REFERENCE",
"paymentMethod":"pix",
"pspReference":"991607125682053H",
"success":"true",
...
}
}
]
}
Soap
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<ns1:sendNotification xmlns:ns1="http://notification.services.adyen.com">
<ns1:Notification>
<live xmlns="http://notification.services.adyen.com">false</live>
<notificationItems xmlns="http://notification.services.adyen.com">
<NotificationRequestItem>
<additionalData>
<pix.originalAmountCurrency>BRL</pix.originalAmountCurrency>
<pix.originalAmountValue>100000</pix.originalAmountValue>
</additionalData>
<amount>
<currency xmlns="http://common.services.adyen.com">BRL</currency>
<value xmlns="http://common.services.adyen.com">100000</value>
</amount>
<eventCode>AUTHORISATION</eventCode>
<eventDate>2021-12-21T20:49:23-03:00</eventDate>
<merchantAccountCode>YOUR_MERCHANT_ACCOUNT</merchantAccountCode>
<merchantReference>YOUR_TRANSACTION_REFERENCE</merchantReference>
<paymentMethod>pix</paymentMethod>
<pspReference>991607125682053H</pspReference>
<success>true</success>
</NotificationRequestItem>
</notificationItems>
</ns1:Notification>
</ns1:sendNotification>
</soap:Body>
</soap:Envelope>
pix.payer.bankNamepix.payer.isbppix.payer.namepix.payer.taxId
- Log in to your test Customer Area.
- Select Developers > Webhooks.
- Select the edit icon **next to the name of the webhook.
- Under Additional settings > Payment, select Include Pix Payer info.
Refunds
You can refund a payment within 90 days after the payment in the Customer Area or via the Refund API.Test and go live
Pix is an asynchronous payment method. In the test environment, you can simulate a Pix payment by promoting the pending payment to a sale.- Log in to your test Customer Area.
- Go to Transactions > Offers.
- Select the PSP reference of the pending Pix payment.
- Select the Promote this offer to a sale button.
