get refund

This block is part of the rabosmartpay group and was last modified in core v15.0.2.

get refund v15.0.2

Reads one refund's status. A refund starts PENDING.

In pins 3 + flow
  • flow
  • connection rabosmartpayconnection required
  • transaction id value required
  • refund id value required
Out pins 11 + flow
  • flow
  • connection rabosmartpayconnection
  • refund id value

    Read the refund back with get refund.

  • status value

    PENDING, then SUCCEEDED or FAILED.

  • amount number

    In cents.

  • currency value
  • transaction id value

    The payment transaction refunded.

  • refund transaction id value
  • refund object
  • success condition
  • error value

    Smart Pay's own message, e.g. merchantOrderId should only contain alphanumeric characters, or a sentinel for a problem in the wiring.

  • error code value

    Smart Pay's code (5017 validation, 5001 authorization) or a sentinel like SIGNATURE_MISMATCH.

refund status

Version history

Introduced in v15.0.2.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
Back to rabosmartpay Return to the main group to view all sub-groups Back to refunds Return to the group to view all blocks within this group