action nbg_post_sandbox { label: "Create Sandbox" description: "Create Sandbox" provider: nbg method: POST path: "/sandbox" encoding: json input: { type: "object" description: "Request to create a new sandbox" required: ["sandboxId"] properties: { sandboxId: { type: "string" description: "Sandbox Id" } } additionalProperties: false } output: { type: "object" description: "Sandbox model" required: ["sandboxId"] properties: { sandboxId: { type: "string" description: "Sandbox id" } users: { type: "array" description: "List of users" items: { type: "object" description: "User data" properties: { accounts: { type: "array" description: "List of accounts" items: { type: "object" description: "Sandbox bank account" properties: { beneficiaries: { type: "array" description: "List of account's beneficiaries" items: { type: "object" description: "Beneficiary information" properties: { name: { type: "string" description: "Beneficiary name" } } additionalProperties: false } } info: { type: "object" description: "General account information" required: ["accountSubType", "accountType", "currency", "iban"] properties: { accountSubType: { type: "string" description: "Account's sub-type (ChargeCard, CreditCard, CurrentAccount ...)" } accountType: { type: "string" description: "Account's type (Business, Personal)" } alias: { type: "string" description: "Account's alias" } availableBalance: { type: "number" format: "double" description: "Account's available balance" } currency: { type: "string" description: "Currency (EUR, USD ...)" } description: { type: "string" description: "Account's description" } iban: { type: "string" description: "Account's IBAN" } ledgerBalance: { type: "number" format: "double" description: "Account's ledger balance" } openingDate: { type: "string" format: "date-time" description: "Account's opening date" } overdraftLimit: { type: "number" format: "double" description: "Account's overdraft limit" } } additionalProperties: false } party: { type: "object" description: "Connected party information" properties: { id: { type: "string" description: "Party id" } name: { type: "string" description: "Name" } } additionalProperties: false } scheduledPayments: { type: "array" description: "List of account's scheduled payments" items: { type: "object" description: "Scheduled payment information" properties: { amount: { type: "number" format: "double" description: "Amount" } description: { type: "string" description: "Scheduled payment's short description" } executionDate: { type: "string" format: "date-time" description: "Scheduled payment's execution date" } senderReference: { type: "string" description: "Debtor / Sender reference" } } additionalProperties: false } } standingOrders: { type: "array" description: "List of account's standing orders" items: { type: "object" description: "Standing order information" required: ["frequency"] properties: { amount: { type: "number" format: "double" description: "Standing order amount" } description: { type: "string" description: "Standing order short description" } finalPaymentDate: { type: "string" format: "date-time" description: "Standing order final collection date" } firstPaymentDate: { type: "string" format: "date-time" description: "Standing order first collection date" } frequency: { type: "string" description: "Standing order frequency" } lastPaymentDate: { type: "string" format: "date-time" description: "Standing order last executed payment date" } nextPaymentDate: { type: "string" format: "date-time" description: "Standing order next collection date" } status: { type: "string" description: "Standing order status (Active, Inactive)" } } additionalProperties: false } } statements: { type: "array" description: "List of account's statements" items: { type: "object" description: "Statement information" properties: { month: { type: "integer" format: "int32" description: "Statement month" } number: { type: "string" description: "Statement number" } year: { type: "integer" format: "int32" description: "Statement year" } } additionalProperties: false } } transactions: { type: "array" description: "List of account's transactions" items: { type: "object" description: "Transaction information" properties: { accountingBalance: { type: "number" format: "double" description: "Balance" } amount: { type: "number" format: "double" description: "Amount" } bookingDateTime: { type: "string" format: "date-time" description: "Booking date time" } creditDebit: { type: "string" description: "Credit / Debit indicator" } currency: { type: "string" description: "Currency (EUR, USD ...)" } description: { type: "string" description: "Description" } reference: { type: "string" description: "Transaction reference" } relatedAccount: { type: "string" description: "Related account" } relatedName: { type: "string" description: "Related account" } transactionCode: { type: "string" description: "Transaction code" } valueDateTime: { type: "string" format: "date-time" description: "Valeur" } } additionalProperties: false } } } additionalProperties: false } } cards: { type: "array" description: "List of cards" items: { type: "object" description: "Sandbox card" properties: { info: { type: "object" description: "Sandbox card information" required: ["expiration", "holderName", "number"] properties: { availableBalance: { type: "number" format: "double" description: "Available balance" } creditLimit: { type: "number" format: "double" description: "Credit limit ( applicable to credit cards )" } description: { type: "string" description: "Description" } expiration: { type: "string" description: "Expiration date (05/2022)" } holderName: { type: "string" description: "Holder name" } ledgerBalance: { type: "number" format: "double" description: "Ledger balance" } number: { type: "string" description: "Card number" } subType: { type: "string" description: "Sub type" } type: { type: "string" description: "Type" } } additionalProperties: false } party: { type: "object" description: "Connected party information" properties: { id: { type: "string" description: "Party id" } name: { type: "string" description: "Name" } } additionalProperties: false } statements: { type: "array" description: "Card statements" items: { type: "object" description: "Statement information" properties: { month: { type: "integer" format: "int32" description: "Statement month" } number: { type: "string" description: "Statement number" } year: { type: "integer" format: "int32" description: "Statement year" } } additionalProperties: false } } transactions: { type: "array" description: "Card transactions" items: { type: "object" description: "Transaction information" properties: { accountingBalance: { type: "number" format: "double" description: "Balance" } amount: { type: "number" format: "double" description: "Amount" } bookingDateTime: { type: "string" format: "date-time" description: "Booking date time" } creditDebit: { type: "string" description: "Credit / Debit indicator" } currency: { type: "string" description: "Currency (EUR, USD ...)" } description: { type: "string" description: "Description" } reference: { type: "string" description: "Transaction reference" } relatedAccount: { type: "string" description: "Related account" } relatedName: { type: "string" description: "Related account" } transactionCode: { type: "string" description: "Transaction code" } valueDateTime: { type: "string" format: "date-time" description: "Valeur" } } additionalProperties: false } } } additionalProperties: false } } retryCacheEntries: { type: "array" description: "Retry cache entries" items: { type: "object" description: "Keeps the number of calls without x-fapi-customer-ip-address header present" properties: { cacheKey: { type: "string" description: "Cache key" } count: { type: "integer" format: "int32" description: "Number of retries ( up to 4 )" } expirationTimestamp: { type: "string" format: "date-time" description: "Expiration timestamp of the entry" } } additionalProperties: false } } userId: { type: "string" description: "Connected user id" } } additionalProperties: false } } } additionalProperties: false } }