You're viewing a demo portfolio

Join the waitlist
PRSM

submit_payment_otp

Active

Tool of Synchronity

declared in 0.2.0

STEP 3 (mobile_money only, when initiate_payment returned instruction.action == "submit_otp"). Submits the one-time password the buyer received to authorise the mobile-money charge. REQUIRES the same buyer_delegation_token used for initiate_payment. After submitting, poll get_payment_status until payment_status is "paid"/"processing" or "failed".

Parameters schema

{
  "type": "object",
  "required": [
    "order_id",
    "otp"
  ],
  "properties": {
    "otp": {
      "type": "string",
      "description": "One-time password entered by the buyer"
    },
    "site_id": {
      "type": "string",
      "description": "Registered site ID (optional if DEFAULT_SITE_ID is set)"
    },
    "order_id": {
      "type": "string",
      "description": "Order ID being paid for"
    },
    "buyer_delegation_token": {
      "type": "string",
      "description": "Delegation token from the buyer (same one used for initiate_payment). Required."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Synchronity

https://github.com/themewireco/synchronity

2/7 registries
View full server →