Skip to main content

pay.parameters

The parameters object within the pay method enables you to:

  • Pass custom parameters to your payment processor
  • Include additional payment details not covered by the standard pay attributes
NameTypeDescription
parametersOptionalobject[]-Array of parameter objects to pass to your payment processor.

Parameter object

NameTypeDescription
nameRequiredstringThe identifier for your custom parameter. This will be the key in the parameters object.
valueRequiredstringThe value associated with the parameter. This will be the value in the parameters object.

Examples

Adding custom parameters for generic transaction

version: 1.0.0
sections:
main:
- pay:
charge_amount: "10.00"
payment_connector_url: "https://example/signalwire/parameter/pay"
parameters:
- name: "my_custom_parameter_1"
value: "my_custom_value_1"