One destination per site and app (409 CONFLICT when the site is already connected: change it). The address of a Slack channel and the identifiers of an account are sealed at once and never returned, shown nor logged; they are written by a person only: actor of type engine_user, otherwise 403 HUMAN_ACTOR_REQUIRED. The company turned the app on first (400 VALIDATION_FAILED otherwise); an address that is not an incoming webhook of Slack: 422 WEBHOOK_URL_NOT_ALLOWED. The message of each event is written by the platform (fixed text: amount, currency, shop, reason of a refusal, brand and last four digits, identifier of the payment); never a personal data of the buyer. The key also needs payments:read (always: the connection also serves the « parcours » of the site), and alerts:read for chargeback_alert.received. Added with a test key (testOnly): events of test payments only. includeTestEvents (default true): test payments are told too, marked as tests. The rights apps:read and apps:write belong to a key of every site. Sent by a separate process, tried again like a webhook (12 attempts over 72 h); an answer 4xx of the app (wrong address or identifiers) is final. At most 120 messages per destination and hour: beyond, an event is recorded skipped.
Authorization
Header parameters
Request body JSON required
Returns
201
Default Response
- connectedAtstringrequiredformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
default
Problem: the stable code is in code, see x-error-catalog.
- codestring·one of 81 valuesrequiredAllowed values: AMOUNT_LIMIT_EXCEEDED, AMOUNT_MISMATCH, API_VERSION_UNSUPPORTED, AUTH_IP_NOT_ALLOWED, AUTH_KEY_INVALID, AUTH_MALFORMED, AUTH_NONCE_REPLAYED, AUTH_SCOPE_FORBIDDEN, AUTH_SIGNATURE_INVALID, AUTH_TIMESTAMP_OUT_OF_WINDOW, BAD_REQUEST, CAMPAIGN_MISMATCH, CARD_BRAND_UNSUPPORTED, CARD_CVC_INVALID, CARD_EXPIRED, CARD_EXPIRY_INVALID, CARD_HOLDER_INVALID, CARD_NOT_ACCEPTED, CARD_NUMBER_INVALID, CARD_REF_INVALID, CARD_REF_USED, CARD_TOKEN_REVOKED, CARD_VERIFICATION_NOT_AVAILABLE, CONFLICT, CONNECTOR_ACCOUNT_MISMATCH, CONNECTOR_AUTH_FAILED, CONNECTOR_CAPABILITY_MISSING, CONNECTOR_DISABLED, CONNECTOR_ERROR, CONNECTOR_UNAVAILABLE, CUSTOMER_DATA_REQUIRED, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_KEY_INVALID, IDEMPOTENCY_KEY_MISSING, IDEMPOTENCY_KEY_REUSED, INTERNAL_ERROR, LIVE_MODE_DISABLED, METHOD_NOT_ALLOWED, MID_PAUSED, MID_TRANSFER_NOT_POSSIBLE, NOT_FOUND, ORIGIN_NOT_ALLOWED, PAGE_CARD_ENTRY_DISABLED, PAYLOAD_TOO_LARGE, PAYMENT_INVALID_STATE, PAYMENT_IN_PROGRESS, PAYMENT_METHOD_NOT_ALLOWED, POST_PURCHASE_LIMIT_REACHED, POST_PURCHASE_STEP_DONE, POST_PURCHASE_TOKEN_INVALID, POST_PURCHASE_WINDOW_CLOSED, PROCESSOR_NOT_ENABLED, RATE_LIMITED, REFUND_EXCEEDS_CAPTURED, REFUND_NOT_SUPPORTED, RENEWAL_ALREADY_PAID, RENEWAL_RETRY_NOT_ALLOWED, RENEWAL_RETRY_TOO_EARLY, REQUEST_ORIGIN_FORBIDDEN, RISK_VELOCITY_LIMIT, SANDBOX_ONLY, SERVER_CARD_ENTRY_DISABLED, SERVICE_UNAVAILABLE, SESSION_EXPIRED, SESSION_INVALID_STATE, SESSION_LIMIT_REACHED, SESSION_SECRET_INVALID, SITE_DISABLED, SITE_UNKNOWN, TEST_CARD_REQUIRED, TEST_KEY_LIVE_REQUEST, UNSUPPORTED_CURRENCY, UNSUPPORTED_MEDIA_TYPE, VALIDATION_FAILED, VOID_NOT_SUPPORTED, WALLET_AMOUNT_MISMATCH, WALLET_MERCHANT_VALIDATION_FAILED, WALLET_NOT_AVAILABLE, WALLET_TOKEN_INVALID, WEBHOOK_URL_NOT_ALLOWED, ZERO_AMOUNT_REQUIRES_AUTHORIZE_ONLY