Models the bank accounts associated with a payment provider for electronic payments. After the subscription status for a payment provider is Subscribed, you can add bank accounts for that payment provider. Subscribed status is set after your company's application has been received by the payment provider and all required paperwork has been signed. Payment provider services, like Vendor Payments powered by CSI, are only for US vendors accepting USD. See Compare payment methods for more information.
Returns up to 100 object references from the collection with a key, ID, and link for each payment provider bank account. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Administration, Sage Cloud Services, Outbound Payment Services |
---|---|
User type | Business user with admin permissions |
Permissions | List, View, Subscribe, Configure Application Subscriptions |
OK
Not Found
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "href": "/objects/cash-management/payment-provider-bank-account/1"
}, - {
- "key": "2",
- "id": "2",
- "href": "/objects/cash-management/payment-provider-bank-account/2"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/cash-management/payment-provider-bank-account/3"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": 0,
- "previous": 0
}
}
Creates a new payment provider bank account.
Subscription | Administration, Sage Cloud Services, Outbound Payment Services |
---|---|
User type | Business user with admin permissions |
Permissions | List, View, Subscribe, Configure Application Subscriptions |
checkStartNumber | string Starting check number specific to the payment provider. Example: "111999" | ||||
isRebateAccount | boolean Default: false Indicates whether this is the account in which virtual card payment rebates are deposited. Example: true | ||||
remittanceEmail | |||||
object | |||||
| |||||
object | |||||
| |||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
Created
Unprocessable entity
{- "paymentProvider": {
- "id": "CSI"
}, - "bankAccount": {
- "id": "WF"
}, - "status": "active",
- "checkStartNumber": "111000",
- "remittanceEmail": "[email protected]"
}
{- "ia::result": {
- "key": "22",
- "id": "22",
- "href": "/objects/cash-management/payment-provider-bank-account/22"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified payment provider bank account.
Subscription | Administration, Sage Cloud Services, Outbound Payment Services |
---|---|
User type | Business user with admin permissions |
Permissions | List, View, Subscribe, Configure Application Subscriptions |
key required | string System-assigned key for the payment provider bank account. |
OK
Not Found
{- "ia::result": {
- "key": "19",
- "id": "19",
- "paymentProvider": {
- "key": "1",
- "id": "CSI",
- "href": "/objects/cash-management/payment-provider/1"
}, - "bankAccount": {
- "key": "72",
- "id": "BOA",
- "currency": "USD",
- "href": "/objects/cash-management/checking-account/72"
}, - "state": "subscribed",
- "isRebateAccount": false,
- "providerReferenceNumber": "44397977-72-1643357336",
- "authenticationURL": "",
- "audit": {
- "createdDateTime": "2022-01-28T08:08:56Z",
- "modifiedDateTime": "2022-01-28T08:23:08Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "status": "active",
- "checkStartNumber": "123456",
- "href": "/objects/cash-management/payment-provider-bank-account/19"
}, - "ia::meta": {
- "totalCount": 1
}
}
Updates an existing payment provider bank account by setting field values. Any fields not provided remain unchanged.
Subscription | Administration, Sage Cloud Services, Outbound Payment Services |
---|---|
User type | Business user with admin permissions |
Permissions | List, View, Subscribe, Configure Application Subscriptions |
key required | string System-assigned key for the payment provider bank account. |
checkStartNumber | string Starting check number specific to the payment provider. Example: "111999" | ||||
isRebateAccount | boolean Default: false Indicates whether this is the account in which virtual card payment rebates are deposited. Example: true | ||||
remittanceEmail | |||||
object | |||||
| |||||
object | |||||
| |||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "isRebateAccount": false,
- "checkStartNumber": "111222"
}
{- "ia::result": {
- "key": "19",
- "id": "19",
- "href": "/objects/cash-management/payment-provider-bank-account/19"
}, - "ia::meta": {
- "totalCount": 1
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "cash-management/payment-provider-bank-account" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the response. Example: 100 |
OK
Bad Request
{- "object": "cash-management/payment-provider-bank-account",
- "filters": [
- {
- "$eq": {
- "status": "active"
}
}
], - "fields": [
- "id",
- "key",
- "paymentProvider.id",
- "bankAccount.id",
- "href"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "19",
- "id": "19",
- "paymentProvider.id": "CSI",
- "bankAccount.id": "BOA",
- "href": "/objects/cash-management/payment-provider-bank-account/19"
}, - {
- "key": "22",
- "id": "22",
- "paymentProvider.id": "CSI",
- "bankAccount.id": "WF",
- "href": "/objects/cash-management/payment-provider-bank-account/22"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}