Batches
Batches enable bulk loading of resource onto the Centrapay platform.
Batch Model
Batch Lifecycle
Different stages of a Batch's lifecycle.
Status | Description |
---|---|
created | The batch has successfully been submitted. |
copied | The file has been transferred to Centrapay. |
chunked | The batch has been broken up for processing. |
complete | The batch has been processed and may include errors. |
error | There is an error accessing or reading the file, preventing processing. |
Batch Types
The following table describes the Batch Types supported for loading.
Type | Description |
---|---|
farmlands-external-asset | Farmlands External Asset Batch. |
verifone-terminal-status | Verifone Terminal Status Batch. |
ticketek-ticket | Ticketek Ticket Batch. |
Error
Field | Type | Description |
---|---|---|
message | String | A description of what caused the Error. |
externalId | String | Field used in debugging in reference to an id from the file. |
index | BigNumber | Item offset where the Error was identified in the file. |
Create Batch
Initialize loading of entities from a batch file.
Attributes
-
type
-
url
-
accountId
-
test
Errors
-
LIVENESS_MISMATCH
Get Batch
This endpoint allows you to retrieve a Batch by id.