Skip to main content
For Yape, the Ecommerce authorization method_details object identifies the wallet holder and validation code.

Main fields

1

Collect buyer data

Request the phone associated with Yape and the OTP for the payment attempt.
2

Build method_details

Include phone, otp, and an HTTPS callback_url when applicable.
3

Process the response

Keep the operation identifiers for later queries, cancellations, or reconciliation.
Do not store or reuse the OTP. Use it only for the operation for which it was generated.