How to sender confirmed in pull funds?

saahon
Occasional Visitor

How to sender confirmed in pull funds?

Hi, I am java developer and I am junior in developer.visa.com. I need implement p2p transfer using VISA Direct api. For this transfer I used PullFunds-PushFunds api from VISA Direct. But, I have a question: how to sender in p2p transfer confirmed debit from her card's in PullFunds API? I didn't see in response of PullFunds api, url for redirect sender to OTP confirmation or 3DSecure confirmation? 

2 REPLIES 2
SyedSa
Community Moderator

Re: How to sender confirmed in pull funds?

Hi @saahon, Thank you for reaching out. An agent will get back to you soon. Until then, if any community member has information that may be helpful, feel free to reply to this thread.

API_Products
Visa Developer Support Specialist

Re: How to sender confirmed in pull funds?

Hey @saahon,

 

Implementing a P2P transfer with Visa Direct involves using both PullFunds and PushFunds APIs. To incorporate 3-D Secure (3DS) for sender authentication in the PullFunds API, follow these steps:

  1. Initiate the PullFunds API Call: Include necessary fields for 3DS, such as purchaseIdentifier with type=3DS, and provide the redirectUrl.

  2. Redirect the Sender for 3DS Authentication: After the PullFunds API call, you should receive a response with a 3DS URL. Redirect the sender to this URL for authentication.

  3. Handle the 3DS Authentication Response: Once the sender completes 3DS authentication, they will be redirected to your redirectUrl. Handle this callback to proceed with the transaction.

 

Here's a basic Java example using Spring Boot:

Step 1: Setup your Spring Boot application.

Step 2: Implement the PullFunds API call.

Step 3: Define the TransferRequest class.

 

In this example:

  • The /pullFunds endpoint initiates the PullFunds API call and redirects the sender to the 3DS authentication page.
  • The /3ds-callback endpoint handles the response after the sender completes the 3DS authentication.

Replace placeholders with your actual data and handle necessary error cases. Consult the Visa Direct API documentation for specific details and required fields.

 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.