tenant-payout-scheme-read
or tenant-admin
Gets a Payout Scheme by the schemeId
.
Returns the Payout 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",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- "GBP"
], - "countries": [
- "UK"
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}
tenant-payout-scheme-write
or tenant-admin
Delete a Payout 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-payout-scheme-read
or tenant-admin
Gets the published draft of a Payout Scheme by the schemeId
.
Returns the Payout 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",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- "GBP"
], - "countries": [
- "UK"
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-payout-scheme-read
or tenant-admin
Gets the latest draft of a Payout Scheme by the schemeId
.
Returns the Payout 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",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- "GBP"
], - "countries": [
- "UK"
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-payout-scheme-read
or tenant-admin
Gets a Payout Scheme draft by the schemeId
and draftId
.
Returns the Payout 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",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- "GBP"
], - "countries": [
- "UK"
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-payout-scheme-write
or tenant-admin
Delete a Payout 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-payout-scheme-write
or tenant-admin
Creates a new draft for an existing Payout Scheme.
Returns the Payout 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.
{- "name": "string",
- "code": "string",
- "rules": [
- {
- "currencies": [
- "GBP"
], - "countries": [
- "UK"
], - "highValueInclusive": "string",
- "lowValueInclusive": "string",
- "apps": [
- {
- "appId": "string",
- "excludedPaymentMethods": [
- "string"
]
}
]
}
]
}
{- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- "GBP"
], - "countries": [
- "UK"
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-payout-scheme-write
or tenant-admin
Publishes a draft for a Payout Scheme by the schemeId
and draftId
.
Returns the Payout 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",
- "rules": [
- {
- "priority": 0,
- "currencies": [
- "GBP"
], - "countries": [
- "UK"
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}
tenant-payout-scheme-read
or tenant-admin
Gets the payout options available for a Payout Scheme by the schemeId
.
Returns the Payout Options 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.
{- "matchedRulePriority": 1,
- "payments": [
- {
- "type": "PAYMENTS",
- "paymentType": "BACS_DIRECT_CREDIT",
- "paymentOptions": [
- {
- "id": "BACS_DIRECT_CREDIT",
- "name": "BACS Direct Credit",
- "iconName": "payment-icons/bacs",
- "appId": "BOTTOMLINE",
- "appName": "Bottomline",
- "whitelabel": {
- "componentName": "bacs-financial-instrument",
- "appBrandName": "Bacs Direct Credit"
}, - "capabilities": {
- "usesRedirect": true,
- "financialInstrumentReady": false,
- "supportsMotoTransactions": false
}
}
]
}
]
}
tenant-payout-scheme-read
or tenant-admin
Gets a preview of the payout options available for a Payout Scheme by the schemeId
.
Returns the Payout Options 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",
- "rules": [
- {
- "currencies": [
- "GBP"
], - "countries": [
- "UK"
], - "highValueInclusive": "string",
- "lowValueInclusive": "string",
- "apps": [
- {
- "appId": "string",
- "excludedPaymentMethods": [
- "string"
]
}
]
}
]
}
{- "matchedRulePriority": 1,
- "payments": [
- {
- "type": "PAYMENTS",
- "paymentType": "BACS_DIRECT_CREDIT",
- "paymentOptions": [
- {
- "id": "BACS_DIRECT_CREDIT",
- "name": "BACS Direct Credit",
- "iconName": "payment-icons/bacs",
- "appId": "BOTTOMLINE",
- "appName": "Bottomline",
- "whitelabel": {
- "componentName": "bacs-financial-instrument",
- "appBrandName": "Bacs Direct Credit"
}, - "capabilities": {
- "usesRedirect": true,
- "financialInstrumentReady": false,
- "supportsMotoTransactions": false
}
}
]
}
]
}
tenant-payout-scheme-read
or tenant-admin
Gets a list of all Payout Scheme summaries.
OK - Returns the Payout Scheme summaries 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.
{- "currentPage": 0,
- "pageCount": 0,
- "pageSize": 0,
- "rowCount": 0,
- "totalCount": 0,
- "results": [
- {
- "schemeId": "string",
- "name": "string",
- "code": "string",
- "latestDraftId": "3c9d3e6a-b749-4243-90f3-c6a0fd7b1172",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "isLatestDraftPublished": true,
- "lastModified": "2019-08-24T14:15:22Z"
}
]
}