Create Certificate
POST/v1/platform/samsung_pay_certificate
Generate the platform Samsung Pay CSR. The private key is stored by Moyasar and is never returned. If the platform already has a certificate, the existing one is returned.
Responses
- 200
- 201
- 401
- 403
Certificate already exists
- application/json
- Schema
- Example (from schema)
Schema
id uuid
certificate string
The CSR in PEM format to upload to the Samsung Developer Portal
created_at date-time
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"certificate": "string",
"created_at": "2024-07-29T15:51:28.071Z"
}
Certificate created
- application/json
- Schema
- Example (from schema)
Schema
id uuid
certificate string
The CSR in PEM format to upload to the Samsung Developer Portal
created_at date-time
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"certificate": "string",
"created_at": "2024-07-29T15:51:28.071Z"
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
type string
Possible values: [authentication_error]
message string
Possible values: [Invalid authorization credentials]
errors object
{
"type": "authentication_error",
"message": "Invalid authorization credentials",
"errors": null
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
type string
Possible values: [api_error]
message string
Possible values: [User not authorized]
errors object
{
"type": "api_error",
"message": "User not authorized",
"errors": null
}
Loading...