Path
GET /contracts Request Parameters
orderId
required
string
External order number to retrieve the return contract.
X-Request-ID
string
The unique ID of this particular request/transaction. Subsequent requests with the same request ID might get ignored.
Responses
-
businessCodenumberBusiness Code.objectaccountIdstringMax length: 100Specific reference for account related to customerarrayAccount on which the Contract belongs.objectobjectcareOfstringMax length: 40Name of the intermediary responsible for transferring a mail item between the postal system and the final recipient, e.g. 'Jane c/o John'. This field is also to be used for company, authority and organisation names, e.g. 'Sportverein Blau-Weiss e.V.'companyNamestringMax length: 80Company Name to which invoice has to be billed.countryCodestringCountry code (encoded as 2-letter code according to ISO 3166-1 alpha-2)phonestringMax length: 20Phone number of the account to which invoice has to be billed.postalCodestringMax length: 10Postal codepostalPlacestringMax length: 40Postal place, e.g. citystreetstringMax length: 60Name of street or packstationstreetNumberstringMax length: 10Street or packstation numberaddressDataFromDefaultbooleanFlag to be set false only when address data needs to be explicitly updated. When it is set to true, address will be inherited from default account of the customer.streetNumberAdditionalstringMax length: 10Additional street numberaccountCategorystringEnum:
- Standard
- Reseller
Account Category. Possible values are Standard, Reseller. Default value is Standard.currencystringCurrency in which account is billed.dataFromDefaultbooleanFlag to be set false only when basic account data needs to be explicitly updated. When it is set to true, basic data of account will be inherited from default account of the customer.emailstringMax length: 241Email address of the account to which invoice has to be billed.emailFromDefaultbooleanFlag to be set false only when email needs to be explicitly updated. When it is set to true,email will be inherited from default account of the customer.firstNamestringMax length: 40First name to which invoice has to be billed.identificationNumberstringMax length: 20Identification nummber to which invoice has to be billed.lastNamestringMax length: 40Last name to which invoice has to be billed.ownerConsumptionbooleanIf the account has the owner consumption status.objectContains information about a registered paymentobjectBank Account info is needed only in case of SEPA payment. EITHER PSP details OR bank account should be provided BUT NOT both.accountHolderNamestringAccount Holder full name.ibanstringIBAN of the customer.isMandatedbooleanCustomer's consent to perform SEPA.sepaMandateRefstringSEPA Mandate Reference generated by Riverty's Subscription Management system.signatureDatestringyyyy-MM-ddDate of the Signature when mandate was signed by the customer.idstringPayment identificationpaymentDataFromDefaultbooleanFlag to be set false only when paymentRegistration data needs to be explicitly updated. When it is set to true,payment Resgistration will be inherited from default account of the customer.paymentMethodNamestringEnum:- AfterPayDirectDebit
- AfterPayInstallmentsDirectDebit
- AfterPayInstallmentsOpenInvoice
- AfterPayOpenInvoice
- AmazonPay
- AmericanExpress
- ApplePayExpressCheckout
- ArvatoDirectDebitSepa
- Bancontact
- Blik
- BlikCodeOnly
- CashOnDelivery
- DinersClub
- Discover
- Eps
- Giftcard
- Giropay
- GooglePay
- Ideal
- InAppAmazon
- InAppApple
- InAppGoogle
- InStoreOpenInvoice
- InStorePickup
- InStorePrepayment
- Klarna
- KlarnaDirectDebit
- KlarnaInstallments
- KlarnaOpenInvoice
- KlarnaPayLater
- KlarnaPayOverTime
- LoyaltyCard
- MasterCard
- Multibanco
- OpenInvoice
- PayPal
- PayPalExpressCheckout
- PayU
- PrePayment
- Przelewy24
- Sofort
- Trustly
- Visa
- POSPayment
Name of the payment method being used: * AfterPayDirectDebit * AfterPayInstallmentsDirectDebit * AfterPayInstallmentsOpenInvoice * AfterPayOpenInvoice * AmazonPay * AmericanExpress * ApplePayExpressCheckout * ArvatoDirectDebitSepa * Bancontact * Blik * BlikCodeOnly * CashOnDelivery * DinersClub * Discover * Eps * Giftcard * Giropay * GooglePay * Ideal * InAppAmazon * InAppApple * InAppGoogle * InStoreOpenInvoice * InStorePickup * InStorePrepayment * Klarna * KlarnaDirectDebit * KlarnaInstallments * KlarnaOpenInvoice * KlarnaPayLater * KlarnaPayOverTime * LoyaltyCard * MasterCard * Multibanco * OpenInvoice * PayPal * PayPalExpressCheckout * PayU * PrePayment * Przelewy24 * Sofort * Trustly * Visa * POSPaymentpspCustomerIdstringPSP Customer identificationpspPaymentMethodIdstringPSP Payment method IdsalutationstringEnum:- MR
- MRS
Salutation of the natural person: * MR = Mr * MRS = MrstaxExemptionstringEnum:- Disabled
- Enabled
If there is any taxExemption for the account. Possible values are Disabled, Enabled. Default value is Disabled.taxIdentificationNumberstringTAX Identification nummber of the country to which invoice has to be billed.accountIdrequiredstringIdentificationnumber of that accountaccountNamestringName of that accountbillCyclestringA billing cycle is the schedule/frequency that determines when we generate bills/invoices for an account.Each contract is linked to an account, thus, each contract is billed per the corresponding billing cycle.defaultAccountbooleanThis is a flag internal to our Subscription management System.There is just one default account internally created by the system and any further accounts created by merchants could never be default account. Setting this value to true is not possible.businessCodenumberBusiness CodearrayamountGrossDiscountsnumberGross amount of discounts in EuroamountNetDiscountsnumberNet amount of discounts in EurochargeModenumberCharge Mode. Possible values : one-time, monthly, Usage-based, Per invoice if active, Per active license, Billing periods monthlycurrencystringCurrency.grossAmountnumberGross amount of charge in EurolocalisedDisplayValuestringLocalised display value of the charge.netAmountnumberNet amount of charge in EuropricedEventbooleanClient sends in the charge with the order as it is dependent on situation, e.g. speeding ticket.salesOrganisationstringMarket or country.taxRateTypestringEnum:- TAXLESS
- NORMAL
- REDUCED
Tax rate type: Possible values: NORMAL, TAXLESS, REDUCEDvalidFromDatestringValid From Date of the Charge.validToDatestringValid to Date of the Charge.vatAmountnumberAmount of taxes in EurovatPercentnumberTax rate applied in %contractIdrequiredstringMax length: 18Specific reference for contractcontractNamestringMax length: 100Description of contractarraycustomDataTyperequiredstringMax length: 20Enum:- Accounting
- Car
- Charging
- Tariff
- UsedCarSales
- CorrectingInvoice
- Generic
Type of the event: Possible Values 'Accounting' = Cost center, 'Car' = Vehicle Identification number, 'Tariff' = Tariff detailsobjectcustomerNumberstringMax length: 100External customer referencearrayamountnumberAmount applicable for the discount .amountNeTnumberNet Amount applicable for the discount .campaignIdstringCampaign Id applicable on the product .discountNamestringBusiness name of the discount .discountTypeobjectidnumberUnique Identifier of the discount .percentagenumberPercentage discount applicable on the product .taxRatenumberTax rate applicabe on the discount.voucherCodestringDiscount voucher code.externalAccountIdstringExternal AccountId.externalContractIdstringMax length: 40External Contract IDexternalContractReferencestringExternal Contract ReferencearrayinvoiceReferences associated with the contractnextBillrunStartDatestringRequested next bill run start date for contract. Format is 'YYYY-MM-DD'.arrayexternalContractIds of optionsorderDatestringOrder date of contract. Format is 'YYYY-MM-DD'.orderReferencestringorderReference of the contract while creating the initial orderproductDescriptionstringMax length: 100product descriptionquantityintegerQuantity of product as part of contractstartDateBillingstringStart date for billing of contract. Format is 'YYYY-MM-DD'.startDateRequestedstringRequested start date for contract. Format is 'YYYY-MM-DD'.statusstringStatus of contractsubcontractOfstringexternalContractId of the main contract -
objectObject that contains details for an error that was encountered when accessing a third party serviceactionstringExternal action to be triggered based on error code/messagecodestringCodecustomerFacingMessagestringCustomer facing messagedescriptionstringDescriptionfieldReferencestringField referencesourcestringSource of external error code, e.g. Internal ThirdPartyACI Third-PartyPayPaltitlestringTitletypestringType or classcodestringError codedescriptionstringError descriptiontitlestringError titletypestringError type, e.g. InternalServiceError InternalValidationError InternalBusinessError ThirdPartyError Warning
-
objectObject that contains details for an error that was encountered when accessing a third party serviceactionstringExternal action to be triggered based on error code/messagecodestringCodecustomerFacingMessagestringCustomer facing messagedescriptionstringDescriptionfieldReferencestringField referencesourcestringSource of external error code, e.g. Internal ThirdPartyACI Third-PartyPayPaltitlestringTitletypestringType or classcodestringError codedescriptionstringError descriptiontitlestringError titletypestringError type, e.g. InternalServiceError InternalValidationError InternalBusinessError ThirdPartyError Warning
-
objectObject that contains details for an error that was encountered when accessing a third party serviceactionstringExternal action to be triggered based on error code/messagecodestringCodecustomerFacingMessagestringCustomer facing messagedescriptionstringDescriptionfieldReferencestringField referencesourcestringSource of external error code, e.g. Internal ThirdPartyACI Third-PartyPayPaltitlestringTitletypestringType or classcodestringError codedescriptionstringError descriptiontitlestringError titletypestringError type, e.g. InternalServiceError InternalValidationError InternalBusinessError ThirdPartyError Warning
-
objectObject that contains details for an error that was encountered when accessing a third party serviceactionstringExternal action to be triggered based on error code/messagecodestringCodecustomerFacingMessagestringCustomer facing messagedescriptionstringDescriptionfieldReferencestringField referencesourcestringSource of external error code, e.g. Internal ThirdPartyACI Third-PartyPayPaltitlestringTitletypestringType or classcodestringError codedescriptionstringError descriptiontitlestringError titletypestringError type, e.g. InternalServiceError InternalValidationError InternalBusinessError ThirdPartyError Warning