Invoke an outbound proxy connection
Proxies an outbound request to the destination using the provided headers. Please note that you can configure connection using any of HTTP methods, not only POST.
Path parameters
Identifier of the resource in Payrails.
Headers
The Payrails authorization token generated using the client ID and secret.
Target endpoint URL.
The destination URL to be proxied after being processed by Payrails. Ensure that the domain is whitelisted in the connection settings via the portal.
Response
Returns the response from the destination URL. Although it was demonstrated to return raw data, the raw response is passed to the proxy merchant, which aligns with the real-world use case. In a real scenario, the merchant would not return actual card data — this is just a sample response to demonstrate the proxy use case.