Set the Apple Pay integration
PUT/v1/settings/integrations/apple_pay
Sets your brand’s Apple Pay integration: the full group in one write.
Behavior
- A present group always replaces the stored one wholly.
- The certificate is write-only: stored by reference, never returned.
Omit
merchant_identity_cert_pemto keep the stored certificate; HTTP 400code1061 when there is none to keep.
Body ParametersJSON
merchant_id: string
The TEXT-form Apple Pay Merchant ID (e.g. merchant.com.example), character-for-character as registered.
merchant_identity_cert_pem: optional string
WRITE-ONLY. The Merchant Identity credential as PEM text: at least one
CERTIFICATE block and exactly one private-key block, concatenated.
Stored by reference in the secret store: no read ever returns it.
ABSENT keeps the certificate the stored group already holds; on a first
write it is required (400 secret_value_required).
Set the Apple Pay integration
curl https://messages.api.linqapp.com/v1/settings/integrations/apple_pay \
-X PUT \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $LINQ_AMB_API_KEY" \
-d '{
"display_name": "CurbFare",
"domain": "pay.example.com",
"merchant_id": "merchant.com.example"
}'{
"brand_id": "biz_9f2c1a",
"display": "CurbFare",
"privacy_policy_url": "https://example.com/privacy",
"terms_of_use_url": "https://example.com/terms",
"policy_version": 3,
"support_contact": "[email protected]",
"richlink_default_image_att_id": "",
"agent_enabled": true,
"escalation_handling": "self_managed",
"escalation_handling_locked": false,
"consent_mode": "linq_managed",
"business_id": "a884eddf-b0ad-4be4-9c0e-071531638768",
"link_origin": "connect",
"managed": [
{
"name": "apple_pay_merchant",
"value": "merchant.com.example",
"managed_by": "linq",
"set": true,
"source": "brand"
},
{
"name": "app_extensions",
"value": "none registered",
"managed_by": "linq",
"set": false,
"source": "platform"
},
{
"name": "oauth",
"value": "not configured",
"managed_by": "linq",
"set": false,
"source": "platform"
}
],
"app_extensions": {
"apps": {}
}
}Returns Examples
{
"brand_id": "biz_9f2c1a",
"display": "CurbFare",
"privacy_policy_url": "https://example.com/privacy",
"terms_of_use_url": "https://example.com/terms",
"policy_version": 3,
"support_contact": "[email protected]",
"richlink_default_image_att_id": "",
"agent_enabled": true,
"escalation_handling": "self_managed",
"escalation_handling_locked": false,
"consent_mode": "linq_managed",
"business_id": "a884eddf-b0ad-4be4-9c0e-071531638768",
"link_origin": "connect",
"managed": [
{
"name": "apple_pay_merchant",
"value": "merchant.com.example",
"managed_by": "linq",
"set": true,
"source": "brand"
},
{
"name": "app_extensions",
"value": "none registered",
"managed_by": "linq",
"set": false,
"source": "platform"
},
{
"name": "oauth",
"value": "not configured",
"managed_by": "linq",
"set": false,
"source": "platform"
}
],
"app_extensions": {
"apps": {}
}
}