OpenPayCompletionRequest

public protocol OpenPayCompletionRequest

The JSON request structure of the OpenPay Completions endpoint.

  • A merchant application specific reference number.

    This number should uniquely identify the transaction in the merchant’s system.

    Declaration

    Swift

    var clientReference: String { get }
  • The merchant order number of the transaction.

    Declaration

    Swift

    var orderNumber: String { get }
  • The merchants transaction date and time. The timestamp format is ISO8601.

    Declaration

    Swift

    var merchantTransactedAt: String { get }
  • List of completions

    Declaration

    Swift

    var completions: [OpenPayCompletion] { get }