Update Merchant Metadata
Update the merchant token’s notification URL.
URL
POST https://apple-pay-gateway.apple.com/paymentservices/v1/merchantId/{merchantId}/merchantToken/updateMerchantMetadataPath Parameters
| Name | Type | Description |
|---|---|---|
merchantId Required | string | The merchant identifier issued by Apple. |
Header Parameters
| Name | Type | Description |
|---|---|---|
Accept Optional | string | The response format the client expects, for example, |
Content-Type Required | string | The format of the data sent in the request body, for example, |
x-request-id Required | string | The header used to uniquely identify the request. |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK | Successful response. | |
| 400 | Bad Request Content-Type: application/json | ErrorResponse | Bad request. |
| 403 | Forbidden Content-Type: application/json | ErrorResponse | Authorization failed. |
| 404 | Not Found Content-Type: application/json | ErrorResponse | Resource not found. |
| 500 | Internal Server Error Content-Type: application/json | ErrorResponse | Internal server error. |
Discussion
The merchant server calls this API to update the value of a merchant token’s tokenNotificationURL. This URL receives life-cycle and metadata update notifications from the Apple Pay servers about the Apple Pay merchant token.
HTTP Body
The request body you use to specify the updated merchant metadata.