paystack-apple-pay

Installation
SKILL.md

Paystack Apple Pay

The Apple Pay API lets you register your domains for Apple Pay integration.

Depends on: paystack-setup for the paystackRequest helper.

Endpoints

Method Endpoint Description
POST /apple-pay/domain Register a domain
GET /apple-pay/domain List registered domains
DELETE /apple-pay/domain Unregister a domain

Note: Only one domain or subdomain can be registered per request.

Register Domain

await paystackRequest("/apple-pay/domain", {
  method: "POST",
  body: JSON.stringify({ domainName: "example.com" }),
});
// { status: true, message: "Domain successfully registered on Apple Pay" }

// Register a subdomain too
await paystackRequest("/apple-pay/domain", {
  method: "POST",
  body: JSON.stringify({ domainName: "pay.example.com" }),
});

List Registered Domains

const domains = await paystackRequest<{
  domainNames: string[];
}>("/apple-pay/domain");
// domains.data.domainNames → ["example.com", "pay.example.com"]

Unregister Domain

await paystackRequest("/apple-pay/domain", {
  method: "DELETE",
  body: JSON.stringify({ domainName: "example.com" }),
});
Related skills
Installs
11
GitHub Stars
1
First Seen
Mar 8, 2026