Parameter

View as Markdown

The <Parameter> noun within the <Pay> verb enables you to:

  • Pass custom parameters to your payment processor when using a Generic Pay Connector
  • Include additional ACH payment details not covered by the standard <Pay> verb attributes

Attributes

AttributeTypeDefaultDescription
namerequiredstring-The identifier for your custom parameter.
valuerequiredstring-The value associated with the parameter name.

Examples

Adding custom parameters for generic transaction

1<?xml version="1.0" encoding="UTF-8"?>
2<Response>
3 <Pay chargeAmount="10.00" paymentConnector="https://example/signalwire/parameter/pay" action="https://example/signalwire/parameter/pay/action">
4 <Parameter name="my_custom_parameter_1" value="my_custom_value_1" />
5 </Pay>
6</Response>