A Managed Integration is an Integration API which a third party can control.
Attributes
A summary of the Invitation API for a Managed Integration.
Attributes
id
code
expiresAt
timestamp
Attributes
partnerMerchantId
merchantName
merchantStreetNumberName
merchantSuburb
merchantTown
merchantCountry
merchantPostCode
merchantCategoryCode
settlementAcct
chargeAcct
merchantContactName
merchantEmail
merchantContactNumber
terminals
Attributes
provider
terminalId
kitId
reseller
kitType
paypal-referral
Attributes
centrapayMerchantId
email
quartz-business
Attributes
partnerBusinessId
nzbn
companyName
tradingName
entityType
businessStreetNumberName
businessSuburb
businessTown
businessCountry
businessPostCode
primaryContactName
primaryContactEmail
merchants
/api/managed-integrations/{type}/{externalId}
This endpoint allows you to create or update a Managed Integration.
Attributes
enabled
params
test
Errors
INVALID_PARAMS
MERCHANT_LIVENESS_MISMATCH
MERCHANT_NOT_FOUND
Request
curl -X PUT \
https://service.centrapay.com/api/managed-integrations/paypal-referral/DKTs3U38hdhfEqwF1JKoT2 \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '
{
"enabled": true,
"params": {
"centrapayMerchantId": "5ffcaf432003060007b98343",
"email": "test@centrapay.com"
}
}
'
Response
{
"id": "5ee0c486308f590260d9a07f",
"type": "paypal-referral",
"externalId": "DKTs3U38hdhfEqwF1JKoT2",
"enabled": true,
"params": {
"centrapayMerchantId": "5ffcaf432003060007b98343",
"email": "test@centrapay.com"
},
"status": "provisioning",
"claimedByAccountId": "Jaim1Cu1Q55uooxSens6yk",
"claimedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:MyApiKey",
"claimedAt": "2020-06-12T01:17:46.499Z",
"inProgress": true,
"createdAt": "2020-06-11T01:17:46.499Z",
"createdBy": "crn:BIj211vFs9cNACwBb04vQw:api-key:MyApiKey",
"updatedAt": "2020-06-12T01:17:46.499Z",
"updatedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:MyApiKey"
}
/api/managed-integrations/{type}/{externalId}
This endpoint allows you to retrieve a Managed Integration by type and external id.
Request
curl -X GET \
https://service.centrapay.com/api/managed-integrations/paypal-referral/DKTs3U38hdhfEqwF1JKoT2 \
-H 'x-api-key: <TOKEN>'
Response
{
"id": "5ee0c486308f590260d9a07f",
"type": "paypal-referral",
"externalId": "DKTs3U38hdhfEqwF1JKoT2",
"enabled": true,
"params": {
"centrapayMerchantId": "5ffcaf432003060007b98343",
"email": "test@centrapay.com"
},
"status": "provisioning",
"claimedByAccountId": "Jaim1Cu1Q55uooxSens6yk",
"claimedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:MyApiKey",
"claimedAt": "2020-06-12T01:17:46.499Z",
"inProgress": true,
"createdAt": "2020-06-11T01:17:46.499Z",
"createdBy": "crn:BIj211vFs9cNACwBb04vQw:api-key:MyApiKey",
"updatedAt": "2020-06-12T01:17:46.499Z",
"updatedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:MyApiKey"
}
/api/accounts/{accountId}/managed-integrations
This endpoint allows you to retrieve the list of managed integrations for an account. Returns a paginated API list of Managed Integrations for an Account.
Attributes
pageKey
Request
curl -X GET \
'https://service.centrapay.com/api/accounts/Jaim1Cu1Q55uooxSens6yk/managed-integrations?pageKey=Collection%23k9oBPAOgjz4k6a9MXNfRlFzn%7C%23Collection%7C4xb2jbtvgr07eax9259od5he' \
-H 'x-api-key: <TOKEN>'
Response
{
"nextPageKey": "Collection#ujk6nDuqFueXNGndXj8Qp9hU|#Collection",
"items": [
{
"id": "5ee0c486308f590260d9a07f",
"type": "paypal-referral",
"externalId": "DKTs3U38hdhfEqwF1JKoT2",
"enabled": true,
"params": {
"centrapayMerchantId": "5ffcaf432003060007b98343",
"email": "test@centrapay.com"
},
"status": "provisioning",
"claimedByAccountId": "Jaim1Cu1Q55uooxSens6yk",
"claimedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:MyApiKey",
"claimedAt": "2020-06-12T01:17:46.499Z",
"inProgress": true,
"createdAt": "2020-06-11T01:17:46.499Z",
"createdBy": "crn:BIj211vFs9cNACwBb04vQw:api-key:MyApiKey",
"updatedAt": "2020-06-12T01:17:46.499Z",
"updatedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:MyApiKey"
},
{
"id": "4maj50b6fdhmv0v38yrgjzdh",
"type": "paypal-referral",
"externalId": "alL3YQEGeY5WLu5uSFbM0tb3",
"enabled": true,
"params": {
"centrapayMerchantId": "7aqasjid5kbcp7wquopoe4dg",
"email": "test2@centrapay.com"
},
"status": "provisioning",
"claimedByAccountId": "Jaim1Cu1Q55uooxSens6yk",
"claimedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:MyApiKey",
"claimedAt": "2020-07-12T01:18:46.499Z",
"inProgress": true,
"createdAt": "2020-07-11T01:18:46.499Z",
"createdBy": "crn:BIj211vFs9cNACwBb04vQw:api-key:MyApiKey",
"updatedAt": "2020-07-12T01:18:46.499Z",
"updatedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:MyApiKey"
}
]
}