DQR endpoint API details needed for hosting PWM transactions

What DQR endpoint API details can be used for hosting PWM transactions?

It seems you may be referring to the ‘Create Dynamic QR’ endpoint for hosting Pay with Maya (PWM) transactions. This endpoint is used to generate a dynamic QRPh code and is the correct API for your use case.

  • Endpoint: POST https://pg-sandbox.paymaya.com/payments/v1/qr/payments (Sandbox) or the production equivalent.
  • Authentication: Use HTTP Basic Authentication with your public API key (pk-xxxx) as the username and an empty password.
  • Request Body: Must include:
    • totalAmount (currency: “PHP”, value: “amount”)
    • redirectUrl object with success, failure, and cancel URLs
    • requestReferenceNumber (a unique merchant-generated UUID)
  • Response: Returns paymentId, redirectUrl, and qrCodeBody.
  • Usage: Use redirectUrl to redirect customers to Maya’s hosted payment page, or embed qrCodeBody directly into your self-hosted page.

For full details, refer to the Create Dynamic QR API reference.

For Sandbox concerns and other technical implementation inquiries, please get in touch with us via:

  • Sandbox Health Page: Check real-time service status updates.
  • Maya Developer Hub Service Desk: File
    a ticket in Sandbox.

To Know More:

We value your input and would love to hear your insights. Please submit you feedback here.