---
title: "Apple Pay"
method: POST
path: "/PayAPI/PayAPIService.svc/ApplePayPayment"
---

# Apple Pay

`POST /PayAPI/PayAPIService.svc/ApplePayPayment`

### Initiate ApplePay Payment Request

## Request body

- object
  - `Amount` number, double, required — Transaction Amount. **Range:** 0.01 to 999999999.99 **Default:** No
  - `CreateToken` boolean, nullable — Create a Token for Future Use. ~ The token can be used only with the same iCredit user. **Default:** false
  - `CreditboxToken` string, uuid, required — Credit Box Identifier. **Format:** `UUID` **Default:** No
  - `IPNURL` string, url, nullable — IPN URL - After Success Payment. **Length:** 15 to 500 **Default:** No
  - `ParamJ` 0 | 2 | 5, nullable — Transaction Param J Type. **Options:** (0 = Immediate transaction 2 = CC check + Create token 5 = Pending transaction) **Default:** 0
  - `PreventDuplicates` boolean, nullable — Prevent Doubled Transactions. **Default:** true
  - `RedirectURL` string, URL, nullable — Thank You Page URL - After Successful Payment. **Length:** 15 to 500 **Default:** No

## Response `200`

Payment With Apple Pay Successful

- object
  - `error_code` integer — The Response Error code (0 = Success).
  - `client_message` string — The Client Error Message.
  - `debug_message` string — The Response Error Message.
  - `url` string, url — The URL to Complete the ApplePay Payment.

## Other responses

- `400` — Request Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/rivhit/apis/get-payment-url-22-12.md) · [All operations](https://skmtc.net/rivhit/apis/get-payment-url-22-12/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rivhit/get-payment-url-22-12/versions/ed5261a52458/schema)
