---
title: "apple-pay/set-my-apple-pay"
method: POST
path: "/apple-pay/set-my-apple-pay"
tags: ["Digital Wallet Endpoints"]
---

# apple-pay/set-my-apple-pay

`POST /apple-pay/set-my-apple-pay`

## Request

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

This endpoint allows you to identify a Apple Pay credit card as belonging to the VoPay account holder. Optionally, you can use this endpoint to identify a Apple Pay credit card as being the VoPay account holder's default Apple Pay credit card. Note, a VoPay account can only have one default Apple Pay credit card.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `ApplePayToken` string, required: Apple Pay token
  - `ClientAccountID` string: Client Account ID
  - `SetAsDefault` boolean: Identify credit card as default Apple Pay credit card

## 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
  - `ApplePayToken` string, required: Apple Pay token
  - `IsDefault` boolean, required: Is this the VoPay account holder's default Apple Pay credit card

---

[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)
