POST /v1/test_helpers/terminal/readers/{reader}/present_payment_method

Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.

Servers

Path parameters

Name Type Required Description
reader String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/x-www-form-urlencoded"

Request body fields

Name Type Required Description
card_present Object No

Simulated data for the card_present payment method.

card_present.number String No
interac_present Object No

Simulated data for the interac_present payment method.

interac_present.number String No
expand[] Array No

Specifies which fields in the response should be expanded.

type String No

Simulated payment type.

Possible values:

  • "card_present"
  • "interac_present"
amount_tip Integer No

Simulated on-reader tip amount.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.