Resend Payment OTP
POST /api/payments/resend-otp
Resend an OTP to your webhook
Header Parameters
- api-key string required
- api-secret string required
- application/json
Request Body required
- paymentId uuid required
Unique identifier of the payment.
Responses
- 201
- 400
Otp was sent successfully
Response Headers
x-request-id any
Request Id for traceability
- */*
- Schema
- Example (from schema)
Schema
- message string required
Description of the request.
{
"message": "Otp was sent successfully"
}
Error occurred - bad request
- */*
- Schema
- Example (from schema)
Schema
- requestId uuid
Request Id for traceability
- detail string
Detail of the message.
- status string
Possible values: [
API_KEYS_INVALID
,INTERNAL_ERROR
,API_NOT_ACTIVATED
,WEBHOOK_NOT_SPECIFIED_FOR_OTP
,PAYMENT_NOT_FOUND
]Status
{
"requestId": "d4265597-5317-45fd-8d2f-8012870633d5",
"detail": "API key not valid or Internal error",
"status": "INTERNAL_ERROR"
}
Loading...