Change shopper data

EnvironmentMethodEndpoint
Sandboxhttps://apisandbox.braspag.com.br/v2/RecurrentPayment/{RecurrentPaymentId}/Customer
Productionhttps://api.braspag.com.br/v2/RecurrentPayment/{RecurrentPaymentId}/Customer

To change the shopper data of an existing recurrence, simply make a PUT call to the specified endpoint. In the response, the API will return the HTTP Status code, indicating whether the operation was successful or not.

ℹ️

Alphanumeric CNPJs will be implemented by the Brazilian Federal Revenue Service in July 2026

This change applies only to new registrations. There will be no changes to existing CNPJs.

The alphanumeric CNPJ is already supported by Cielo, with no changes required to your integration.

We recommend checking whether adjustments are needed in your merchant’s own checkout systems.



Request

{  
   "Name":"Outro nome do Comprador",
   "Email":"[email protected]",
   "Birthdate":"1999-12-12",
   "Identity":"0987654321",
   "IdentityType":"CPF",
   "Address":{
      "Street":"Avenida Brigadeiro Faria Lima",
      "Number":"1500",
      "Complement":"AP 201",
      "ZipCode":"05426200",
      "City":"São Paulo",
      "State":"SP",
      "Country":"BRA",
      "District":"Alphaville"
      },
   "DeliveryAddress":{  
      "Street":"Avenida Brigadeiro Faria Lima",
      "Number":"1500",
      "Complement":"AP 201",
      "ZipCode":"05426200",
      "City":"São Paulo",
      "State":"SP",
      "Country":"BRA",
      "District":"Alphaville"
      }
   }
}
--request PUT "https://apisandbox.braspag.com.br/v2/RecurrentPayment/{RecurrentPaymentId}/Customer"
--header "Content-Type: application/json"
--header "MerchantId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
--header "MerchantKey: 0123456789012345678901234567890123456789"
--header "RequestId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
--data-binary
{   
   "Name":"Outro nome do Comprador",
   "Email":"[email protected]",
   "Birthdate":"1999-12-12",
   "Identity":"0987654321",
   "IdentityType":"CPF",
   "Address":{  
   "Street":"Avenida Brigadeiro Faria Lima",
      "Number":"1500",
      "Complement":"AP 201",
      "ZipCode":"05426200",
      "City":"São Paulo",
      "State":"SP",
      "Country":"BRA",
      "District":"Alphaville"
   },
   "DeliveryAddress":{  
      "Street":"Avenida Brigadeiro Faria Lima",
      "Number":"1500",
      "Complement":"AP 201",
      "ZipCode":"05426200",
      "City":"São Paulo",
      "State":"SP",
      "Country":"BRA",
      "District":"Alphaville"
   }
}
--verbose

Below are the field properties in this request:

Property (header)TypeSizeRequiredDescription
MerchantIdGuid36YesMerchant identifier in Split de Pagamento
MerchantKeyText40YesPublic key for dual authentication in Split de Pagamento
Content-TypeHeader40YesApplication/json
RequestIdGuid36NoRequest identifier defined by the merchant, used when the merchant uses different servers for each GET/POST/PUT
Property (body)DescriptionTypeSizeRequired?
RecurrentPaymentIdRecurrence identification number.Text50Yes (send in the endpoint)
NameShopper's name.Text255Yes
EmailShopper's email.Text255No
BirthdateShopper's birth date.Date10No
IdentityShopper's CPF or CNPJ number.
Allows submission of alphanumeric CNPJs.
Text14No
IdentityTypeShopper's identification document type (CPF/CNPJ).Text255No
Address.StreetShopper's address.Text255No
Address.NumberShopper's address number.Text15No
Address.ComplementShopper's address complement.Text50No
Address.ZipCodeShopper's address ZIP code.Text9No
Address.CityShopper's address city.Text50No
Address.StateShopper's address state.Text2No
Address.CountryShopper's address country.Text35No
Address.DistrictShopper's address neighborhood.Text50No
DeliveryAddress.StreetShopper's delivery address.Text255No
DeliveryAddress.NumberShopper's delivery address number.Text15No
DeliveryAddress.ComplementShopper's delivery address complement.Text50No
DeliveryAddress.ZipCodeShopper's delivery address ZIP code.Text9No
DeliveryAddress.CityShopper's delivery address city.Text50No
DeliveryAddress.StateShopper's delivery address state.Text2No
DeliveryAddress.CountryShopper's delivery address country.Text35No
DeliveryAddress.DistrictShopper's delivery address district.Text50No

Response

HTTP Status 200

Refer to the HTTP status codes list to see all status codes that may be returned by the API.