tenant-collect-scheme-read
or tenant-admin
Gets a list of all Collect Schemes.
OK - Returns the Collect Schemes response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "schemes": [
- {
- "schemeId": "string",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "drafts": [
- {
- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- null
], - "countries": [
- null
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- null
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}
]
}
tenant-collect-scheme-write
or tenant-admin
Creates a new Collect Scheme.
Returns the Collect Scheme response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "currencies": [
- "string"
], - "countries": [
- "string"
], - "highValueInclusive": "string",
- "lowValueInclusive": "string",
- "apps": [
- {
- "appId": "string",
- "excludedPaymentMethods": [
- "string"
]
}
]
}
]
}
{- "schemeId": "string",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "drafts": [
- {
- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": null,
- "code": null,
- "numeric": null,
- "name": null,
- "symbol": null,
- "numberOfDecimalPlaces": null
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}
tenant-collect-scheme-read
or tenant-admin
Gets a Collect Scheme by the schemeId
.
OK - Returns the Collect Scheme response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "schemeId": "string",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "drafts": [
- {
- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": null,
- "code": null,
- "numeric": null,
- "name": null,
- "symbol": null,
- "numberOfDecimalPlaces": null
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}
tenant-collect-scheme-write
or tenant-admin
Delete a Collect Scheme by the schemeId
.
No Content
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
tenant-collect-scheme-read
or tenant-admin
Gets the published draft of a Collect Scheme by the schemeId
.
OK - Returns the Collect Draft response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-collect-scheme-read
or tenant-admin
Gets the latest draft of a Collect Scheme by the schemeId
.
OK - Returns the Collect Draft response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-collect-scheme-read
or tenant-admin
Gets a Collect Scheme draft by the schemeId
and draftId
.
OK - Returns the Collect Draft response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-collect-scheme-write
or tenant-admin
Delete a Collect Scheme draft by the schemeId
and draftId
.
No Content
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
tenant-collect-scheme-write
or tenant-admin
Creates a new draft for an existing Collect Scheme.
OK - Returns the Collect Scheme response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "currencies": [
- "string"
], - "countries": [
- "string"
], - "highValueInclusive": "string",
- "lowValueInclusive": "string",
- "apps": [
- {
- "appId": "string",
- "excludedPaymentMethods": [
- "string"
]
}
]
}
]
}
{- "schemeId": "string",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "drafts": [
- {
- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": null,
- "code": null,
- "numeric": null,
- "name": null,
- "symbol": null,
- "numberOfDecimalPlaces": null
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}
tenant-collect-scheme-write
or tenant-admin
Publishes a draft for a Collect Scheme by the schemeId
and draftId
.
OK - Returns the Collect Scheme response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "schemeId": "string",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "drafts": [
- {
- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": null,
- "code": null,
- "numeric": null,
- "name": null,
- "symbol": null,
- "numberOfDecimalPlaces": null
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}