---
title: "Apple Pay"
method: POST
path: "/api/v1/payment-gateway/s2s/apple-pay"
tags: ["Embedded Apple Pay API"]
---

# Apple Pay

`POST /api/v1/payment-gateway/s2s/apple-pay`

## Request

- Base URL: `https://demo-api.edfapay.com`
- URL: `https://demo-api.edfapay.com/api/v1/payment-gateway/s2s/apple-pay`
- Auth: none declared

Generated from cURL: curl --location 'https://app-api.edfapay.com/api/v1/payment-gateway/s2s/apple-pay' \
--header 'X-API-KEY: <Your API Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "orderId": "12345",
  "amount": 1.00,
  "currency": "SAR",
  "customer": {
    "name": "John",
    "email": "john@edfapay.com",
    "phone": "+12345678"
  },
  "successUrl": "https://success.com",
  "failureUrl": "https://failure.com",
  "card": {
    "token": "{\"paymentData\":{\"data\":\"xxxxxxxxxxxxxx\",\"signature\":\"xxxxxxxxxx\",\"header\":{\"publicKeyHash\":\"xxxxxxxxx\",\"ephemeralPublicKey\":\"xxxxxxxxxxx\",\"transactionId\":\"xxxxxxxxxxxxxxx\"},\"version\":\"EC_v1\"},\"paymentMethod\":{\"displayName\":\"xxxx xxxx\",\"network\":\"xxxx\",\"type\":\"xxxx\"},\"transactionIdentifier\":\"xxxxxxx\"}"
  }
}'

## Headers

- `X-API-KEY` string
- `Content-Type` string

## Request body

- object

## Response `200`

Successful response

---

[API](https://skmtc.dev/edfapay/apis/edfapay-payment-gateway.md) - [All operations](https://skmtc.dev/edfapay/apis/edfapay-payment-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/edfapay/apis/edfapay-payment-gateway/revisions/aca72499466d?raw)
