Feeds
List, create and cancel feeds
Released
Updated
| URL | Supports |
|---|---|
https://transaction.myob.com/feeds | |
https://transaction.myob.com/feeds/{externalId} | |
| The {guid} in the URL above is replaced with the unique ID for any given company file | |
Attribute Details
Request
| Attribute | Type | Notes |
|---|---|---|
applicationId | String | Unique identifier of application passed from MYOB to financial institution |
accountDetails | array | |
accountDetails.externalId | String (100) | Unique identifier of account from financial institution |
accountDetails.accountType | String (13) | Account type descriptor - “BankAccount” or "CreditCard" |
accountDetails.accountName | String (30) | Account holder’s name or type of account |
accountDetails.accountNumber | String (16) | Financial institution account number. When accountType is “CreditCard”, the account number is the last 4 digits of the credit card number. |
accountDetails.bsb | String (7) | Identifier for financial institution and branch, valid format is “XXX-XXX” or “XXXXXX”. Only required for Australian bank accounts. |
accountDetails.currencyCode | String (3) | Country currency code, valid values are “AUD” or “NZD” |
Response
| Attribute | Type | Notes |
|---|---|---|
feeds | array | |
feeds.feedId | String(25) | Unique feed identifier |
feeds.externalId | String(100) | Unique identifier of account from financial institution |
feeds.status | String(30) | Current status of feed. If feed is still active and in use, value will be "BankFeedReady". If feed has been cancelled, value will be "Cancelled". |
GET /feeds
GET · Response · Status 200
{
"feeds": [
{
"feedId": "B000000427",
"externalId": "tyf6q4-d6bnd8-7op81z-JI4gHm",
"status": "Cancelled"
}
]
}GET /feeds/{externalId}
GET · Response · Status 200
{
"feeds": [
{
"feedId": "B000000427",
"externalId": "tyf6q4-d6bnd8-7op81z-JI4gHm",
"status": "Cancelled"
}
]
}POST /feeds
POST · Request
{
"applicationId": "6328y-jdh32b-bag3ed-hgjt65",
"accountDetails": [
{
"externalId": "27fh5r-htnf5i-jsuhe4-37Ku4",
"accountType": "BankAccount",
"accountName": "John Smith's Transaction Account",
"accountNumber": "1095736",
"bsb": "063211",
"currencyCode": "AUD"
},
{
"externalId": "36fc5a-htqm7i-Q1Ce4-34Lm7",
"accountType": "CreditCard",
"accountName": "John Smith's Credit Card",
"accountNumber": "1234",
"currencyCode": "AUD"
}
]
}POST · Response · Status 201
{
"feeds": [
{
"feedId": "B000000428",
"externalId": "27fh5r-htnf5i-jsuhe4-37Ku4",
"status": "BankFeedReady"
},
{
"feedId": "B000000429",
"externalId": "36fc5a-htqm7i-Q1Ce4-34Lm7",
"status": "BankFeedReady"
}
]
}DELETE /feeds/{externalId}
Returns 204 with no response body.