Note : Please let us know your server IP list before start integration for whitelisting on our system. Note 2 : Please do not send dummy data for required fields.

Payment

  • Live URL : https://api. /pw/v3/applePay/payment
  • Test URL : https://testapi. /pw/v3/applePay/payment

CURL API REQUEST

See Post Request Example

Parameters

Parameter Name Detail Example Type Always There
apiKey Your Api Key provided from us. 4d41d21a935f5bba9dee7 c7be4a7ca04 Char 32 ✔
amount Amount in cents of the transaction. 1234 for 12.34 € 1550 for 15.50 USD Int ✔
currency The currency of transaction. EUR Char 3 ✔
referenceNo Your own transaction identifier. 1-1386413490-0089-14 Char 32 ✔
description Description of transaction. Crypto Payment Char 255 ✔
returnUrl Valid URL where the client is redirected after payment completion. https://www.yourstore.co m/order_confirmation_132 2_ABC Char 256 ✔
email Customer email address [email protected] Char 128 ✔
birthday The customer birth date. 1970-01-01 YYYY-MM-DD ✔
billingFirstName First name of the customer. John Char 64 ✔
billingLastName Last name of the customer. Doe Char 64 ✔
billingAddress1 The customer address 1. 26 green street Char 128 ✔
billingCity The customer city. Paris Char 64 ✔
billingPostcode The customer zip code. 75001 Char 16 ✔
billingCountry The customer country. FR Char 2 ✔
billingPhone The customer phone number.(Full international number) +905678764567 Char 16 ✔
paymentMethod Default selected payment method APPLEPAY Char 32 ✔

Response Examples

Successful Response

Parameter Name Detail Example
status Status of the transaction PENDING
amount Amount in cents of the transaction. 1234 for 12.34 € 1550 for 15.50
currency The currency of transaction EUR
type Authorization type AUTH
referenceNo Your own transaction identifier. 1-1386413490-1289-14
operation The operation type 3D
returnUrl Valid URL where the client is redirected after payment completion. https:// /return
paymentMethod Default selected payment method APPLEPAY
transactionId Our transaction identifier 123-123456789-123456
message Return message that includes details for response Waiting
code Response code of the message 283
purchaseUrl The URL which for your customers to be redirected to https://gateway. /payment/initialize/12-32345-3424323

Unsuccessful Response

Parameter Name Detail Example
status Status of the transaction DECLINED
message Return message that includes details for response Amount is required
code Response code of the message 188
  • Test URL : https://testapi. /pw/v3/applePay/payment
  • Live URL : https://api. /pw/v3/applePay/payment

!! IMPORTANT !!

When you receive push/pull notification, you should check amount to confirm last amount that should be deposit to customer's account