Managed Integrations
A Managed Integration is an Integration which a third party can control.
Managed Integration Model
Attributes
Invitation Summary Model
A summary of the Invitation for a Managed Integration.
Attributes
id
stringcode
stringexpiresAt
timestamp
Merchant Model
Attributes
partnerMerchantId
stringrequiredmerchantName
stringrequiredmerchantStreetNumberName
stringrequiredmerchantSuburb
stringrequiredmerchantTown
stringrequiredmerchantCountry
stringrequiredmerchantPostCode
stringrequiredmerchantCategoryCode
stringsettlementAcct
stringrequiredchargeAcct
stringmerchantContactName
stringrequiredmerchantEmail
stringrequiredmerchantContactNumber
stringterminals
object
Terminal Model
Attributes
provider
objectrequiredterminalId
stringrequiredkitId
stringrequiredreseller
stringkitType
string
Params Model
paypal-referral
Attributes
centrapayMerchantId
stringemail
string
quartz-business
Attributes
partnerBusinessId
stringrequirednzbn
stringcompanyName
stringrequiredtradingName
stringentityType
stringbusinessStreetNumberName
stringbusinessSuburb
stringbusinessTown
stringbusinessCountry
stringbusinessPostCode
stringprimaryContactName
stringrequiredprimaryContactEmail
stringrequiredmerchants
object
Create or Update Managed Integration
This endpoint allows you to create or update a Managed Integration.
Attributes
enabled
booleanrequiredparams
objectrequiredtest
boolean
Errors
INVALID_PARAMS
400MERCHANT_LIVENESS_MISMATCH
403MERCHANT_NOT_FOUND
403
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" }}'{ "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"}Get Managed Integration
This endpoint allows you to retrieve a Managed Integration by type and external id.
curl -X GET https://service.centrapay.com/api/managed-integrations/paypal-referral/DKTs3U38hdhfEqwF1JKoT2 \-H 'x-api-key: <TOKEN>'{ "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"}List Managed Integration
This endpoint allows you to retrieve the list of managed integrations for an account. Returns a paginated list of Managed Integrations for an Account.
Attributes
pageKey
string
curl -X GET 'https://service.centrapay.com/api/accounts/Jaim1Cu1Q55uooxSens6yk/managed-integrations?pageKey=Collection%23k9oBPAOgjz4k6a9MXNfRlFzn%7C%23Collection%7C4xb2jbtvgr07eax9259od5he' \-H 'x-api-key: <TOKEN>'{ "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" } ]}