Skip to content

lemonwaysas/ruby-client-direckit-json2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

⚠️WARNING: This client is deprecated⚠️

ruby-client-direckit-json2

Examples in Ruby on Rails calling DirectKit JSON2

  • Register a Payer Wallet (RegisterWallet)
  • Register a Receiver Wallet (RegisterWallet)
  • Update email for Receiver Wallet (UpdateWalletDetails)
  • Register a credit card for Payer Wallet (RegisterCard)
  • Pay 100.00€ to Payer Wallet with the registered card (MoneyInWithCardId)
  • Send 10.00€ from Payer Wallet to Receiver Wallet (SendPayment)
  • Register an IBAN for Receiver Wallet (RegisterIBAN)
  • Take 10.00€ from Receiver Wallet to the registered IBAN (MoneyOut)

Configuration

  • Controller: scenario_controller.rb
DIRECKIT_URL = "https://sandbox-api.lemonway.fr/mb/{#yourCompany}/dev/directkitjson2/Service.asmx"
LOGIN = "society"
PASSWORD = "123456"
LANGUAGE = "en"
IS_SANDBOX = true
  • View: index.html.erb

Ruby on Rails + Lemon Way API (JSON2)

Common Scenario

Register a Payer Wallet (RegisterWallet)

Request

{
  :wallet => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
  :clientMail => "[email protected]",
  :clientFirstName => "Payer",
  :clientLastName => "Payer"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.RegisterWalletResult",
    "WALLET" => {
      "ID" => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
      "LWID" => "39271"
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc
  • LWID: 39271

Get the details of Payer Wallet by ID (GetWalletDetails)

Request

{
  :wallet => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.GetWalletDetailsResult",
    "WALLET" => {
      "ID" => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
      "BAL" => "0.00",
      "NAME" => "Payer PAYER",
      "EMAIL" => "[email protected]",
      "DOCS" => [],
      "IBANS" => [],
      "STATUS" => "5",
      "BLOCKED" => "0",
      "SDDMANDATES" => [],
      "LWID" => "39271",
      "CARDS" => [],
      "FirstName" => nil,
      "LastName" => nil,
      "CompanyName" => nil,
      "CompanyDescription" => nil,
      "CompanyWebsite" => nil,
      "isDebtor" => nil,
      "payerOrBeneficiary" => nil
    },
     "E" => nil
  }
}

Result

  • ID: Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc
  • BAL: 0.00
  • NAME: Payer PAYER
  • EMAIL: [email protected]
  • DOCS: []
  • IBANS: []
  • STATUS: 5
  • BLOCKED: 0
  • SDDMANDATES: []
  • LWID: 39271
  • CARDS: []
  • FirstName:
  • LastName:
  • CompanyName:
  • CompanyDescription:
  • CompanyWebsite:
  • isDebtor:
  • payerOrBeneficiary:

Register a Receiver Wallet (RegisterWallet)

Request

{
  :wallet => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
  :clientMail => "[email protected]",
  :clientFirstName => "Receiver",
  :clientLastName => "Receiver"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.RegisterWalletResult",
    "WALLET" => {
      "ID" => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
      "LWID" => "39272"
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53
  • LWID: 39272

Get the details of Receiver Wallet by email (GetWalletDetails)

Request

{
  :email => "[email protected]"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.GetWalletDetailsResult",
    "WALLET" => {
      "ID" => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
      "BAL" => "0.00",
      "NAME" => "Receiver RECEIVER",
      "EMAIL" => "[email protected]",
      "DOCS" => [],
      "IBANS" => [],
      "STATUS" => "5",
      "BLOCKED" => "0",
      "SDDMANDATES" => [],
      "LWID" => "39272",
      "CARDS" => [],
      "FirstName" => nil,
      "LastName" => nil,
      "CompanyName" => nil,
      "CompanyDescription" => nil,
      "CompanyWebsite" => nil,
      "isDebtor" => nil,
      "payerOrBeneficiary" => nil
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53
  • BAL: 0.00
  • NAME: Receiver RECEIVER
  • EMAIL: [email protected]
  • DOCS: []
  • IBANS: []
  • STATUS: 5
  • BLOCKED: 0
  • SDDMANDATES: []
  • LWID: 39272
  • CARDS: []
  • FirstName:
  • LastName:
  • CompanyName:
  • CompanyDescription:
  • CompanyWebsite:
  • isDebtor:
  • payerOrBeneficiary:

Update email for Receiver Wallet (UpdateWalletDetails)

Request

{
  :wallet => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
  :newEmail => "new-Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53@lemonway.com"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.UpdateWalletDetailsResult",
    "WALLET" => {
      "ID" => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
      "LWID" => "39272"
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53
  • LWID: 39272

Receiver Wallet with the new email (GetWalletDetails)

Request

{
  :wallet => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.GetWalletDetailsResult",
    "WALLET" => {
    "ID" => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
    "BAL" => "0.00",
    "NAME" => "Receiver RECEIVER",
    "EMAIL" => "new-ruby-receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53@lemonway.com",
    "DOCS" => [],
    "IBANS" => [],
    "STATUS" => "5",
    "BLOCKED" => "0",
    "SDDMANDATES" => [],
    "LWID" => "39272",
    "CARDS" => [],
    "FirstName" => nil,
    "LastName" => nil,
    "CompanyName" => nil,
    "CompanyDescription" => nil,
    "CompanyWebsite" => nil,
    "isDebtor" => nil,
    "payerOrBeneficiary" => nil
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53
  • BAL: 0.00
  • NAME: Receiver RECEIVER
  • EMAIL: new-ruby-receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53@lemonway.com
  • DOCS: []
  • IBANS: []
  • STATUS: 5
  • BLOCKED: 0
  • SDDMANDATES: []
  • LWID: 39272
  • CARDS: []
  • FirstName:
  • LastName:
  • CompanyName:
  • CompanyDescription:
  • CompanyWebsite:
  • isDebtor:
  • payerOrBeneficiary:

Register a card for Payer Wallet (RegisterCard)

Request

{
  :wallet => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
  :cardType => "1",
  :cardNumber => "5017670000006700",
  :cardCode => "123",
  :cardDate => "12/2019"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.RegisterCardResult",
    "CARD" => {
      "ID" => "13174",
      "EXTRA" => {
        "IS3DS" => "0",
        "CTRY" => "",
        "AUTH" => "651163",
        "NUM" => "501767XXXXXX6700",
        "EXP" => "12/2019"
      }
    },
    "E" => nil
  }
}

Result

  • ID: 13174
  • EXTRA:
    • IS3DS: 0
    • CTRY:
    • AUTH: 651163
    • NUM: 501767XXXXXX6700
    • EXP: 12/2019

Pay with the registered card 13174 into Payer Wallet (MoneyInWithCardId)

Request

{
  :wallet => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
  :cardId => "13174",
  :amountTot => "100.00",
  :amountCom => "10.00",
  :comment => "(Ruby tuto) MoneyInWithCardId 100.00 to Payer"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.MoneyInResult",
    "TRANS" => {
      "HPAY" => {
        "ID" => "50629",
        "MLABEL" => "501767XXXXXX6700",
        "DATE" => "15/09/2017 16:14:54",
        "TIME" => nil,
        "SEN" => "",
        "REC" => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
        "DEB" => "0.00",
        "CRED" => "90.00",
        "COM" => "10.00",
        "MSG" => "(Ruby tuto) MoneyInWithCardId 100.00 to Payer",
        "STATUS" => "3",
        "EXTRA" => {
          "IS3DS" => "0",
          "CTRY" => "",
          "AUTH" => "056266",
          "NUM" => nil,
          "EXP" => nil,
          "TYP" => nil
        },
        "INT_STATUS" => nil,
        "IS_FEE" => nil,
        "FEE_REF" => nil,
        "TYPE" => nil,
        "INT_MSG" => nil,
        "ORIGIN_ID" => nil,
        "PRIVATE_DATA" => nil,
        "SCHEDULED_DATE" => nil,
        "MTOKEN" => nil,
        "METHOD" => nil,
        "MID" => nil,
        "FROM_MONEYIN" => nil,
        "CARD_ID" => nil,
        "REFUND" => nil,
        "VCC" => nil
      }
    },
    "E" => nil
  }
}

Result

  • HPAY:
    • ID: 50629
    • MLABEL: 501767XXXXXX6700
    • DATE: 15/09/2017 16:14:54
    • TIME:
    • SEN:
    • REC: Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc
    • DEB: 0.00
    • CRED: 90.00
    • COM: 10.00
    • MSG: (Ruby tuto) MoneyInWithCardId 100.00 to Payer
    • STATUS: 3
    • EXTRA:
      • IS3DS: 0
      • CTRY:
      • AUTH: 056266
      • NUM:
      • EXP:
      • TYP:
    • INT_STATUS:
    • IS_FEE:
    • FEE_REF:
    • TYPE:
    • INT_MSG:
    • ORIGIN_ID:
    • PRIVATE_DATA:
    • SCHEDULED_DATE:
    • MTOKEN:
    • METHOD:
    • MID:
    • FROM_MONEYIN:
    • CARD_ID:
    • REFUND:
    • VCC:

Payer Wallet after the payment with card: 100.00 - 10.00 = 90.00 (GetWalletDetails)

Request

{
  :wallet => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.GetWalletDetailsResult",
    "WALLET" => {
      "ID" => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
      "BAL" => "90.00",
      "NAME" => "Payer PAYER",
      "EMAIL" => "[email protected]",
      "DOCS" => [],
      "IBANS" => [],
      "STATUS" => "5",
      "BLOCKED" => "0",
      "SDDMANDATES" => [],
      "LWID" => "39271",
      "CARDS" => [
        {
          "ID" => "13173",
          "EXTRA" => {
            "IS3DS" => "0",
            "CTRY" => "",
            "AUTH" => "625272",
            "NUM" => "501767XXXXXX6700",
            "EXP" => "12/2019",
            "TYP" => "VISA"
          }
        },
        {
          "ID" => "13174",
          "EXTRA" => {
            "IS3DS" => "0",
            "CTRY" => "",
            "AUTH" => "651163",
            "NUM" => "501767XXXXXX6700",
            "EXP" => "12/2019",
            "TYP" => "VISA"
            }
         }
       ],
      "FirstName" => nil,
      "LastName" => nil,
      "CompanyName" => nil,
      "CompanyDescription" => nil,
      "CompanyWebsite" => nil,
      "isDebtor" => nil,
      "payerOrBeneficiary" => nil
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc
  • BAL: 90.00
  • NAME: Payer PAYER
  • EMAIL: [email protected]
  • DOCS: []
  • IBANS: []
  • STATUS: 5
  • BLOCKED: 0
  • SDDMANDATES: []
  • LWID: 39271
  • CARDS:
    • ID: 13173
    • EXTRA:
      • IS3DS: 0
      • CTRY:
      • AUTH: 625272
      • NUM: 501767XXXXXX6700
      • EXP: 12/2019
      • TYP: VISA
  • FirstName:
  • LastName:
  • CompanyName:
  • CompanyDescription:
  • CompanyWebsite:
  • isDebtor:
  • payerOrBeneficiary:

Payer send 10.00 to Receiver (SendPayment)

Request

{
  :debitWallet => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
  :creditWallet => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
  :amount => "10.00",
  :message => "(Ruby tuto) SendPayment 10.00 from Payer to Receiver"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.SendPaymentResult",
    "TRANS_SENDPAYMENT" => {
      "HPAY" => {
        "ID" => "33871",
        "DATE" => "15/09/2017 16:14:55",
        "SEN" => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
        "REC" => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
        "DEB" => "10.00",
        "CRED" => "10.00",
        "COM" => "0.00",
        "STATUS" => "3"
      }
    },
    "E" => nil
  }
}

Result

  • HPAY:
    • ID: 33871
    • DATE: 15/09/2017 16:14:55
    • SEN: Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc
    • REC: Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53
    • DEB: 10.00
    • CRED: 10.00
    • COM: 0.00
    • STATUS: 3

Payer Wallet after the transaction: 80.00 (GetWalletDetails)

Request

{
  :wallet => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.GetWalletDetailsResult",
    "WALLET" => {
      "ID" => "Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc",
      "BAL" => "80.00",
      "NAME" => "Payer PAYER",
      "EMAIL" => "[email protected]",
      "DOCS" => [],
      "IBANS" => [],
      "STATUS" => "5",
      "BLOCKED" => "0",
      "SDDMANDATES" => [],
      "LWID" => "39271",
      "CARDS" => [
        {
          "ID" => "13173",
          "EXTRA" => {
            "IS3DS" => "0",
            "CTRY" => "",
            "AUTH" => "625272",
            "NUM" => "501767XXXXXX6700",
            "EXP" => "12/2019",
            "TYP" => "VISA"
          }
        },
        {
          "ID" => "13174",
          "EXTRA" => {
            "IS3DS" => "0",
            "CTRY" => "",
            "AUTH" => "651163",
            "NUM" => "501767XXXXXX6700",
            "EXP" => "12/2019",
            "TYP" => "VISA"
          }
        }
      ],
      "FirstName" => nil,
      "LastName" => nil,
      "CompanyName" => nil,
      "CompanyDescription" => nil,
      "CompanyWebsite" => nil,
      "isDebtor" => nil,
      "payerOrBeneficiary" => nil
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Payer-6d64cb06-f2e3-481c-a881-db3f11df72dc
  • BAL: 80.00
  • NAME: Payer PAYER
  • EMAIL: [email protected]
  • DOCS: []
  • IBANS: []
  • STATUS: 5
  • BLOCKED: 0
  • SDDMANDATES: []
  • LWID: 39271
  • CARDS:
    • ID: 13173
    • EXTRA:
      • IS3DS: 0
      • CTRY:
      • AUTH: 625272
      • NUM: 501767XXXXXX6700
      • EXP: 12/2019
      • TYP: VISA
  • FirstName:
  • LastName:
  • CompanyName:
  • CompanyDescription:
  • CompanyWebsite:
  • isDebtor:
  • payerOrBeneficiary:

Receiver Wallet after the transaction: 10.00 (GetWalletDetails)

Request

{
  :wallet => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.GetWalletDetailsResult",
    "WALLET" => {
      "ID" => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
      "BAL" => "10.00",
      "NAME" => "Receiver RECEIVER",
      "EMAIL" => "new-ruby-receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53@lemonway.com",
      "DOCS" => [],
      "IBANS" => [],
      "STATUS" => "5",
      "BLOCKED" => "0",
      "SDDMANDATES" => [],
      "LWID" => "39272",
      "CARDS" => [],
      "FirstName" => nil,
      "LastName" => nil,
      "CompanyName" => nil,
      "CompanyDescription" => nil,
      "CompanyWebsite" => nil,
      "isDebtor" => nil,
      "payerOrBeneficiary" => nil
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53
  • BAL: 10.00
  • NAME: Receiver RECEIVER
  • EMAIL: new-ruby-receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53@lemonway.com
  • DOCS: []
  • IBANS: []
  • STATUS: 5
  • BLOCKED: 0
  • SDDMANDATES: []
  • LWID: 39272
  • CARDS: []
  • FirstName:
  • LastName:
  • CompanyName:
  • CompanyDescription:
  • CompanyWebsite:
  • isDebtor:
  • payerOrBeneficiary:

Receiver register an IBAN (RegisterIBAN)

Request

{
  :wallet => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
  :holder => "Receiver Receiver",
  :bic => "ABCDEFGHIJK",
  :iban => "FR1420041010050500013M02606",
  :dom1 => "UNEBANQUE MONTREUIL",
  :dom2 => "56 rue de Lays",
  :comment => "(Ruby tuto) Register IBAN"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.RegisterIBANResult",
    "IBAN_REGISTER" => {
      "S" => "5",
      "ID" => "9592"
      },
      "E" => nil
    }
  }

Result

  • S: 5
  • ID: 9592

Receiver Wallet with an IBAN registered (GetWalletDetails)

Request

{
  :wallet => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.GetWalletDetailsResult",
    "WALLET" => {
      "ID" => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
      "BAL" => "10.00",
      "NAME" => "Receiver RECEIVER",
      "EMAIL" => "new-ruby-receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53@lemonway.com",
      "DOCS" => [],
      "IBANS" => [
        {
          "ID" => "9592",
        "S" => "5",
        "DATA" => "FR1420041010050500013M02606",
        "SWIFT" => "ABCDEFGHIJK",
        "HOLDER" => "RECEIVER RECEIVER"
        }
      ],
      "STATUS" => "5",
      "BLOCKED" => "0",
      "SDDMANDATES" => [],
      "LWID" => "39272",
      "CARDS" => [],
      "FirstName" => nil,
      "LastName" => nil,
      "CompanyName" => nil,
      "CompanyDescription" => nil,
      "CompanyWebsite" => nil,
      "isDebtor" => nil,
      "payerOrBeneficiary" => nil
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53
  • BAL: 10.00
  • NAME: Receiver RECEIVER
  • EMAIL: new-ruby-receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53@lemonway.com
  • DOCS: []
  • IBANS:
    • ID: 9592
    • S: 5
    • DATA: FR1420041010050500013M02606
    • SWIFT: ABCDEFGHIJK
    • HOLDER: RECEIVER RECEIVER
  • STATUS: 5
  • BLOCKED: 0
  • SDDMANDATES: []
  • LWID: 39272
  • CARDS: []
  • FirstName:
  • LastName:
  • CompanyName:
  • CompanyDescription:
  • CompanyWebsite:
  • isDebtor:
  • payerOrBeneficiary:

Receiver do a Money Out with the registered IBAN 9592 (MoneyOut)

Request

{
  :wallet => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
  :amountTot => "10.00",
  :message => "(Ruby tuto) Money Out 10.00",
  :ibanId => "9592",
  :autoCommission => "1"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.MoneyOutResultObject",
    "TRANS" => {
      "HPAY" => {
        "ID" => "50630",
        "MLABEL" => "FR1420041010050500013M02606",
        "MID" => "9592",
        "DATE" => "15/09/2017 16:15:03",
        "SEN" => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
        "REC" => "",
        "DEB" => "10.00",
        "CRED" => "0.00",
        "COM" => "0.00",
        "MSG" => "(Ruby tuto) Money Out 10.00",
        "STATUS" => "3"
      }
    },
    "E" => nil
  }
}

Result

  • HPAY:
    • ID: 50630
    • MLABEL: FR1420041010050500013M02606
    • MID: 9592
    • DATE: 15/09/2017 16:15:03
    • SEN: Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53
    • REC:
    • DEB: 10.00
    • CRED: 0.00
    • COM: 0.00
    • MSG: (Ruby tuto) Money Out 10.00
    • STATUS: 3

Receiver Wallet after the Money Out: 0.00 (GetWalletDetails)

Request

{
  :wallet => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53"
}

Raw response

{
  "d" => {
    "__type" => "WonderLib.GetWalletDetailsResult",
    "WALLET" => {
      "ID" => "Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53",
      "BAL" => "0.00",
      "NAME" => "Receiver RECEIVER",
      "EMAIL" => "new-ruby-receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53@lemonway.com",
      "DOCS" => [],
      "IBANS" => [
        {
          "ID" => "9592",
          "S" => "5",
          "DATA" => "FR1420041010050500013M02606",
          "SWIFT" => "ABCDEFGHIJK",
          "HOLDER" => "RECEIVER RECEIVER"
        }
      ],
      "STATUS" => "5",
      "BLOCKED" => "0",
      "SDDMANDATES" => [],
      "LWID" => "39272",
      "CARDS" => [],
      "FirstName" => nil,
      "LastName" => nil,
      "CompanyName" => nil,
      "CompanyDescription" => nil,
      "CompanyWebsite" => nil,
      "isDebtor" => nil,
      "payerOrBeneficiary" => nil
    },
    "E" => nil
  }
}

Result

  • ID: Ruby-Receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53
  • BAL: 0.00
  • NAME: Receiver RECEIVER
  • EMAIL: new-ruby-receiver-a21f6a27-d2b7-472d-a086-fe9a41feca53@lemonway.com
  • DOCS: []
  • IBANS:
    • ID: 9592
    • S: 5
    • DATA: FR1420041010050500013M02606
    • SWIFT: ABCDEFGHIJK
    • HOLDER: RECEIVER RECEIVER
  • STATUS: 5
  • BLOCKED: 0
  • SDDMANDATES: []
  • LWID: 39272
  • CARDS: []
  • FirstName:
  • LastName:
  • CompanyName:
  • CompanyDescription:
  • CompanyWebsite:
  • isDebtor:
  • payerOrBeneficiary:

About

Examples in Ruby calling DirectKit JSON2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •