Payment Method Domains
Create Payment Method Domain
Changed onRegisters a hostname with the wallet provider and attempts verification inline. Returns verified when the provider fetched the domain-association file (for Apple Pay, /.well-known/apple-developer-merchantid-domain-association), or pending when it could not: host the file, then retry with POST /payment_method_domains/:id/verify.
post/payment_method_domains
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/payment_method_domains
- Auth: HTTP bearer
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"hostname": "pending.shinetime.com"
}Response
domain registered as pending when verification fails
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"hostname": "checkout.shinetime.com",
"id": "pmd_xxxxxxxxxxxxxx",
"provider": "apple",
"status": "verified",
"updated_at": "2026-01-01T12:00:00.000Z"
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info