# Upload Apple Pay certificate Uploads a signed certificate (.pem format) from Apple to Mercado Pago to complete the Apple Pay configuration. The certificate will be validated and stored securely. Use it after downloading the signed certificate from the Apple Developer Portal. In case of success, the request will return a response with status 200. **POST** `/certificates/certificate/upload` ## Response parameters - `certificate_id` (string, optional) Unique identifier for the uploaded certificate. - `certificate` (string, optional) Certificate content in PEM format. ## Errors | Status | Error | Description | | ------- | ------- | ----------- | | 400 | invalid_request | The request body is malformed or a required field is missing. Check the JSON structure and the required parameters. | | 400 | invalid_parameter | One of the parameters has an invalid value or format. Check the accepted values for each field. | | 401 | unauthorized | The credentials sent are invalid or absent. Check that you are sending valid credentials for the environment you are using. | | 500 | internal_server_error | An internal server error occurred. Wait a moment and try again. If the problem persists, contact Support with the x-request-id. | ## Request example ### cURL ```bash curl -X POST \ 'https://api.mercadopago.com/certificates/certificate/upload' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ' ``` ## Response example ```json { "certificate_id": "cert_123456789", "certificate": "-----BEGIN CERTIFICATE-----" } ```