Visa Developer Community

Helper

miVsa endpoint configuration

As an acquirer i want to register my api endpoint where i can receive OCT messages on payment completion. How to do that? 

2 REPLIES 2
Valued Supporter

Re: miVsa endpoint configuration

Hello,

We are looking at it and will get back to you.

Thanks

Sanobar

Highlighted
Helper

Re: miVsa endpoint configuration

Person to Merchant: https://{host}:{port}/pushpayment/transactions/receive/p2m

Sample code (...in a Srping controller):

@RequestMapping(value = "/pushpayment/transactions/receive/p2m", method = RequestMethod.GET, headers = "Accept=application/json")
	public String receiveMerchantPayment(String request){
		return receiveMerchantPaymentHandler.executeReceiveMerchantPaymentTransaction(request);
	}

Cash In: https://{host}:{port}/pushpayment/transactions/receive/ci

Sample code (...in a Srping controller):

@RequestMapping(value = "/pushpayment/transactions/receive/ci", method = RequestMethod.GET, headers = "Accept=application/json")
	public String receiveCashIn(String request){
		return receiveCashInPaymentHandler.executeReceiveCashInPaymentTransaction(request);
	}

 

Cash Out: https://{host}:{port}/pushpayment/transactions/receive/co

Sample code (...in a Srping controller):

@RequestMapping(value = "/pushpayment/transactions/receive/co", method = RequestMethod.GET, headers = "Accept=application/json")
	public String receiveCashOut(String request){
		return receiveCashoutPaymentHandler.executeReceiveCashOutPaymentTransaction(request);
	}

 

...and for advices:

 

@RequestMapping(value = "/pushpayment/advice/receive/p2m", method = RequestMethod.GET, headers = "Accept=application/json")
	public String receiveMerchantPaymentAdvice(String request){
		return receiveMerchantPaymentAdviceHandler.executeReceiveMerchantPaymentAdvice(request);
	}

	@RequestMapping(value = "/pushpayment/advice/receive/ci", method = RequestMethod.GET, headers = "Accept=application/json")
	public String receiveCashInAdvice(String request){
		return receiveCashInAdviceHandler.executeReceiveCashInPaymentAdvice(request);
	}

	@RequestMapping(value = "/pushpayment/advice/receive/co", method = RequestMethod.GET, headers = "Accept=application/json")
	public String receiveCashOutAdvice(String request){
		return receiveCashOutAdviceHandler.executeReceiveCashOutPaymentAdvice(request);
	}