Create a credit card recurrent split payment

ℹ️

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

Parameters Payment.RecurrentPayment.Interval and Payment.RecurrentPayment.DailyInterval, marked with an “*” in the “REQUIRED” column, should not be used together.

Request

{
  "MerchantOrderId": "2014113245231706",
  "Customer": {
    "Name": "Comprador rec programada"
  },
  "Payment": {
    "Type": "SplittedCreditCard",
    "Amount": 1500,
    "Installments": 1,
    "SoftDescriptor": "123456789ABCD",
    "RecurrentPayment": {
      "AuthorizeNow": "false",
      "EndDate": "2019-12-01",
      "Interval": "SemiAnnual",
      "StartDate": "2015-06-01"
    },
    "CreditCard": {
      "CardNumber": "1234123412341231",
      "Holder": "Teste Holder",
      "ExpirationDate": "12/2030",
      "SecurityCode": "262",
      "SaveCard": "false",
      "Brand": "Visa"
    }
  },
      "splitpayments":[  
         {  
            "SubordinateMerchantId":"f2d6eb34-2c6b-4948-8fff-51facdd2a28f",
            "Amount":5000,
            "Fares":{  
               "Mdr":5,
               "Fee":30
            }
         },
         {  
            "SubordinateMerchantId":"9140ca78-3955-44a5-bd44-793370afef94",
            "Amount":5000,
            "Fares":{  
               "Mdr":4,
               "Fee":15
            }
         }
      ]
   }
PropertyDescriptionTypeSizeRequired
MerchantIdStore identifier in API E-commerce.Guid36Yes
MerchantKeyPublic Key for Double Authentication in API E-commerce Cielo.Text40Yes
RequestIdRequest identifier, used when the merchant uses different servers for each GET/POST/PUT.Guid36No
RecurrentPaymentIdRecurrence identification number.Text50Yes
Payment.RecurrentPayment.IntervalRecurrence interval.
Monthly (default) / Bimonthly / Quarterly / SemiAnnual / Annual
Text10No*
Payment.RecurrentPayment.DailyIntervalRecurrence pattern in days. Intenger2No*
Payment.RecurrentPayment.AuthorizeNow"true" - authorizes at the time of the request. "false" - for future scheduling.Boolean-Yes
Customer.NameShopper's name.Text255No
Customer.StatusShopper registration status in store (NEW / EXISTING) - Used by fraud analysisText255No
Customer.EmailShopper's e-mail.Text255No
Customer.BirthdateShopper's date of birth (AAAA/MM/DD).Date10No
Customer.IdentityShopper's RG, CPF or CNPJ number.Text14No
Customer.Address.StreetShopper's address.Text255No
Customer.Address.NumberShopper's address number.Text15No
Customer.Address.ComplementShopper's address complement.Text50No
Customer.Address.ZipCodeShopper's address zip code.Text9No
Customer.Address.CityShopper's address city.Text50No
Customer.Address.StateShopper's address state.Text2No
Customer.Address.CountryShopper's address country.Text35No
Customer.Address.DistrictShopper's neighborhood.Text50No
Customer.DeliveryAddress.StreetShopper's address.Text255No
Customer.DeliveryAddress.NumberShopper's address number.Text15No
Customer.DeliveryAddress.ComplementShopper's address complement.Text50No
Customer.DeliveryAddress.ZipCodeShopper's address zip code.Text9No
Customer.DeliveryAddress.CityShopper's address city.Text50No
Customer.DeliveryAddress.StateShopper's address state.Text2No
Customer.DeliveryAddress.CountryShopper's address country.Text35No
Customer.DeliveryAddress.DistrictShopper's neighborhood.Text50No
SplitPayments.SubordinateMerchantIdSubordinate MerchantId (Identifier).Guid36Yes
SplitPayments.AmountSubordinate’s part of transaction, in cents (BRL).Integer-Yes
SplitPayments.Fares.MdrMarketplace MDR(%) to be discounted from Subordinate’s part of transaction.Decimal-No
SplitPayments.Fares.FeeFixed Fee (BRL), in cents, to be discounted from Subordinate’s part of transaction.Integer-No

Response

{
  "MerchantOrderId": "2014113245231706",
  "Customer": {
    "Name": "Comprador rec programada"
  },
  "Payment": {
    "ServiceTaxAmount": 0,
    "Installments": 1,
    "Interest": "ByMerchant",
    "Capture": false,
    "Authenticate": false,
    "Recurrent": false,
    "CreditCard": {
      "CardNumber": "123412******1231",
      "Holder": "Teste Holder",
      "ExpirationDate": "12/2030",
      "SaveCard": false,
      "Brand": "Visa"
    },
    "SoftDescriptor": "123456789ABCD",
    "Type": "SplittedCreditCard",
    "Amount": 1500,
    "Currency": "BRL",
    "Country": "BRA",
    "ExtraDataCollection": [],
    "Status": 20,
    "RecurrentPayment": {
      "RecurrentPaymentId": "0d2ff85e-594c-47b9-ad27-bb645a103db4",
      "NextRecurrency": "2015-06-01",
      "StartDate": "2015-06-01",
      "EndDate": "2019-12-01",
      "Interval": "SemiAnnual",
      "Link": {
        "Method": "GET",
        "Rel": "recurrentPayment",
        "Href": "https://apiquerysandbox.cieloecommerce.cielo.com.br/1/RecurrentPayment/{PaymentId}"
      },
      "AuthorizeNow": false
    }
  },
  "SplitPayments": [
    {
      "SubordinateMerchantId": "f2d6eb34-2c6b-4948-8fff-51facdd2a28f",
      "Amount": 6000,
      "Fares": {
        "Mdr": 5.0,
        "Fee": 30
      },
      "Splits": [
        {
          "MerchantId": "f2d6eb34-2c6b-4948-8fff-51facdd2a28f",
          "Amount": 5670
        },
        {
          "MerchantId": "f43fca07-48ec-46b5-8b93-ce79b75a8f63",
          "Amount": 330
        }
      ]
    },
    {
      "SubordinateMerchantId": "f2d6eb34-2c6b-4948-8fff-51facdd2a28f",
      "Amount": 4000,
      "Fares": {
        "Mdr": 4.0,
        "Fee": 15
      },
      "Splits": [
        {
          "MerchantId": "9140ca78-3955-44a5-bd44-793370afef94",
          "Amount": 3825
        },
        {
          "MerchantId": "f43fca07-48ec-46b5-8b93-ce79b75a8f63",
          "Amount": 175
        }
      ]
    }
  ]
}
PropertyDescriptionTypeSizeFormat
RecurrentPaymentIdNext recurrence Identifier field.Guid36xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
NextRecurrencyDate of next recurrence.Text712/2030 (MM/YYYY)
StartDateStart date of recurrence.Text712/2030 (MM/YYYY)
EndDateEnd date of recurrence.Text712/2030 (MM/YYYY)
IntervalInterval between recurrences.Text10
  • Monthly
  • Bimonthly
  • Quarterly
  • SemiAnnual
  • Annual
AuthorizeNowBoolean to know if the first recurrence is about to be Authorized or not.Boolean***true ou false