Skip to main content
POST
Invoke an outbound proxy connection

Headers

Payrails-Authorization
string
required

The Payrails authorization token generated using the client ID and secret.

Example:

"Bearer abc123"

Payrails-Destination
string
required

The destination URL to be proxied after being processed by Payrails. Ensure that the domain is whitelisted in the connection settings via the portal. Target endpoint URL.

Example:

"https://your-partner.com/api/some-api-endpoint"

Path Parameters

connectionId
string<uuid>
required

Identifier of the resource in Payrails.

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.

Last modified on October 7, 2026