Cycle Logo

Additional Features

Additional methods for interacting with the Cycle REST API.

Get Account Processing Configuration

Endpoint

GET /api/v1/payment/AuthAccount

Example Request: https://web-api-pro-demo.cardport.net/api/v1/payment/AuthAccount

Request Body

Field NameTypeDescription
CurrentAccountIDIntegerUser ID
LangStringLanguage
IPStringIP address (external IP of the device from which the request is made)

Response Body

Field NameTypeDescription
SessionIDIntegerSession ID
LanguageIDStringLanguage
IDIntegerUser ID
ClientIDIntegerCustomer ID
CurrencyIDStringCurrency ID
CountryIDStringCountry ID
CountryNameStringCountry Name
IsSystemUserBooleanIs a system user
PaymentOptionsJSON objectAvailable payment methods
IdIntegerPayment Method ID
AcquirerCodeStringPayment method name
RequiresEmailOrPhoneInteger
RequiresEmailOrPhoneForOwnFiscalizationInteger
AcquirerNameStringAcquirer name
ImgUrlStringPayment Method Icon Link
ProductDescCodesREIntegerCustom Products
ProductDescCodesObjectCustom Products
ProductDescListPhoneArrayList of custom products for phone

Example Response

{
    "SessionID": null,
    "LanguageID": "en",
    "ID": 19083,
    "ClientID": 18349,
    "CurrencyID": "ZAR",
    "CountryID": "ZA",
    "CountryName": "South Africa",
    "IsSystemUser": false,
    "PaymentOptions": [
      {
        "Id": 10,
        "AcquirerCode": "CASH",
        "RequiresEmailOrPhone": 0,
        "RequiresEmailOrPhoneForOwnFiscalization": 0,
        "AcquirerName": "Cash",
        "ImgUrl": "https://static-demo.cardport.net/item.aspx?stock=creditcard&stockname=po_cash",
        "ProductDescCodesRE": null,
        "ProductDescCodes": null
      }
    ],
    "ProductDescListPhone": []
}