Last active
October 20, 2015 08:47
-
-
Save romanlehnert/e9a61f28d6f62c36fa77 to your computer and use it in GitHub Desktop.
Receive transactions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bankster::Client.credit_transfer( | |
bic: "HYVEDEMM417", | |
iban: "DE83763123456780253100", | |
name: "Max Mustermann", | |
purpose: "Miete", | |
amount: 3700, | |
currency: "EUR", | |
eref: "my-end-to-end-id" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bankster::Client.direct_debit( | |
bic: "HYVEDEMM417", | |
iban: "DE83763123456780253100", | |
name: "Max Mustermann", | |
purpose: "Miete", | |
amount: 3700, | |
currency: "EUR", | |
eref: "my-end-to-end-id", | |
mref: "my-sepa-mandate-ref" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bankster::Client.transactions(Date.new(2015,9,10), Date.new(2015,10,15)) | |
# => | |
[{ | |
type: "credit_transfer" | |
amount: 3700, | |
currency: "EUR", | |
booking_date: Thu, 15 Oct 2015, | |
valutation_date: Thu, 15 Oct 2015, | |
name: "Max Mustermann", | |
iban: "DE83763123456780253100", | |
bic: "HYVEDEMM417", | |
purpose: "Miete" | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment