---
title: "apple-pay/default-apple-pay"
method: GET
path: "/apple-pay/default-apple-pay"
tags: ["Digital Wallet Endpoints"]
---

# apple-pay/default-apple-pay

`GET /apple-pay/default-apple-pay`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/apple-pay/default-apple-pay`
- Auth: none declared

This endpoint retrieves the default Apple Pay credit card associated with your VoPay account

## Query parameters

- `AccountID` string, required
- `Key` string, required
- `Signature` string, required
- `ClientAccountID` string

## Response `200`

- object
  - `Success` boolean, required: true if the request was successful, false if it failed
  - `ErrorMessage` string, required: Contains a description of the error if the request failed
  - `DefaultCreditCard` object, required: Array serialized as a JSON object (JSON_FORCE_OBJECT): numeric string keys '0','1',... Empty {} when no items. Default Apple Pay credit card associated with the Account or Client Account
    - `0` object
      - `ApplePayToken` string, required: A unique token associated with the credit card.
      - `CreditCardHolderName` string, required: Credit card holder name.
      - `CreditCardNumber` string, required: Masked credit card number.
      - `CreditCardExpiryYear` string, required: Expiry year of credit card.
      - `CreditCardExpiryMonth` string, required: Expiry month of credit card.
      - `CreditCardBrand` string, required: Credit card brand

---

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