---
title: "PATCH /v1/agent/affiliate/me"
method: PATCH
path: "/v1/agent/affiliate/me"
tags: ["Affiliate"]
---

# PATCH /v1/agent/affiliate/me

`PATCH /v1/agent/affiliate/me`

## Request

- Base URL: `https://api.nowyourlink.com`
- URL: `https://api.nowyourlink.com/v1/agent/affiliate/me`
- Auth: OAuth 2 (authorization code, authorization URL `https://api.nowyourlink.com/oauth/authorize`, token URL `https://api.nowyourlink.com/oauth/token`, scopes: `affiliate:write`)

A new callback URL returns a signing secret once. An identical retry returns null for the secret. Never expose it in public tracking links.

## Request body

- object
  - `postbackUrl` string, nullable, required: Public HTTPS URL. Operator approval of its exact hostname is required before delivery. Null disables postbacks.

## Response `200`

Own partner data. Amounts are EUR cents. Cache-Control: no-store.

- object
  - `postbackUrl` string, nullable, required
  - `signingSecret` string, nullable, required
  - `postback_host_approved` boolean, required

## Other responses

- `400`: Invalid query, body or idempotency key.
- `401`: Session or delegated OAuth token required.
- `403`: Missing scope, inactive partner, unverified account or invalid Origin.
- `404`: Partner account is not activated.
- `409`: Payout threshold or Stripe verification requirements not met.
- `502`: Stripe unavailable. Retry the same request key after reconciliation.
- `503`: Integration not configured.

---

[API](https://skmtc.dev/nowyourlink/apis/nowyourlink-public-spotlight-api.md) · [All operations](https://skmtc.dev/nowyourlink/apis/nowyourlink-public-spotlight-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nowyourlink/apis/nowyourlink-public-spotlight-api/revisions/cd8408529b48?raw)
