paystack-apple-pay
SKILL.md
Paystack Apple Pay
The Apple Pay API lets you register your domains for Apple Pay integration.
Depends on: paystack-setup for the
paystackRequesthelper.
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" }),
});
Weekly Installs
8
Repository
rexedge/paystackGitHub Stars
1
First Seen
8 days ago
Security Audits
Installed on
opencode8
github-copilot8
cursor8
gemini-cli7
codex7
amp7