Update certification evidence Developer Platform, Sandbox & Key Management
Updates partner-owned certification checks with status, evidence URL, and notes. MyStocks-owned approval checks cannot be marked passed or waived by partners.
Parameters This endpoint has no path or query parameters.
Headers Authorizationstring Required
Bearer sk_sandbox_<your_key> for sandbox requests.
Idempotency-Keystring header Required
Unique string that makes write calls safe to retry on network failure.
Required for money movement, trading, KYC, subscriptions, and webhook creation.
Deduplicated for 24 hours -- duplicate keys return the cached response.
HTTP 409 if a concurrent request with the same key is still in progress.
Example: dep_user42_1743152580
Request body Response fields statusin_progress | go_live_requested | approved
checklist[].descriptionstring
checklist[].requiredboolean
checklist[].ownerpartner | mystocks
progress.completedinteger
goLiveRequestedAtstring | null
Response codes 200Updated certification progress.
Request reference Production only https://mystocks.africa/api/v1/partner/certification
{
"allOf": [
{
"type": "object",
"properties": {
"partnerId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"in_progress",
"go_live_requested",
"approved"
]
},
"checks": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/CertificationStatus"
},
"evidenceUrl": {
"type": [
"string",
"null"
],
"format": "uri"
},
"notes": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"updatedBy": {
"type": [
"string",
"null"
]
}
}
}
},
"checklist": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"required": {
"type": "boolean"
},
"owner": {
"type": "string",
"enum": [
"partner",
"mystocks"
]
}
}
}
},
"progress": {
"type": "object",
"properties": {
"required": {
"type": "integer"
},
"completed": {
"type": "integer"
},
"percent": {
"type": "integer"
}
}
},
"goLiveRequestedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"approvedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
},
{
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
]
}cURL JavaScript Python
Copycurl -X PATCH 'https://mystocks.africa/api/v1/partner/certification' \
-H "Authorization: Bearer $MYSTOCKS_API_KEY" \
-H "Idempotency-Key: YOUR_UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"checks": {
"webhook_retry": {
"status": "passed",
"evidenceUrl": "https://trust.partner.example/mystocks/webhook-retry.pdf",
"notes": "Replay and retry tests passed in sandbox."
}
}
}'