addedOutput schema / properties
Added value: +{
+ "accounts": {
+ "items": {
+ "description": "One banking rail on the account. An on-ramp carries the virtual bank details to give whoever is paying in. An off-ramp carries the destination it pays out to; its own funding address is internal payout plumbing and is never returned. Responses can carry further internal fields, so read the ones you need and tolerate the rest.",
+ "properties": {
+ "accountId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "accountType": {
+ "description": "One of: onramp, offramp.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "bankAccount": {
+ "description": "On-ramp only: the virtual bank account dollars are sent to. These are the details to give whoever is paying the account. The field names inside are our banking partner's own, which is why they are snake_case where the rest of this object is camelCase.",
+ "properties": {
+ "aba_routing_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "aba_wire_routing_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "account_holder_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "account_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "account_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "bank_address": {
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "bank_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "bic": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "iban": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "closedTimestamp": {
+ "description": "Present once `status` is `closed`. Milliseconds since the epoch.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "closedTimestampReadable": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "createdTimestamp": {
+ "description": "Milliseconds since the epoch.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "createdTimestampReadable": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "destinationAsset": {
+ "description": "What comes out: the crypto asset on an on-ramp, the fiat currency on an off-ramp.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fiatDestinationId": {
+ "description": "Off-ramp only: the id of the destination payouts go to. `payoutDestination` is the readable form of the same thing.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "nickname": {
+ "description": "The account owner's name for the off-ramp's payout destination, when they have set one. Lead with it when you name the account, because it is the label they chose. On-ramps have no destination and so never carry one.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payoutDestination": {
+ "description": "The bank account an off-ramp pays out to, summarized so a caller can confirm where the money lands without a second lookup. The account number is masked to its last four digits, which is enough to recognize the account and not enough to reuse it.",
+ "properties": {
+ "accountHolderName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "accountNumberLast4": {
+ "description": "The last four digits of the account number. The full number is never returned here.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "accountType": {
+ "description": "One of: checking, savings.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "bankName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "capabilities": {
+ "description": "The rails this destination supports.",
+ "items": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "destinationId": {
+ "description": "The destination id, the same value `addBankingDestination` returned.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "destinationType": {
+ "description": "One of: fiat_us, fiat_iban, crypto.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "The label given when the destination was created.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "routingNumber": {
+ "description": "The full routing number. It identifies the bank rather than the account, so it is not masked.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "rail": {
+ "description": "The payment rail the account settles on.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sourceAsset": {
+ "description": "What goes in: the fiat currency on an on-ramp, the crypto asset on an off-ramp.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sourceNetworkId": {
+ "description": "Off-ramp only: the chain the funding leg arrives on.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "`active` once the rail is provisioned, `closed` once our banking partner has retired it. A closed account keeps appearing here for the record and cannot be used again. Calling `createBankingAccount` provisions a fresh one rather than reviving it. One of: active, closed.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ }
+}