Upload Certificate
PUT/v1/platform/certificates/upload
Upload the signed payment processing certificate issued by Apple. The CSR must be requested first. The certificate must be DER encoded and then Base64 encoded, sent either as the raw request body or as the cert parameter.
Request
- text/plain
Body
required
string
Responses
- 200
- 400
- 401
- 403
Successful response
- application/json
- Schema
- Example (from schema)
Schema
The CSR in PEM format to upload to Apple, present once requested
Possible values: [disabled, requested, enabled]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"pp_csr": "string",
"status": "disabled",
"enabled_at": "2024-07-29T15:51:28.071Z",
"created_at": "2024-07-29T15:51:28.071Z"
}
Business Error or validation error.
- application/json
- Schema
- Example (from schema)
Schema
Contains the error type
Human readable error message for the error
Contains string-array pair representing a field and list of validation errors.
{
"type": "invalid_request",
"message": null,
"errors": {
"foo": "this is returned for validation errors only"
}
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [authentication_error]
Possible values: [Invalid authorization credentials]
{
"type": "authentication_error",
"message": "Invalid authorization credentials",
"errors": null
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [api_error]
Possible values: [User not authorized]
{
"type": "api_error",
"message": "User not authorized",
"errors": null
}