Invoke an outbound proxy connectionAsk AIpost https://api.staging.payrails.io/token/connections/{connectionId}/proxyProxies 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 ParamsconnectionIduuidrequiredIdentifier of the resource in Payrails.HeadersPayrails-AuthorizationstringrequiredThe Payrails authorization token generated using the client ID and secret.Payrails-DestinationstringrequiredThe destination URL to be proxied after being processed by Payrails. Ensure that the domain is whitelisted in the connection settings via the portal.acceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsonapplication/xmlAllowed:application/jsonapplication/xmlResponses 200Returns 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. 413Content Too Large.Updated 8 months ago