Get account Apple Pay registration

get/accounts/{id}/method_of_payments/apple_pay

The GET /accounts/{id}/method_of_payments/apple_pay allows to look up merchant registration for Apple Pay.

SecurityappIdAuth and appTokenAuth
Request
path Parameters
id
required
string [ 1 .. 255 ] characters

ID of the merchant account, generated by WePay when the account is created.

header Parameters
Api-Version
required
string
Example: 3.0
Unique-Key
string
Responses
200
Response Schema: application/json
domain_names
required
Array of strings

A list of fully qualified domain names for Apple Pay merchant registration.

partner_merchant_name
required
string <= 1024 characters

A human-readable name for the merchant to register with Apple.

api_version
string
id
string or null [ 1 .. 255 ] characters

A reference number your platform assigns to an Item.

merchant_url
string

An optional field in which you provide the website’s top-level domain.

object

Details the owner resource and owner path.

path
string

The HTTP path of the resource. The path can be used to retrieve details about the resource and perform actions on it.

resource
string

Helps organize information by identifying the resource type of the object data.

Value: Description
method_of_payments

Payment methods registration

400

INVALID_PARAMS

403

NOT_AUTHORIZED

500

UNEXPECTED_ERROR

Request samples
Response samples
application/json
{
  • "domain_names": [
    • "checkoutA.merchant1.myplatform.com",
    • "checkoutB.merchant1.myplatform.com"
    ],
  • "merchant_url": "merchant1.myplatform.com",
  • "partner_merchant_name": "Merchant 1",
  • "id": null,
  • "owner": {
    • "id": "9647b114-55ca-4c58-8072-d424d879ac06",
    • "path": "/accounts/9647b114-55ca-4c58-8072-d424d879ac06",
    • "resource": "accounts"
    },
  • "path": "/accounts/9647b114-55ca-4c58-8072-d424d879ac06/method_of_payments/apple_pay",
  • "resource": "method_of_payments",
  • "api_version": "3.2"
}