MenuClose

Payment Methods - API Reference

Select API:

Payment Methods

The available payment methods at checkout. An order can only have 1 payment method, but the admin can change the payment method, and take part payments.

End Point URL

https://api.cms-tool.net/webapps/api/paymentop

Data Dictionary

Key Definition Type Format
cid
Site ID
Website ID
int
pay_api_type_id
Accounting API GUID
Peculiar to some accounting systems, will use this to sync the payment record to an order after payment received.
text
paymentop_config
Additional Config
Additional Config in JSON format.
text
payopaccount
API Credential Key
Primary credtential user ID or key for connecting to a payment gateway
text
payop_allow_cancellations
Allow cancellations
Allow users to cancel their order within this period of time. Otherwise, only a merchant can cancel
interval
payop_api_gl_account
GL Account
When syncing payment to a third party accounting system, use this GL code for payments
text
payop_auto_cancellations
Auto Cancellation Timeout
Auto cancel after this period of time if the user has not paid in order to release stock
interval
payop_auto_paid_status
Auto Paid Status
Automatically mark order as paid if paying by this method, eg for customers who have trade accounts.
bool
true/false
payopbatched
Batching
If daily transactions are batched
bool
true/false
payopcurrency
Currency
Currency if limited to a specific currency
char
payopdepositpercent
Deposit Percentage
If using this payment method, the customer only needs to pay a deposit of this amount.
text
Precision: 5.1
payopdetailafter
payopdetailafter
Additional detail to provide to customer after they have chosen the method, eg bank address.
text
payopdetailbefore
Description For User
A description of this payment method presented to the user when considering which payment option to choose
text
payop_extra1
API Additional Field 1
Credtential or setup field - depends on payment method
text
payop_extra2
API Additional Field 2
Credtential or setup field - depends on payment method
text
payophashcode
API Credential Secret
Secret credential for accessing a payment gateway
text
payop_icon_personalised
Icon Personalised
ICON Image for use on template footer payment methods accepted gallery
text
payopid
ID
Primary ID of the payment method.
Integer (Unique ID)
payop_ifall_categoryid
Category Filter If All
If all products are in this category, then the option is available
int
payop_if_map_filter
Country Filter
Only supported in a specific country related to the delivery country.
int
payopinstallmentinterval
Installmen Interval
Installmen Interval when deposits and post payments required
interval
payopinstallmentpercent
Installment percent
Installment percent when using deposits and post payments required
text
Precision: 5.1
payoplogo
Logo Image
Alternative logo to use for this payment methods
text
payopmaxvalue
Maximum Spend Requirement
Maximum value of transaction for which this payment method is valid
text
Precision: 12.2
payopmbrgroupid
Customer Group Filter
Limit use to customers from member group ID
int
payopmbrlevel
Customer Security Level
Customer Security Level
int
payopmbrlevelmax
Customer Security Level Maximum
Use this to hide a retail payment offer from your trade customers
int
payopminvalue
Minimum Spend Requirement
Minimum spend before this method is available to use
text
Precision: 10.2
payopnosendorder
No Send Order Email
If true, do not send the order email to the customer, rather wait for the order to be paid
char
payopnosendordermerchant
No Send Merchant Order Email
If true, do not send a order copy to the merchant to avoid noise
char
payopnosendreceipt
No Send Receipt
If true, do not send a receipt, why i do not know
char
payopnosendreceiptmerchant
No Send Merchant Receipt
If true, do not send a receipt copy to the merchant to avoid noise
char
payop_notifany_categoryid
Category Filter Not If Any
This payment method is not available if any product is in this category ID
int
payop_notif_map_filter
Country Filter Not If
Not supported in this country or region ID
int
payoppage
Filter Page ID
If limited to a specific shopping page, then this is the page ID of that page, otherwise 0 for all pages
int
payoppriority
List Order
A sorting number from 1 upwards, as to which order to display payment options to user
int
payop_rounding
Rounding amount
Rounding would equal 0.10 if rounding to 10 cents
text
Precision: 10.2
payopshowmbrid
payopshowmbrid
If T, then show the customer ID on the final screen
char
payopsubacc
API Sub Account
Additional account reference to be used along side API credentials when the API offers multiple sub accounts
text
payopsubscriptionenabled
Save Card Enabled
True if offering to save card details or for subscriptions where payment repeats without card present.
bool
true/false
payoptestcode
Payment Test Mode
Typically single char = T if operating in test mode against a test server with test credentials
text
payoptitlebefore
Title For Customer
A user friendly title for this payment option
text
payoptransfee
Transaction Fee Fixed
A fixed transaction fee for using this payment option, eg 50c
text
Precision: 10.2
payoptransfeepc
Transaction Fee Percent
A percentage transaction fee for using this payment option, eg 2% = 0.02
text
Precision: 10.2
payoptype
Payment Type
The type of payment option, foreign key to the list of available payment options.
text

API End Points

Content

Blog pages are usually presented as a list udner a primary page. Individual blog pages do not appear on the menu, only in lists. The blog engine also powers FAQ and gallery type pages
A website is made up of the primary navigational pages that create the primary menu, as well as hidden pages and member only pages. Pages can contain pages in a treelike structure, however, this excludes sub pages which are defined as blogs or products

Ecommerce

Categories are used to group products. Products can belong in up to 8 categories. Categories can also form a tree, with Category parent ID = 0 being the parent level category. The term group is synomous with category, so many elements are prefixed with the word group.
Each product line of an order can be discounted, so an order can have multiple discounts, but only one per product.
The available payment methods at checkout. An order can only have 1 payment method, but the admin can change the payment method, and take part payments.
A saleable item, or variant of a parent product.
Invoices, orders, baskets and quotes are all represented by this object, and differentiated by status.
The courier or freight fee rules available for checkout. Each order can only have rule applied

Members

Bulk emails represent a newsletter that will be sent to a bulk audience via a mailing list. Alternatively, a bulk email is a sequence within a campaign.
A message is created for every contact us, enquiry form, or custom form.
Group members/customers, each member can belong to unlimited groups. Groups can contain groups
System security levels. Default level is 100 for general users.
Members or customers or users are the same thing. These are anyone who has purchased, enquired, or who has permission to login, or receive newsletters. This excludes administrative users.
A blog comment or product review uses the same engine. Each record may have a rating, as well as an optional comment, and is linked to an object and the person who posted it

Other

Bookings are for appointments, seats, hire items, etc. Not for events.
Use the Event Attendee endpoint to get your event attendee information on your site.
Events have a start/end date and additional information, they might be bookable, or just for informational purposes

Reference

A list of countries, and some meta data
Generic categories are those that relate to open source categorisations of products for SEO purposes