---
title: "paypal/set-my-recipient"
method: POST
path: "/paypal/set-my-recipient"
tags: ["PayPal Endpoints"]
---

# paypal/set-my-recipient

`POST /paypal/set-my-recipient`

## Request

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

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

## 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
  - `PayPalToken` string, required: The token identifying the PayPal wallet to send funds to.
  - `ClientAccountID` string: Client Account ID
  - `SetAsDefault` boolean: Identify credit card as default PayPal recipient

## 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
  - `PayPalToken` string, required: PayPal recipient token
  - `IsDefault` boolean, required: Is this the VoPay account holder's default PayPal recipient

---

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