Sha256: ee8ce2d818ba3cf4f98bd3cb4b96ef29d49dfd24d74597161b91c913c457086a
Contents?: true
Size: 709 Bytes
Versions: 7
Compression:
Stored size: 709 Bytes
Contents
module Paysafe module Api class CardPaymentsApi < BaseApi def create_authorization(**data) perform_post_with_object("/cardpayments/v1/accounts/#{account_number}/auths", data, Authorization) end def create_verification(**data) perform_post_with_object("/cardpayments/v1/accounts/#{account_number}/verifications", data, Verification) end def get_authorization(id:) perform_get_with_object("/cardpayments/v1/accounts/#{account_number}/auths/#{id}", Authorization) end def get_verification(id:) perform_get_with_object("/cardpayments/v1/accounts/#{account_number}/verifications/#{id}", Verification) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems