The POST /accounts/{id}/method_of_payments/apple_pay/unregister is used to unregister accounts to Apple Pay.
Api-Version required | string Example: 3.0 |
Content-Type required | stringapplication/json Example: application/json |
Unique-Key | string |
WePay-Risk-Token | string This header is required when tokenizing Payment Methods, Legal Entities, and Payout Methods when the tokenization JS library is not being used. |
Client-IP | string This header is required when tokenizing Payment Methods, Legal Entities, and Payout Methods when the tokenization JS library is not being used. |
INVALID_PARAMS
NOT_AUTHORIZED
UNEXPECTED_ERROR
{- "domain_names": [
- "checkoutA.merchant1.myplatform.com",
- "checkoutB.merchant1.myplatform.com"
], - "reason": "A really good reason."
}
{- "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.1"
}