Cycle Logo

API Reference

This reference maps internal Cycle platform values to human-readable types used in API payloads, enums, tax settings and internal routing.

Input Types

TypeDescription
Unknown0
Manual entry1
Magnetic stripe2
Chip3
Non-contact4
Linked card5
External terminal7
Prepayment8
Postpaid9
Cash10
Recurring100

PayType

TypeDescription
Non-cash0
Prepayment1
Cash2
Postpaid3

CardInputMode

TypeDescription
Card1
Linked card2

AcquirerCodes

TypeDescription
CashCASH
PrepaymentPREPAID
PostpaidCREDIT
External terminalOUTERCARD
Manual inputMANUAL

User States

TypeDescription
Active1
Blocked0

Client Product Codes

TypeDescription
Cycle Pay AndroidCYCLE_PAY
Cycle Pay iOSCYCLEPAY_IOS
Cycle POSCYCLE_POS

ReaderTypes

TypeDescription
Cycle OneDSPREAD_D60
SoftPOS *soonTAP2GO

ReverseModes (Strings)

TypeDescription
CancelCancel
Cancel without cardCancelCNP
ReturnReturn
Return without cardReturnCNP

ReverseModes (Integers)

TypeDescription
Cancel1
Return2
CancelCNP3
Auto cancel4
ReturnCNP5
Credit Voucher500

TaxCode

TaxCode values are arrays.

TypeDescription
VAT 15%["VAT1500"]
VAT 15/115["VAT1500_11500"]
VAT 10%["VAT1000"]
VAT 10/110["VAT1000_11000"]
VAT 0%["VAT0000"]
Excluding VAT["VATNA"]
Without VAT[]

AccountTypeID

TypeDescription
User11
Agent20

User Rights (Actions)

TypeDescription
SalesManager191
Unit Administrator200
View divisions201
Assign terminal210
Admin client220
Reverse other payments301
View recurrent700
Product Management900

AppFramework

TypeDescription
csharp1
swift2
objc2
java3
javascript4
qt5

Transaction Statuses and Substatuses

Status NameCode / SubstatusComment
Created100 / 101Creating an "empty" transaction
Check200
Checked_Ok/ 201Payment verification successful
Checked_Failed/ 202Payment verification failed
Pay400
Pay_AcquiredOk/ 401Acquiring successful (temporary state)
Pay_AcquiredFailure/ 402Acquiring failed
Pay_AcquireReverseNeeded/ 403Reverse is required – waiting for auto-cancel
Pay_AcquireReversedOk/ 404Cancellation successful
Pay_AcquireNotConfirmedByEMVKernel/ 406Not confirmed by EMV core. Auto-cancel required
Pay_AcquireNoResponseFromAcquiringHost/ 407No response from bank/acquirer. Auto reverse will be carried out
Pay_PaidOk/ 411Success. Final state
Pay_PaidFailure/ 412Error after successful acquiring
Reverse500Take into account ReverseMode (1–5 or 500)
Reverse_CanceledOk/ 502Successful cancellation. Final state
Reverse_CancelNeeded/ 503Cancellation attempt in progress
Reverse_CancelFailed/ 506Cancellation failed
Reverse_ReturnedOk/ 504Successful return. Final state
Reverse_ReturnNeeded/ 505Return attempt in progress
Reverse_ReturnFailed/ 507Refund failed

Success for payment: Substate 411

Success for cancellation/refund: Substates 502, 504

Failure: Determined by the absence of success codes plus checking the ErrorCode and ErrorMessage fields.

⚠️ Other substatuses do not unambiguously indicate success or failure.

Required Additional Fields for Transmission

The following fields must be included with every API call, regardless of whether the request originates from the server or a client device.

FieldSubfieldDescriptionServer ExampleDevice Example
Location-Object indicating the location of the current request. OfflineLocation is used for offline transactions, while Location is used in real-time requests.Server’s static locationDevice’s extracted GPS location
LatitudeLatitude (Width)-33.9249-33.9249
LongitudeLongitude (Length)18.424118.4241
CountryCountry where the request originatedSouth AfricaSouth Africa
CountryCodeISO 2-letter country codeZAZA
GMTTime zone offset from GMT22
AppFramework-Framework in use by the app.JavaJava
IP-External IP address of the requesting entity105.186.112.50105.186.112.50
Language-Language code (use EN for English)ENEN
DeviceInfoPhoneManufacturerManufacturer of the requesting deviceCompany nameHUAWEI
PhoneModelModel of the deviceApp_Windows_RestAPISM-A515F
DeviceIDUnique device identifiernone94C24A0BC4FB8D3
DeviceTypeDevice type ID11
AppFrameworkFramework used on devicejavajava
OSOperating system nameWindowsAndroid
OSVersionVersion of the operating system1010
AppIDApplication typeRestAPIRestAPI
BuildNumberApp build version1.6.421.6.42