module PayuAPI
This methods allows to retrieve paymethods which are enabled for pos. For merchants with token payments enabled it also retrieves user payments tokens. Token payments requires OAuth token with grant type trusted_merchant.
Constants
- VERSION
Public Class Methods
signature_valid?(body:, headers:, second_key:)
click to toggle source
# File lib/payu_api.rb, line 28 def self.signature_valid?(body:, headers:, second_key:) signature = BuildSignature.new(body: body, second_key: second_key).call headers['OpenPayU-Signature'] == signature end