Supported workflows
Before you begin
Complete these steps before you send your first VietQR payment through dLocal:- Set up a dLocal integration in your workspace. Follow the dLocal integration setup guide if you don’t have one yet.
- Ask dLocal to enable VietQR on your dLocal account for Vietnam.
- In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select VietQR under Payment methods, and save.
- Add VietQR as a payment option in your workflow.
Request fields for dLocal
Send these fields in the authorize request, in addition to the standard authorize fields. Payrails checks Required fields and returns an error when one is missing. Fields required by the PSP pass the Payrails checks but the PSP can decline the payment without them.Authorize a VietQR payment
Call authorize a payment withvietQR as the paymentMethodCode. The response includes the redirect to the QR code page.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How dLocal handles VietQR
- Payrails sends VietQR to dLocal as a QR payment for Vietnam, whatever the customer country code. dLocal uses the same QR method in other countries, so the Vietnam country code identifies the payment as VietQR.
- The payment stays pending until dLocal reports the result.