Apple Pay
Accept Apple Pay payments
Overview
Accept Apple Pay payments through the Cost+ API using the apple-pay payment method.
Supported Card Networks
| Brand | Type |
|---|---|
| Amex | Credit |
| Mastercard | Credit / Debit |
| Maestro | Debit |
| Visa | Credit / Debit |
| V Pay | Debit |
Request Example
To accept an Apple Pay payment, specify apple-pay as the payment_method in your order's transaction:
{
"currency": "EUR",
"amount": 2500,
"merchant_order_id": "order-ap-001",
"transactions": [
{
"payment_method": "apple-pay"
}
],
"return_url": "https://example.com/return",
"webhook_url": "https://example.com/webhook"
}Testing
Apple Pay cannot be tested in test mode. This is an Apple restriction. You must use a live environment to verify Apple Pay integration.
To test Apple Pay, you will need:
- A real Apple device (iPhone, iPad, or Mac with Touch ID / Face ID)
- A valid card added to Apple Wallet
- A live (non-test) Cost+ project
Integration Notes
- Apple Pay is available on Safari and in native iOS/macOS apps.
- Customers authenticate using Face ID, Touch ID, or their device passcode.
- The payment flow is handled through the Cost+ hosted payment page or via the Apple Pay JS API if you are building a custom integration.