Change the recurrence end date

EnvironmentMethodEndpoint
Sandboxhttps://apisandbox.braspag.com.br/v2/RecurrentPayment/{RecurrentPaymentId}/EndDate
Produçãohttps://api.braspag.com.br/v2/RecurrentPayment/{RecurrentPaymentId}/EndDate

Request

--request PUT "https://apisandbox.braspag.com.br/v2/RecurrentPayment/{RecurrentPaymentId}/EndDate"
--header "Content-Type: application/json"
--header "MerchantId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
--header "MerchantKey: 0123456789012345678901234567890123456789"
--header "RequestId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
--data-binary
"2035-01-09"
--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)
EndDateDate to end the recurrence.Text10Yes

Response

HTTP Status 200

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