naftiko: 1.0.0-alpha2 info: label: Wise Platform API — bank-account-details description: 'Wise Platform API — bank-account-details. 6 operations. Lead operation: Retrieve bank account details. Self-contained Naftiko capability covering one Wise business surface.' tags: - Wise - bank-account-details created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WISE_API_KEY: WISE_API_KEY capability: consumes: - type: http namespace: platform-bank-account-details baseUri: https://api.wise.com description: Wise Platform API — bank-account-details business capability. Self-contained, no shared references. resources: - name: v1-profiles-profileId-account-details path: /v1/profiles/{profileId}/account-details operations: - name: bankaccountdetailsget method: GET description: Retrieve bank account details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: profileId in: path type: integer description: The ID of the profile to retrieve bank account details for. required: true - name: v1-profiles-profileId-account-details-orders path: /v1/profiles/{profileId}/account-details-orders operations: - name: bankaccountdetailsordercreate method: POST description: Create bank account details order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: profileId in: path type: integer description: The ID of the profile to create the bank account details order for. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: bankaccountdetailsorderslistv1 method: GET description: List bank account detail orders (v1) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: profileId in: path type: integer description: The ID of the profile to list bank account detail orders for. required: true - name: v1-profiles-profileId-account-details-payments-paymentId-returns path: /v1/profiles/{profileId}/account-details/payments/{paymentId}/returns operations: - name: bankaccountdetailsreturnscreate method: POST description: Create payment return outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: profileId in: path type: integer description: The ID of the profile that received the payment. required: true - name: paymentId in: path type: integer description: The ID of the payment to return. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v3-profiles-profileId-account-details-orders path: /v3/profiles/{profileId}/account-details-orders operations: - name: bankaccountdetailsorderslist method: GET description: List bank account detail orders outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: profileId in: path type: integer description: The ID of the profile to list bank account detail orders for. required: true - name: currency in: query type: string description: Currency code (ISO 4217 Alphabetic Code). required: true - name: v3-profiles-profileId-bank-details path: /v3/profiles/{profileId}/bank-details operations: - name: bankaccountdetailsbankdetailscreate method: POST description: Create multiple bank account details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: profileId in: path type: integer description: The ID of the profile to create bank account details for. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.WISE_API_KEY}}' exposes: - type: rest namespace: platform-bank-account-details-rest port: 8080 description: REST adapter for Wise Platform API — bank-account-details. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/profiles/{profileid}/account-details name: v1-profiles-profileid-account-details description: REST surface for v1-profiles-profileId-account-details. operations: - method: GET name: bankaccountdetailsget description: Retrieve bank account details call: platform-bank-account-details.bankaccountdetailsget with: profileId: rest.profileId outputParameters: - type: object mapping: $. - path: /v1/v1/profiles/{profileid}/account-details-orders name: v1-profiles-profileid-account-details-orders description: REST surface for v1-profiles-profileId-account-details-orders. operations: - method: POST name: bankaccountdetailsordercreate description: Create bank account details order call: platform-bank-account-details.bankaccountdetailsordercreate with: profileId: rest.profileId body: rest.body outputParameters: - type: object mapping: $. - method: GET name: bankaccountdetailsorderslistv1 description: List bank account detail orders (v1) call: platform-bank-account-details.bankaccountdetailsorderslistv1 with: profileId: rest.profileId outputParameters: - type: object mapping: $. - path: /v1/v1/profiles/{profileid}/account-details/payments/{paymentid}/returns name: v1-profiles-profileid-account-details-payments-paymentid-returns description: REST surface for v1-profiles-profileId-account-details-payments-paymentId-returns. operations: - method: POST name: bankaccountdetailsreturnscreate description: Create payment return call: platform-bank-account-details.bankaccountdetailsreturnscreate with: profileId: rest.profileId paymentId: rest.paymentId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v3/profiles/{profileid}/account-details-orders name: v3-profiles-profileid-account-details-orders description: REST surface for v3-profiles-profileId-account-details-orders. operations: - method: GET name: bankaccountdetailsorderslist description: List bank account detail orders call: platform-bank-account-details.bankaccountdetailsorderslist with: profileId: rest.profileId currency: rest.currency outputParameters: - type: object mapping: $. - path: /v1/v3/profiles/{profileid}/bank-details name: v3-profiles-profileid-bank-details description: REST surface for v3-profiles-profileId-bank-details. operations: - method: POST name: bankaccountdetailsbankdetailscreate description: Create multiple bank account details call: platform-bank-account-details.bankaccountdetailsbankdetailscreate with: profileId: rest.profileId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: platform-bank-account-details-mcp port: 9090 transport: http description: MCP adapter for Wise Platform API — bank-account-details. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-bank-account-details description: Retrieve bank account details hints: readOnly: true destructive: false idempotent: true call: platform-bank-account-details.bankaccountdetailsget with: profileId: tools.profileId outputParameters: - type: object mapping: $. - name: create-bank-account-details-order description: Create bank account details order hints: readOnly: false destructive: false idempotent: false call: platform-bank-account-details.bankaccountdetailsordercreate with: profileId: tools.profileId body: tools.body outputParameters: - type: object mapping: $. - name: list-bank-account-detail-orders description: List bank account detail orders (v1) hints: readOnly: true destructive: false idempotent: true call: platform-bank-account-details.bankaccountdetailsorderslistv1 with: profileId: tools.profileId outputParameters: - type: object mapping: $. - name: create-payment-return description: Create payment return hints: readOnly: false destructive: false idempotent: false call: platform-bank-account-details.bankaccountdetailsreturnscreate with: profileId: tools.profileId paymentId: tools.paymentId body: tools.body outputParameters: - type: object mapping: $. - name: list-bank-account-detail-orders-2 description: List bank account detail orders hints: readOnly: true destructive: false idempotent: true call: platform-bank-account-details.bankaccountdetailsorderslist with: profileId: tools.profileId currency: tools.currency outputParameters: - type: object mapping: $. - name: create-multiple-bank-account-details description: Create multiple bank account details hints: readOnly: false destructive: false idempotent: false call: platform-bank-account-details.bankaccountdetailsbankdetailscreate with: profileId: tools.profileId body: tools.body outputParameters: - type: object mapping: $.