Receive Pay Merchant Services - Datatypes
Documentation
- API Reference
- Getting Started
- Method Reference
- Charges
- Recurring Charges
- ACH Transactions
- Recurring ACH Transactions
- Paper Check Conversion Transactions
- Discounts & Coupons
- Customers
- Recurring Plans
- Emails
- Gateways
- Clients
- General Reference
- Gateway Integrations
- Example Posts
- Data Types
- Glossary
- Troubleshooting
- Error Codes
- FAQ
Datatypes
automatic
Automatic variables are generated by the system. If they are passed during the creation or updating of an object, they will be ignored.
Typically, this is the id associated with an object.
country
Country variables should be passed as the respective ISO 3166-1 alpha-2 code
for the intended country. If a poorly-formatted country code is passed, the system will attempt to generate the ISO2 code. If it fails,
an error will be returned.
date
Dates are returned in ISO8601 format (e.g. "2004-02-12T15:19:21+00:00"). Dates are adjusted to match the time zone of your
client account.
int
A string of numbers (e.g. "1", "123456", "987"). If a non-integer is passed, an error will be returned.
email
Emails should be valid email addresses. An error will be returned in the email is improperly formatted.
money
A string in the format of "dollars.cents" (e.g. 10.04, 99.04, 1093.67). Does not contain commas or a currency symbol.
shortdate
Short dates are returned in a the format of "YYYY-MM-DD" (e.g. 2009-05-29). Dates are adjusted to match the time zone of your
client account.".
string
Strings can be any set of letters, numbers, and punctuation. Only code seen as a security threat will cause validation errors with strings.