Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation
Management

Store Apple Pay Configuration

OpenAPI Spec

Test this endpoint live

Open the same request directly in API Explorer.

Open in API Explorer

Server URL

POST
/public/api/v1/management/point-of-sales/{pointOfSaleId}/apple-pay-config

Create or replace the Apple Pay configuration for a Point of Sale. Supply the Apple Pay merchant identifier and Base64-encoded merchant certificate and merchant- and processing private key.

ePay validates that the supplied credentials form a usable Apple Pay configuration before saving them. Credential values are never returned; the response indicates whether each credential is configured.

Authorization

BearerAuth
headerAuthorizationBearer <token>

Path Parameters

pointOfSaleIdstring
Required

UUID of the Point of Sale to configure.

Format:
uuid

Request Body

merchantIdstring
Required

Apple Pay merchant identifier associated with the Point of Sale.

Length:
1 <= length <= 255
Example:
"merchant.com.example.shop"
merchantIdentityCertificatestring
Required

Base64-encoded Apple Pay merchant identity certificate.

Length:
1 <= length <= 32768
merchantPrivateKeystring
Required

Base64-encoded private key for the merchant identity certificate.

Length:
1 <= length <= 32768
processingPrivateKeystring
Required

Base64-encoded Apple Pay payment-processing private key.

Length:
1 <= length <= 32768

Response Body

application/json

application/json

application/json

application/json

curl -X POST 'https://payments.epay.eu/public/api/v1/management/point-of-sales/497f6eca-6276-4993-bfeb-53cbbbba6f08/apple-pay-config' \  -H 'Content-Type: application/json' \  -d '{  "merchantId": "merchant.com.example.shop",  "merchantIdentityCertificate": "string",  "merchantPrivateKey": "string",  "processingPrivateKey": "string"}'
{  "applePayConfig": {    "pointOfSaleId": "be6bff4f-7fac-43c0-9f6b-cf2cd45ed7d1",    "merchantId": "string",    "merchantIdentityCertificate": true,    "merchantPrivateKey": true,    "processingPrivateKey": true  }}