VRPlinkRecord

public struct VRPlinkRecord : Codable
  • Paylink Id of the payment

    Declaration

    Swift

    public let uniqueID: String?
  • Client Id of the payment

    Declaration

    Swift

    public let clientID: String?
  • Tenant id of the API consumer

    Declaration

    Swift

    public let tenantID: Int?
  • id

    A system assigned unique identification for the payment. You may need to use this id to query payments or initiate a refund.

    Declaration

    Swift

    public let id: String?
  • An identification number for the payment that is assigned by the bank. Can have different formats for each bank.

    Declaration

    Swift

    public let bankReferenceID: String?
  • A unique and one time use only URL from the PSU’s bank. You will need to redirect the PSU to this link for them to authorise a payment.

    Declaration

    Swift

    public let dateCreated: String?
  • Unique identification string assigned to the bank by our system.

    Declaration

    Swift

    public let bankID: String?
  • Status of the VRP flow

    • Enum: “Initial” “AwaitingAuthorization” “Authorised” “Revoked” “Expired” “Canceled” “Failed” “Rejected” “Abandoned”

    Declaration

    Swift

    public let status: String?
  • The description that you provided with the request (if any).

    Declaration

    Swift

    public let description: String?
  • The reference that you provided with the request.

    Declaration

    Swift

    public let reference: String?
  • The merchantID that you provided with the request (if any).

    Declaration

    Swift

    public let merchantID: String?
  • The merchantUserID that you provided with the request (if any).

    Declaration

    Swift

    public let merchantUserID: String?
  • The URL of the Tenant that the PSU will be redirected at the end of payment process.

    Declaration

    Swift

    public let redirectURL: String?
  • It determines which type of payment operation will be executed by the Gateway.

    • Enum: “Sweeping” “Vrp”

    Declaration

    Swift

    public let type: VRPType?
  • It is the account that will receive the payment.

    Declaration

    Swift

    public let creditorAccount: PayByBankAccountResponse?
  • It is the account from which the payment will be taken.

    Declaration

    Swift

    public let debtorAccount: PayByBankAccountResponse?
  • Failure reason of the failed payments

    Declaration

    Swift

    public let failureMessage: String?
  • Indicates Validity Start Date in ISO 8601 format.

    Declaration

    Swift

    public let validFrom: Date?
  • ndicates Validity End Date in ISO 8601 format.

    Declaration

    Swift

    public let validTo: Date?
  • If you are set true, no redirect after vrp.

    Declaration

    Swift

    public let dontRedirect: Bool?
  • Declaration

    Swift

    public init(uniqueID: String?,
                clientID: String?,
                tenantID: Int?,
                id: String?,
                bankReferenceID: String?,
                dateCreated: String?,
                bankID: String?,
                status: String?,
                description: String?,
                reference: String?,
                merchantID: String?,
                merchantUserID: String?,
                redirectURL: String?,
                type: VRPType?,
                creditorAccount: PayByBankAccountResponse?,
                debtorAccount: PayByBankAccountResponse?,
                failureMessage: String?,
                validFrom: Date?,
                validTo: Date?,
                dontRedirect: Bool?)