Class: Payassist::Transfer

Inherits:
Client
  • Object
show all
Defined in:
lib/payassist/transfer.rb

Overview

Transfer API

Instance Method Summary collapse

Methods inherited from Client

#handle_error, #interpret_response, #send_request

Instance Method Details

#p2card(data) ⇒ Object



9
10
11
12
# File 'lib/payassist/transfer.rb', line 9

def p2card(data)
  body = prepare_body("P2Card", data)
  send_request(path: "transfer/send-card-external", body: body)
end

#sbp(data) ⇒ Object



14
15
16
17
# File 'lib/payassist/transfer.rb', line 14

def sbp(data)
  body = prepare_body("SBP", data)
  send_request(path: "transfer/send-sbp-external", body: body)
end