Understanding how the Transactions endpoint works.
The Transaction API Transactions endpoint allows transaction data for a specified bank account to be sent into MYOB Business ledgers.
Supported Method | Description | HTTP Status Codes |
---|---|---|
POST |
To provide transaction data for a specific bank account to be delivered to all feeds associated with this given account. |
201 | 400 | 403 | 413 | 500 | 503 |
Description: When the request is validated and successfully processed.
Context: No response body, returns a HTTP status code 201 (Created) only.
See Transaction endpoints page for POST request and response samplesDescription: When request body is malformatted, missing the required fields such as account & transactions or containing violated fields.
Context: Response contains a single error object in the errorDetails field stating the violation or error description.
Response type: Single Error Message
Description: When multiple transactions or both account and transaction/s have violated fields in request.
Response type: Multiple Error Message
Description: When a financial institution is not enabled to access this Transaction API endpoint.
Response type: Single Error Message
Description: When Transaction API is unable to process request due to the request payload exceeds limit of 415 transactions (262144 bytes).
Response type: Single Error Message
Description: When Transaction API is experiencing an internal error.
Response type: Single Error Message
Description: When Transaction API is unable to process requests due to an affiliated service being unavailable.
Response type: Single Error Message
Error Response Attribute
|
Single Error Message examplesWhen a financial institution is not enabled to access this Transaction API endpoint.
When a request has required fields that contain invalid value in the account details or a single transaction, an element in the “errors” array will present the related transactionId and the details of any invalid field violations.
Multiple Error Message examplesWhere both account details and several transactions have violated fields, details of any field violations for the acccount and transactions are presented as an element in the “errors” array.
|