Warning: Below our records have newlines for legibility. When submitting a batch file you must only use newlines to separate records.
Farmlands External Asset Batch
Loads Farmlands Card data into Centrapay as external assets.
Type Name | File Format | Record Type |
---|---|---|
farmlands-external-asset | JSONL | Account |
Account Model
Exported Farmlands Account used for importing and updating of a Centrapay Asset .
Attributes
-
externalId
-
accountNumber
-
availableBalance
bignumber -
contacts
Contact Model
Exported Farmlands Contact and Card information used for authentication, correspondence and payment.
Attributes
-
externalId
-
name
-
mobile
phonenumber -
email
-
primary
-
cards
Card Model
Exported Farmlands Credit Card information used for importing and updating of a Patron Code .
Example JSONL File
A complete batch example with all batch types included. For more legible examples please refer to Example Models .
Example Models
Centrapay matches previously created resources using externalId and records get created or updated based on these IDs. In some cases, fields may be omitted to only update some fields.
An example of a Centrapay Asset complete with availableBalance, contacts and cards.
Update the availableBalance on an account and remove all contacts associated with it. Note, this renders the availableBalance un-spendable.
Update the availableBalance on an account.
Update the contact list for an account. Use this where you want to exclude availableBalance.