Slope · Arazzo Workflow

Estimate and repay a Slope order

Version 1.0.0

Get a repayment estimate then fully repay an order (requires Slope-Link-Token).

1 workflow 1 source API 1 provider
View Spec View on GitHub CompanyFintechPaymentsEmbedded FinanceBNPLLendingCreditB2BCheckoutArazzoWorkflows

Provider

slope

Workflows

repayOrder
Get a repayment estimate then fully repay an order (requires Slope-Link-Token).
2 steps inputs: linkToken, orderId
1
getOrderRepayEstimate
getOrderRepayEstimate
2
repayOrderFull
repayOrderFull

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Estimate and repay a Slope order
  version: 1.0.0
  summary: Get a repayment estimate then fully repay an order (requires Slope-Link-Token).
sourceDescriptions:
- name: slope
  url: ../openapi/slope-v4-openapi.json
  type: openapi
workflows:
- workflowId: repayOrder
  summary: Get a repayment estimate then fully repay an order (requires Slope-Link-Token).
  inputs:
    type: object
    properties:
      orderId:
        type: string
      linkToken:
        type: string
  steps:
  - stepId: getOrderRepayEstimate
    operationId: getOrderRepayEstimate
    parameters:
    - name: id
      in: path
      value: $inputs.orderId
    - name: Slope-Link-Token
      in: header
      value: $inputs.linkToken
    outputs:
      estimate: $response.body
  - stepId: repayOrderFull
    operationId: repayOrderFull
    parameters:
    - name: id
      in: path
      value: $inputs.orderId
    - name: Slope-Link-Token
      in: header
      value: $inputs.linkToken