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": [
- {
- "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
]
}
], - "rewardGroups": [
- {
- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "exclusions": [
- 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": [
- {
- "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"
]
}
], - "rewardGroups": [
- {
- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "exclusions": [
- "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": [
- {
- "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"
]
}
], - "rewardGroups": [
- {
- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "exclusions": [
- "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": [
- {
- "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"
]
}
], - "rewardGroups": [
- {
- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "exclusions": [
- "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": [
- "string"
], - "countries": [
- "string"
], - "highValueInclusive": "string",
- "lowValueInclusive": "string",
- "apps": [
- {
- "appId": "string",
- "excludedPaymentMethods": [
- "string"
]
}
], - "rewardGroups": [
- {
- "rewardGroupId": "string",
- "exclusions": [
- "string"
]
}
]
}
]
}
{- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "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"
]
}
], - "rewardGroups": [
- {
- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "exclusions": [
- "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": [
- {
- "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
]
}
], - "rewardGroups": [
- {
- "rewardGroupId": "d2536a50-70ae-463a-a3c2-2c67082feeaf",
- "exclusions": [
- 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
}
}
]
}
], - "rewards": [
- {
- "rewardId": "3AE792C681E5A58EE307F92984E5F7E15F3D74A0F2BE7317FF49CD941E0A8253",
- "rewardName": "Amazon.co.uk Gift Card",
- "rewardType": "gift card",
- "status": "active",
- "countries": [
- "GB",
- "IE"
], - "currencyCode": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}, - "exchangeRateRule": null,
- "isWholeAmountValueRequired": false,
- "valueType": "VARIABLE_VALUE",
- "fixedValue": null,
- "maxValue": 1000,
- "minValue": 0.01,
- "credentialTypes": [
- "cardNumber",
- "expirationDate",
- "rewardSecurityCode",
- "rewardSecurityUrl"
], - "redemptionInstructions": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "tags": [
- "string"
], - "app": {
- "appId": "TANGOCARD_RAAS",
- "name": "Tangocard"
}, - "brand": {
- "brandKey": "string",
- "brandName": "string",
- "status": "string",
- "description": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "shortDescription": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "disclaimer": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "terms": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "imageUrls": [
- {
- "ppi": 0,
- "ratioHeight": 0,
- "ratioWidth": 0,
- "url": "string",
- "width": 0
}
], - "requirements": {
- "alwaysShowDisclaimer": true,
- "disclaimerInstructions": "string",
- "displayInstructions": "string",
- "termsAndConditionsInstructions": "string"
}
}, - "createdDate": "2021-11-17T23:00:26.0486865",
- "lastUpdateDate": "2022-11-02T13:00:11.2212353"
}
]
}
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": [
- "string"
], - "countries": [
- "string"
], - "highValueInclusive": "string",
- "lowValueInclusive": "string",
- "apps": [
- {
- "appId": "string",
- "excludedPaymentMethods": [
- "string"
]
}
], - "rewardGroups": [
- {
- "rewardGroupId": "string",
- "exclusions": [
- "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
}
}
]
}
], - "rewards": [
- {
- "rewardId": "3AE792C681E5A58EE307F92984E5F7E15F3D74A0F2BE7317FF49CD941E0A8253",
- "rewardName": "Amazon.co.uk Gift Card",
- "rewardType": "gift card",
- "status": "active",
- "countries": [
- "GB",
- "IE"
], - "currencyCode": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}, - "exchangeRateRule": null,
- "isWholeAmountValueRequired": false,
- "valueType": "VARIABLE_VALUE",
- "fixedValue": null,
- "maxValue": 1000,
- "minValue": 0.01,
- "credentialTypes": [
- "cardNumber",
- "expirationDate",
- "rewardSecurityCode",
- "rewardSecurityUrl"
], - "redemptionInstructions": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "tags": [
- "string"
], - "app": {
- "appId": "TANGOCARD_RAAS",
- "name": "Tangocard"
}, - "brand": {
- "brandKey": "string",
- "brandName": "string",
- "status": "string",
- "description": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "shortDescription": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "disclaimer": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "terms": [
- {
- "languageCode": "string",
- "text": "string"
}
], - "imageUrls": [
- {
- "ppi": 0,
- "ratioHeight": 0,
- "ratioWidth": 0,
- "url": "string",
- "width": 0
}
], - "requirements": {
- "alwaysShowDisclaimer": true,
- "disclaimerInstructions": "string",
- "displayInstructions": "string",
- "termsAndConditionsInstructions": "string"
}
}, - "createdDate": "2021-11-17T23:00:26.0486865",
- "lastUpdateDate": "2022-11-02T13:00:11.2212353"
}
]
}
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"
}
]
}