Skip to content
Managed Integrations

Create or Update Managed Integration

PUT/api/managed-integrations/{type}/{externalId}

This endpoint allows you to create or update a Managed Integration.

Path parameters

  • externalIdrequired string
    The Managed Integration external id.
  • typerequired enum
    The Managed Integration type.
    • payap
      Sets up a Payap merchant from partner-supplied business, merchant, bank and terminal details.
    • paypal-referral
      Onboards a merchant to PayPal by emailing them a PayPal partner referral link.

Request body

  • enabledrequired boolean
    Flag indicating whether the Managed Integration should become active or inactive.
  • paramsrequired object
    Params depending on the Managed Integration type.
  • testoptional boolean
    Flag indicating the Managed Integration is for testing, this cannot be changed once the resource has been created.

Responses

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"
}
}'