Preview. The API is shared with design partners and may change before launch. Register interest for sandbox access.
Merchants
Platforms, agencies and payment providers create merchants through the Partner API, then act for them with the
Phew-Merchant header. See Platforms and agencies for the full flow.
The merchant object
Section titled “The merchant object”{ "id": "mer_01JD7Z4K2Q8V6N3R5T7W9Y1A3C", "object": "merchant", "status": "active", "legal_name": "Nordic Bikes AS", "organisation_number": "912345678", "country": "NO", "store_url": "https://nordicbikes.no", "reference": "acct_88123", "commission": { "partner_share": 0.25 }, "onboarding_url": null, "created_at": "2026-10-20T10:03:18Z"}status enum pending (waiting for the merchant to accept), in_review, active, suspended or closed.
reference string commission.partner_share number Share of the merchant commission paid to you, from 0 to 1, within your partner agreement.
onboarding_url string One-time link for the merchant to accept the terms. Present while pending; single use, expires after 7 days.
Create a merchant
Section titled “Create a merchant”partner-api.getphew.com/v1/merchants merchants:writeRequest body
legal_name string requiredorganisation_number string requiredcountry.country string requiredstore_url string requiredcontact_email string requiredreference string commission object partner_share, from 0 to 1. Defaults to your agreement’s default.Retrieve a merchant
Section titled “Retrieve a merchant”partner-api.getphew.com/v1/merchants/{id} merchants:writeList merchants
Section titled “List merchants”partner-api.getphew.com/v1/merchants merchants:writeFilter with status or reference; paginate with limit and starting_after.
Update a merchant
Section titled “Update a merchant”partner-api.getphew.com/v1/merchants/{id} merchants:writeYou can update store_url, contact_email, reference and commission. Changes to commission take effect from the
next statement period.
New onboarding link
Section titled “New onboarding link”partner-api.getphew.com/v1/merchants/{id}/onboarding_link merchants:writeIssues a new onboarding_url for a pending merchant and invalidates the previous one.