Skip to main content

Resend Payment OTP

POST 

https://api.pesawise.xyz/api/payments/resend-otp

Resend an OTP to your webhook

Request

Header Parameters

    api-key stringrequired
    api-secret stringrequired

Bodyrequired

    paymentIduuidrequired

    Unique identifier of the payment.

    Example: ca959474-f61d-424c-8204-bd6e8abc6f11

Responses

Otp was sent successfully

Response Headers
    x-request-id

    Request Id for traceability

    x-event-type

    resend-otp

Schema
    messagestringrequired

    Description of the request.

    Example: Otp was sent successfully
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.pesawise.xyz/api/payments/resend-otp");
request.Headers.Add("Accept", "*/*");
var content = new StringContent("{\n \"paymentId\": \"ca959474-f61d-424c-8204-bd6e8abc6f11\"\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.pesawise.xyz
Parameters
— headerrequired
— headerrequired
Body required
{
  "paymentId": "ca959474-f61d-424c-8204-bd6e8abc6f11"
}
ResponseClear

Click the Send API Request button above and see the response here!