Skip to main content

Nexus API

Scheduled Payments Overview

Scheduled payments represent a transaction that will take place in the future. This may be a recurring credit or debit — such as a power bill or paycheck — or any other transaction whose date of occurence is known.

note

Scheduled payments are tied to the user_guid, not each specific account GUID. There can only be one scheduled payment per merchant. For example, if a user has two streaming subscriptions through one merchant, there can only be one scheduled payment tied to that merchant for the user.

Scheduled Payment Fields

Field NameData TypeDefinition
amountdecimalThe amount of the scheduled_payment.
created_atstringDate and time the scheduled_payment was created, represented in ISO 8601 format with timestamp (e.g., 2015-04-13T12:01:23-00:00).
descriptionstringA human-readable description of the scheduled_payment, e.g., Power bill.
guidstringThe unique identifier for the scheduled_payment, such as a recurring utility bill or streaming subscription. Defined by MX.
is_completedbooleanIndicates whether the scheduled_payment has been paid or not. This field is only applicable to one-time transactions.
is_recurringbooleanIndicates whether the scheduled_payment is expected to repeat.
merchant_guidstringThe unique identifier for the merchant identified in the scheduled_payment.
occurs_onstringThe date on which the payment is scheduled to occur, given in ISO 8601 format without a timestamp.
recurrence_dayintegerThe day of the month where the next payment is expected to occur.
recurrence_type_namestringThe repeatable pattern for the scheduled_payment, given as a string.
recurrence_typeintegerThe repeatable pattern for the scheduled_payment, given as an integer.
transaction_typeintegerIndicates whether the transaction is a credit or a debit. 1 = CREDIT, 2 = DEBIT.
transaction_type_namestringIndicates whether the transaction is a credit or a debit. 1 = CREDIT, 2 = DEBIT.
updated_atstringDate and time the scheduled_payment was last updated, represented in ISO 8601 format with timestamp (e.g., 2015-04-13T12:01:23-00:00).
user_guidstringThe unique identifier for the user associated with a scheduled_payment. Scheduled payments are attached to the user_guid, not individual accounts held by the user. Defined by MX.

Recurrence Type and Recurrence Type Name

ValueDefinition
0UNKNOWN
1EVERY_WEEK
2EVERY_OTHER_WEEK
3EVERY_MONTH
4EVERY_OTHER_MONTH
5EVERY_QUARTER
6EVERY_OTHER_QUARTER
7EVERY_YEAR

Recurrence Day

Recurrence TypeValid Recurrence Day Values
EVERY_YEARThe day of the year. This can range from 1 to 365.
EVERY_MONTH, EVERY_OTHER_MONTH, EVERY_QUARTER, EVERY_OTHER_QUARTERThe day of the month. This can range from 1 to 31. If recurrence_day is greater than the number of days in a month, it occurs on the last day of the month.
EVERY_WEEK, EVERY_OTHER_WEEKThe day of the week. This can range from 1 to 7.