manualMarkAsCompleted
The manualMarkAsCompleted mutation allows API users to manually update the status of a transaction to completed. This is typically used for fallback or edge cases where the payment was confirmed externally but not captured by automated monitoring.
🔗 Endpoint
URL: https://argonpay.onrender.com/graphql
Method: POST
Content-Type: application/json
🧾 Mutation Structure
mutation ManualMarkAsCompleted($apiKey: String!, $transactionId: String!) {
manualMarkAsCompleted(apiKey: $apiKey, transactionId: $transactionId) {
code
message
}
}
``---
### 📥 Parameters
Name | Type | Required | Description |
|----------------|--------|----------|--------------------------------------------------|
| `apiKey` | String | ✅ | Your issued API key |
| `transactionId`| String | ✅ | The ID of the transaction to manually complete |
---
### ✅ Successful Response
```json
{
"data": {
"manualMarkAsCompleted": {
"code": 200,
"message": "Transaction 10048 marked as completed manually."
}
}
}🚫 Error Codes
Code
Description
200
Transaction was successfully marked complete
401
Invalid or expired API key
404
Transaction not found
500
Server-side error
🧪 Code Examples
Python Example
JavaScript Example
Last updated