Creates or updates (upserts) a deposit strategy with a specified ID.
Deposit strategy resource.
name required | string Name of the strategy. | ||||||||
required | object Deposit strategy amounts configuration. | ||||||||
| |||||||||
required | object or null Custom amount restrictions.
If this value is | ||||||||
filter | string Default: "" Filter that uses deposit request properties to determine if a deposit strategy is applicable for the request. If this field is empty, the strategy is applicable for any request. |
Deposit strategy updated.
name required | string Name of the strategy. | ||||||||
required | object Deposit strategy amounts configuration. | ||||||||
| |||||||||
required | object or null Custom amount restrictions.
If this value is | ||||||||
id | string <= 50 characters ID of the deposit strategy. | ||||||||
filter | string Default: "" Filter that uses deposit request properties to determine if a deposit strategy is applicable for the request. If this field is empty, the strategy is applicable for any request. | ||||||||
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. | ||||||||
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. | ||||||||
Array of objects (SelfLink) Related links. | |||||||||
Deposit strategy created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
name required | string Name of the strategy. | ||||||||
required | object Deposit strategy amounts configuration. | ||||||||
| |||||||||
required | object or null Custom amount restrictions.
If this value is | ||||||||
id | string <= 50 characters ID of the deposit strategy. | ||||||||
filter | string Default: "" Filter that uses deposit request properties to determine if a deposit strategy is applicable for the request. If this field is empty, the strategy is applicable for any request. | ||||||||
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. | ||||||||
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. | ||||||||
Array of objects (SelfLink) Related links. | |||||||||
Unauthorized access. Invalid credentials used.
Access forbidden.
Conflict.
Invalid data sent.
{- "name": "string",
- "filter": "depositRequest.currency:USD",
- "amounts": {
- "calculator": "absolute",
- "baseAmount": 0.01,
- "increments": [
- 0.01
], - "adjustBaseToLastDeposit": false
}, - "customAmount": {
- "minimum": 0.01,
- "multipleOf": 0.01,
- "maximum": 0.01
}
}
{- "id": "dep_str_0YVJ64MAHTDPA97H8S7R5MYR1M",
- "name": "string",
- "filter": "depositRequest.currency:USD",
- "amounts": {
- "calculator": "absolute",
- "baseAmount": 0.01,
- "increments": [
- 0.01
], - "adjustBaseToLastDeposit": false
}, - "customAmount": {
- "minimum": 0.01,
- "multipleOf": 0.01,
- "maximum": 0.01
}, - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}