Skip to main content
A ForwardingRequest is a one-time execution that securely forwards sensitive data to external APIs. It allows you to make outbound requests using templated values from Method resources (such as payment instruments, secrets, and entities) without exposing the underlying sensitive data. Template expressions use the {{binding_name.path.to.field}} syntax to reference values from bound resources.

ForwardingRequest Objects

string
Unique identifier for the ForwardingRequest.
object
Map of binding name to resource ID. Allowed resources: payment_instrument, secret, entity.
string
URL for the forwarding request. Must be one of Method’s whitelisted destinations.
enum
HTTP method for the outbound request.
POST

POST method.

object
Key/value headers for the outbound request. Values may contain template expressions.
string
Stringified body for the outbound request. May contain template expressions.
object
Persisted view of the outbound request with all sensitive fields redacted.
object
Persisted view of the upstream response.
integer
Total time in milliseconds between starting the outbound request and receiving the response.
enum
The status of the ForwardingRequest.
completed

The forwarding request completed successfully.

failed

The forwarding request failed.

string
Timestamp of when the ForwardingRequest was created.
string
Timestamp of when the ForwardingRequest was last updated.