Canopy Refunds API
Manage refunds on a line of credit for your customers in Canopy.
Manage refunds on a line of credit for your customers in Canopy.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/canopyservicing-com:canopyservicing-com-refunds-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Canopy Servicing Core Refunds API
description: 'Canopy allows you to easily manage credit, installment, or other more complex lending programs from a servicing and compliance perspective -
whether newly launched or migrated from existing systems. using canopy, you can track balances and transactions for each customer of your product, both in real-time and historically.
You can see how various policy and product changes would impact your customers, and readily generate compliance reports and minimize your risk with all real-time information always on hand.
Canopy additionally surfaces information around all of your lending activity through its intuitive ui which provides a customer support interface as well as at-a-glance data needed for compliance and insights.
Simply configure your product`s policies through our create product api endpoint, and then you can immediately begin adding customer accounts and relying on canopy for accurate servicing information.'
contact:
name: Canopy Support
url: https://www.canopyservicing.com/contact
email: support@canopyservicing.com
version: 1.0.0
servers:
- url: Contact sales to enable your sandbox
description: Your private sandbox environment
- url: https://demo-api.us.canopyservicing.com
description: Demo environment
tags:
- name: Refunds
description: Manage refunds on a line of credit for your customers in Canopy.
paths:
/revolving/v1/accounts/{account_id}/line_of_credit/{line_of_credit_id}/refund:
post:
tags:
- Refunds
summary: Create a refund for a line of credit
description: Creates a new refund for a line of credit.
operationId: RefundCBV_create_refund_revolving_v1_accounts__account_id__line_of_credit__line_of_credit_id__refund_post
security:
- HTTPBearer: []
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
- name: line_of_credit_id
in: path
required: true
schema:
type: string
description: ID of the Line of Credit
title: Line Of Credit Id
description: ID of the Line of Credit
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateRefundSchema'
description: Refund creation parameters
responses:
'201':
description: Returns the created refund
content:
application/json:
schema:
$ref: '#/components/schemas/CreateRefundResponse'
'400':
description: Your request is invalid.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrBadRequestSchema'
'404':
description: Entity not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrNotFoundSchema'
'409':
description: Entity already exists.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrConflictSchema'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'500':
description: A server error has occurred.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrServerErrorSchema'
components:
schemas:
ErrBadRequestSchema:
properties:
message:
type: string
title: Message
description: The error message
examples:
- Your request is invalid.
type: object
required:
- message
title: ErrBadRequestSchema
CreateRefundSchema:
properties:
amount_cents:
type: integer
title: Amount Cents
description: The amount to refund in cents
examples:
- 100000
hidden: false
metadata:
anyOf:
- additionalProperties: true
type: object
- items:
additionalProperties: true
type: object
type: array
- items: {}
type: array
title: Metadata
description: Metadata associated with the refund, including transaction references
examples:
- reason: customer_request
transaction_id: txn_123
hidden: false
type: object
required:
- amount_cents
title: CreateRefundSchema
description: Request schema for creating a refund on a line of credit.
CreateRefundResponse:
properties:
account_id:
type: string
title: Account Id
description: The account id.
hidden: false
line_of_credit_id:
type: string
title: Line Of Credit Id
description: The line of credit id.
hidden: false
effective_at:
type: string
title: Effective At
description: The effective at date.
hidden: false
issued_at:
type: string
title: Issued At
description: The issued at date.
hidden: false
status:
anyOf:
- additionalProperties: true
type: object
- items:
additionalProperties: true
type: object
type: array
- items: {}
type: array
title: Status
description: The status of the entity.
hidden: false
metadata:
anyOf:
- additionalProperties: true
type: object
- items:
additionalProperties: true
type: object
type: array
- items: {}
type: array
title: Metadata
description: The metadata of the entity.
hidden: false
refund_id:
type: string
title: Refund Id
description: The ID of the created refund
hidden: false
original_amount_cents:
type: integer
title: Original Amount Cents
description: The refund amount in cents (negative)
hidden: false
type: object
required:
- account_id
- line_of_credit_id
- effective_at
- issued_at
- refund_id
- original_amount_cents
title: CreateRefundResponse
description: Response schema for the create refund endpoint.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
ErrNotFoundSchema:
properties:
message:
type: string
title: Message
description: The error message
examples:
- Entity not found.
type: object
required:
- message
title: ErrNotFoundSchema
ErrConflictSchema:
properties:
message:
type: string
title: Message
description: The error message
examples:
- Entity already exists.
type: object
required:
- message
title: ErrConflictSchema
ErrServerErrorSchema:
properties:
message:
type: string
title: Message
description: The error message
examples:
- A server error has occurred.
type: object
required:
- message
title: ErrServerErrorSchema
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
HTTPBearer:
type: http
scheme: bearer