Models a payment provider associated with a vendor. You can link a vendor with a payment provider using the create and update operations for this object. 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 vendor payment provider. 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, Accounts Payable, Sage Cloud Services, Outbound Payment Services |
---|---|
User type | Business user with admin permissions |
Permissions | List, View Application Subscriptions and Vendors |
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "href": "/objects/accounts-payable/vendor-payment-provider/1"
}, - {
- "key": "2",
- "id": "2",
- "href": "/objects/accounts-payable/vendor-payment-provider/2"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/accounts-payable/vendor-payment-provider/3"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": 0,
- "previous": 0
}
}
Creates a new vendor payment provider.
Subscription | Administration, Accounts Payable, Sage Cloud Services, Outbound Payment Services |
---|---|
User type | Business user with admin permissions |
Permissions | List, View, Subscribe, Configure Application Subscriptions List, View, Edit Vendors |
Create a vendor payment provider
required | object | ||||||
| |||||||
required | object | ||||||
| |||||||
status required | string Subscription status of the vendor payment provider. Example: "active" | ||||||
id | string Unique identifier for the vendor payment provider. Example: "1" | ||||||
object | |||||||
|
Created
Bad Request
{- "paymentProvider": {
- "id": "CSI"
}, - "vendor": {
- "id": "PV001"
}, - "status": "active"
}
{- "ia::result": {
- "key": "111",
- "href": "/objects/accounts-payable/vendor-payment-provider/111"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified vendor payment provider.
Subscription | Administration, Accounts Payable, Sage Cloud Services, Outbound Payment Services |
---|---|
User type | Business user with admin permissions |
Permissions | List, View Application Subscriptions and Vendors |
key required | string System-assigned key for the vendor payment provider. Example: 1 |
OK
Bad Request
{- "ia::result": {
- "key": "1",
- "id": "1",
- "paymentProvider": {
- "key": "3",
- "id": "CSI",
- "name": "CSI",
- "href": "/objects/cash-management/payment-provider/3"
}, - "vendor": {
- "key": "111",
- "id": "VEND-00010",
- "name": "Design Works",
- "href": "/objects/accounts-payable/vendor/111"
}, - "state": "subscribed",
- "message": "44299680-351-1628136894",
- "status": "active",
- "audit": {
- "createdDateTime": "2021-08-05T04:14:56Z",
- "modifiedDateTime": "2021-09-29T06:43:06Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "preferredPaymentMethod": {
- "key": "454",
- "id": "454",
- "name": "Check",
- "href": "/objects/cash-management/provider-payment-method/454"
}, - "href": "/objects/accounts-payable/vendor-payment-provider/1"
}, - "ia::meta": {
- "totalCount": 1
}
}
Updates an existing vendor payment provider by setting field values. Any fields not provided remain unchanged.
Subscription | Administration, Accounts Payable, Sage Cloud Services, Outbound Payment Services |
---|---|
User type | Business user with admin permissions |
Permissions | List, View, Subscribe, Configure Application Subscriptions List, View, Edit Vendors |
key required | string System-assigned key for the vendor payment provider. Example: 1 |
object | |||||||
| |||||||
object | |||||||
| |||||||
object | |||||||
| |||||||
status | string Subscription status of the vendor payment provider. Example: "active" |
OK
Bad Request
{- "status": "inactive"
}
{- "ia::result": {
- "key": "1",
- "id": "1",
- "href": "/objects/accounts-payable/vendor-payment-provider/1"
}, - "ia::meta": {
- "totalCount": 1
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "accounts-payable/vendor-payment-provider" | ||||||||
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 has (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 result set, 4000 maximum. Example: 100 |
OK
Bad Request
{- "object": "accounts-payable/vendor-payment-provider",
- "filters": [
- {
- "$eq": {
- "status": "active"
}
}
], - "fields": [
- "id",
- "key",
- "paymentProvider.id",
- "vendor.id",
- "href"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "paymentProvider.id": "CSI",
- "vendor.id": "VEND-00010",
- "href": "/objects/accounts-payable/vendor-payment-provider/1"
}, - {
- "key": "3",
- "id": "3",
- "paymentProvider.id": "CSI",
- "vendor.id": "VEND-00020",
- "href": "/objects/accounts-payable/vendor-payment-provider/3"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}