---
page_source: https://docs.test.juspay.io/resources-barclays/docs/common-resources/get-direct-acs-url
page_title: Get direct ACS URL
---


# Direct ACS URL integration



There are a few PG’s in Express Checkout framework which return back direct ACS URL of the Issuer’s bank, instead of PG’s own URL. Merchant can benefit by this integration so that latency of user to land on ACS page can be reduced. 

Currently this feature is in beta, please contact you KAM before integrating this feature.

In the /txns API the following parameter needs to be added



| Parameter name | Type | Comments |
|---|---|---|
| source_params | Boolean | If this parameter is passed as "true" then Express Checkout will return back the ACS URL given by PG. Merchant should implement both GET and POST methods because of different implementations by PGs. Please have a look at sample request response |



#### Request API Code Snippet:

```request api
curl -X POST https://api.juspay.in/txns \
-d "order_id=:order_id" \
-d "merchant_id=:merchant_id" \
-d "payment_method_type=CARD" \
-d "payment_method=VISA" \
-d "card_number=4242424242424242" \
-d "card_exp_month=10" \
-d "card_exp_year=20" \
-d "name_on_card=Name" \
-d "card_security_code=111" \
-d "redirect_after_payment=true" \
-d "source_params=true"\
-d "format=json"

```



#### Response API Code Snippet:

```response api
{
  "order_id": ":order_id",
  "txn_id": ":txn_id",
  "status": "PENDING_VBV",
  "payment": {
    "authentication": {
      "method": "POST", // handle GET & POST both
      "url": "https://testbank.com/acs/8340a507",
	"params":{ // dynamic key value pair based on selected PG
		"PaReq":"U45600005134",
		"MD":"eJxtUmtvgjAU/SuE76MtipvmUtONLLIE1FmW+GlhpRGcgPLwsV+/FnVuyZpA7rkcTs65tzA+5htjL6s6KwvXJBY2DVmIMsmKlWtG/PnuwRxT4GklpbeQoq0khUDWdbySRpa45nvUdwZYHYf08BCbFGbsVe4oXDSpkrRsQFeofq5EGhcNhVjsHv2Qku4AukDIZeV7NGSAzhUUcS7pS7SYsWXEOKAOgyjboqlOtOcMAF0BtNWGpk2zrUcItXFjfWSbTSLrT0uUOSD9FdDNwazVVa3UjllCg7V/CLlP3vichGt2CDxGAh4cppy5gDQDRLzfK16keaf/eR0FkriR1Ma2jR3bMchg1LsfEWW060Oca7/aukEwtjBW6c8t2GpL7Az0WDHRL0C/+6DWUKktXcNfEcjjtiykYqiB/9Sg8gukct/SPk309EWj5+zN+1O+7MlJ2tdPwP2vkLmu3kdH0KKZGq09JGdVDQBpCXRZNbpcCFX9uSjfqEfEKw==",
		"TermUrl" : "https://api.juspay.in/pay/response/mid/txnUuid"

}
    }
  }
}

```
