Create recurring payment

Authorize a recurring payment with a credit card

EnvironmentMethodEndpoint
Sandboxhttps://apisandbox.braspag.com.br/v2/sales/
Productionhttps://api.braspag.com.br/v2/sales/

Add the RecurrentPayment node to the Payment node to schedule future recurrences when authorizing a transaction for the first time in the series of recurrences.

Recurring payment transaction response

The following table presents the main parameters that can be returned by the API when creating a recurring payment.

PropertyDescriptionTypeSize
RecurrentPaymentIdID that represents the recurrence, used for future queries and changes.string36
NextRecurrencyDate when the next recurrence will occur.string10
EndDateDate when the recurrence ends.string10
IntervalInterval between recurrences.string10
AuthorizeNowDefines whether the first recurrence will be authorized immediately or not.boolean***
CardBrandStatusMastercard account status feedback


- VALID: Valid card or no updates on base
- UNKNOWN: Card not available at ABU
- NON_PARTICIPATING: Card not available at ABU
- ACCOUNT_CLOSED: Card is closed
- UPDATE: vUpdate plastic or expiration
- EXPIRY: Validity update
- ERROR: There was an error in the update (Timeout for example)
string-

Fields returned by Renova Fácil

PropriedadeDescriçãoTipoTamanho
NewCard.CardNumberShopper's new card number.string16
NewCard.ExpirationDateNew expiry date of the card.string7
NewCard.BrandCard brand.string10
NewCard.SaveCardIdentifies whether the card generated Cardtoken during the transaction. Find out more about Tokenization of Cardsbooleano***

⚠️

Acquirer Rede

  • For the Rede2 provider, the response will return the BrandTransactionId, which is the identifier of recurring transactions with the flags at the Rede acquirer.
  • For each new transaction in the sequence of recurrences, the BrandTransactionId must be entered.
  • For Visa or Elo brands, enter the BrandTransactionId received in the first transaction.
  • For Mastercard, enter the BrandTransactionId received on the first or previous transaction.
  • The value of the BrandTransactionId will be new with each recurring transaction response.
Language