---
updatedAt: 2026-08-05T11:36:35.000Z
agentTools:
  projectIndex: https://docs.striga.com/llms.txt
---

# Confirm transaction with OTP

TODO

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Business Wallets & Transactions",
    "description": "TODO"
  },
  "servers": [
    {
      "url": "https://www.sandbox.striga.com/api/v1/wallets"
    }
  ],
  "security": [
    {
      "apiKey": [],
      "authorization": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "paths": {
    "/business/transaction/confirm": {
      "post": {
        "summary": "Confirm transaction with OTP",
        "description": "TODO",
        "tags": [
          "wallets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessConfirmTransactionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessConfirmTransactionResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request. The request was unacceptable, often due to missing a required parameter.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BadRequestError"
                    },
                    {
                      "$ref": "#/components/schemas/BusinessNotFoundError"
                    },
                    {
                      "$ref": "#/components/schemas/RequestValidationError"
                    },
                    {
                      "$ref": "#/components/schemas/InvalidApplicationIdError"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Invalid authentication header",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/AuthError"
                    },
                    {
                      "$ref": "#/components/schemas/BusinessUnapprovedIdentityError"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessSuspendedError"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/GenericBusinessConfirmTransactionError"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "api-key",
        "description": "Your Striga API key"
      },
      "authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Your HMAC signature"
      }
    },
    "schemas": {
      "BusinessConfirmTransactionRequest": {
        "type": "object",
        "required": [
          "businessId",
          "challengeId",
          "verificationCode",
          "ip"
        ],
        "properties": {
          "businessId": {
            "type": "string",
            "format": "uuid",
            "description": "The Id of the business who is sending this transaction",
            "example": "cecaea44-47f2-439b-99a1-a35fefaf1eb6"
          },
          "challengeId": {
            "type": "string",
            "format": "uuid",
            "description": "The challengeId that you received when initiating the transaction",
            "example": "c63aa677-ad1f-4db7-bd33-72badc2ecf9d"
          },
          "verificationCode": {
            "type": "string",
            "description": "6 characters code. Default code for sandbox '123456'",
            "minLength": 6,
            "maxLength": 6,
            "example": "123456"
          },
          "ip": {
            "type": "string",
            "description": "IP address collected as the IP address from which the End User is making the withdrawal request. IMPORTANT - This will be a required parameter from the 15th of June 2023 and is optional until then.",
            "format": "ip",
            "example": "192.158.1.38"
          }
        }
      },
      "BusinessConfirmTransactionResponse": {
        "type": "object",
        "required": [
          "id",
          "sourceAccountId",
          "destinationAccountId"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "example": "90936049-a3a0-4ca8-8fb2-6c4ae93ae717"
          },
          "sourceAccountId": {
            "type": "string",
            "format": "alpha-numeric",
            "example": "0148ae0856b1457ff3b59f2ac965b58e"
          },
          "destinationAccountId": {
            "type": "string",
            "format": "alpha-numeric",
            "example": "5ad9f70b933ca275fee8de8ca684002d"
          },
          "memo": {
            "type": "string",
            "example": "extend"
          },
          "status": {
            "type": "string",
            "example": "COMMITTED"
          },
          "txType": {
            "type": "string",
            "example": "INTER_LEDGER_SEND"
          },
          "order": {
            "type": "object",
            "properties": {
              "price": {
                "type": "string"
              },
              "debit": {
                "type": "object",
                "properties": {
                  "currency": {
                    "type": "string"
                  },
                  "amountFloat": {
                    "type": "string",
                    "example": "5"
                  },
                  "amount": {
                    "type": "string",
                    "format": "big-number-amount",
                    "example": "500"
                  }
                }
              },
              "credit": {
                "type": "object",
                "properties": {
                  "currency": {
                    "type": "string"
                  },
                  "amountFloat": {
                    "type": "string",
                    "example": "5"
                  },
                  "amount": {
                    "type": "string",
                    "format": "big-number-amount",
                    "example": "500"
                  }
                }
              }
            }
          },
          "dateTime": {
            "type": "string",
            "format": "date-time",
            "example": "2023-08-23T11:31:26.575Z"
          },
          "balanceBefore": {
            "type": "object",
            "properties": {
              "balance": {
                "type": "string",
                "format": "big-number-amount",
                "example": "734321"
              },
              "currency": {
                "type": "string",
                "example": "cents"
              }
            }
          },
          "balanceAfter": {
            "type": "object",
            "properties": {
              "balance": {
                "type": "string",
                "format": "big-number-amount",
                "example": "734321"
              },
              "currency": {
                "type": "string",
                "example": "cents"
              }
            }
          },
          "sourceSyncedOwnerId": {
            "type": "string",
            "format": "uuid",
            "example": "b2ccf978-2da7-4ac9-9db7-5398c4c6b212"
          },
          "destinationSyncedOwnerId": {
            "type": "string",
            "format": "uuid",
            "example": "2d57625c-cd8c-4949-a380-326711b04337"
          }
        }
      },
      "AuthError": {
        "type": "object",
        "description": "Invalid authentication header",
        "required": [
          "message",
          "errorCode",
          "errorDetails"
        ],
        "properties": {
          "message": {
            "type": "string",
            "enum": [
              "Invalid authentication header"
            ]
          },
          "errorCode": {
            "type": "string",
            "enum": [
              "30014"
            ]
          },
          "errorDetails": {
            "type": "string"
          }
        }
      },
      "BadRequestError": {
        "type": "object",
        "description": "Bad request error",
        "required": [
          "message",
          "errorCode",
          "errorDetails"
        ],
        "properties": {
          "message": {
            "type": "string",
            "enum": [
              "Bad request error"
            ]
          },
          "errorCode": {
            "type": "string",
            "enum": [
              "00013"
            ]
          },
          "errorDetails": {
            "type": "string"
          }
        }
      },
      "RequestValidationError": {
        "type": "object",
        "description": "Invalid request body fields",
        "required": [
          "message",
          "errorCode",
          "errorDetails"
        ],
        "properties": {
          "message": {
            "type": "string",
            "enum": [
              "Invalid fields"
            ]
          },
          "errorCode": {
            "type": "string",
            "enum": [
              "00002"
            ]
          },
          "errorDetails": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "msg",
                "param"
              ],
              "properties": {
                "msg": {
                  "type": "string"
                },
                "param": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "InvalidApplicationIdError": {
        "type": "object",
        "description": "Invalid ApplicationId",
        "required": [
          "message",
          "errorCode",
          "errorDetails"
        ],
        "properties": {
          "message": {
            "type": "string",
            "enum": [
              "applicationId is required"
            ]
          },
          "errorCode": {
            "type": "string",
            "enum": [
              "00000"
            ]
          },
          "errorDetails": {
            "type": "string"
          }
        }
      },
      "BusinessNotFoundError": {
        "type": "object",
        "description": "Business details not found for the given businessId",
        "required": [
          "message",
          "errorCode",
          "errorDetails"
        ],
        "properties": {
          "message": {
            "type": "string",
            "enum": [
              "Business details not found for the given businessId"
            ]
          },
          "errorCode": {
            "type": "string",
            "enum": [
              "41004"
            ]
          },
          "errorDetails": {
            "type": "string"
          }
        }
      },
      "BusinessUnapprovedIdentityError": {
        "type": "object",
        "description": "Unapproved identity error",
        "required": [
          "message",
          "errorCode",
          "errorDetails"
        ],
        "properties": {
          "message": {
            "type": "string",
            "enum": [
              "Unapproved identity"
            ]
          },
          "errorCode": {
            "type": "string",
            "enum": [
              "30007"
            ]
          },
          "errorDetails": {
            "type": "string"
          }
        }
      },
      "BusinessSuspendedError": {
        "type": "object",
        "description": "Business suspended error",
        "required": [
          "message",
          "errorCode",
          "errorDetails"
        ],
        "properties": {
          "message": {
            "type": "string",
            "enum": [
              "Business is suspended"
            ]
          },
          "errorCode": {
            "type": "string",
            "enum": [
              "30046"
            ]
          },
          "errorDetails": {
            "type": "string"
          }
        }
      },
      "GenericBusinessConfirmTransactionError": {
        "type": "object",
        "description": "Generic business confirm transaction error",
        "required": [
          "message",
          "errorCode",
          "errorDetails"
        ],
        "properties": {
          "message": {
            "type": "string",
            "enum": [
              "Generic business confirm transaction error"
            ]
          },
          "errorCode": {
            "type": "string",
            "enum": [
              "61010"
            ]
          },
          "errorDetails": {
            "type": "string"
          }
        }
      }
    }
  }
}
```