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
REQUIRED
400Request error.
invalid_request
The request body is malformed or a required field is missing. Check the JSON structure and the required parameters.
invalid_parameter
One of the parameters has an invalid value or format. Check the accepted values for each field.
401Authentication error.
unauthorized
The credentials sent are invalid or absent. Check that you are sending valid credentials for the environment you are using.
500Server error.
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.
curl -X POST \
'https://api.mercadopago.com/certificates/certificate/upload'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-8*********88776-122*********fc20dede6*********a497d7225*********64' \
{
"certificate_id": "cert_123456789",
"certificate": "-----BEGIN CERTIFICATE-----"
}