cURL
curl --request POST \ --url https://prod-api.pcxpay.com/v1/payment-links/otp \ --header 'Content-Type: application/json' \ --data ' { "email": "customer@example.com" } '
{ "message": "OTP sent successfully" }
Sends a one-time password to the specified email address. The OTP is used to gate access to a payment link. No authentication required.
Email address to send the OTP to.
"customer@example.com"
OTP sent successfully.
"OTP sent successfully"