ChargeAfter Consumer Management API

The Consumer Management API from ChargeAfter — 3 operation(s) for consumer management.

Operations 3

GET /v2/post-sale/consumers/{consumerid} Get consumer info
GET /v2/post-sale/consumers/{consumerid}/legal-info Get legal info
POST /v2/post-sale/consumers/{consumerid}/charges Create a new charge

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/chargeafter-consumer-management-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

chargeafter-consumer-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Consumers Management Consumer Management API
  termsOfService: https://chargeafter.com/privacy-policy
  contact:
    name: Customer Support
    email: support@chargeafter.com
  version: 1.0.0
servers:
- url: https://api-sandbox.ca-dev.co
  description: Sandbox Environment
security:
- bearerAuth: []
tags:
- name: Consumer Management
paths:
  /v2/post-sale/consumers/{consumerid}:
    get:
      tags:
      - Consumer Management
      summary: Get consumer info
      description: Fetching updated information of an existing consumer
      parameters:
      - name: consumerid
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.GetConsumerResponse'
        '401':
          description: Unauthorized
        '422':
          description: Input Validation Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  requestId:
                    type: string
                  message:
                    type: string
                  errors:
                    type: array
                    items:
                      properties:
                        field:
                          type: string
                        validationState:
                          type: string
                        error:
                          type: string
                example:
                  RequestId: Unique RequestId
                  Message: Input Validation Failure
                  Errors:
                  - Field: RequestField1
                    ValidationState: Invalid
                    Error: RequestField1 should be up to 150 characters, and can contain a-z, A-Z, _ characters.
        '500':
          description: General Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  requestId:
                    type: string
                    example: Unique RequestId
                  message:
                    type: string
                    example: Message Describing The Error
  /v2/post-sale/consumers/{consumerid}/legal-info:
    get:
      tags:
      - Consumer Management
      summary: Get legal info
      description: Geting legal info from lenders
      parameters:
      - name: consumerid
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      - name: lenderid
        in: query
        schema:
          type:
          - string
          - 'null'
      - name: totalamount
        in: query
        schema:
          type: number
          format: double
      - name: promocode
        in: query
        schema:
          type:
          - string
          - 'null'
      - name: channel
        in: query
        schema:
          $ref: '#/components/schemas/ChargeAfter.Libraries.Entities.Channel'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.GetLegalDocsResponse'
        '401':
          description: Unauthorized
        '422':
          description: Input Validation Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  requestId:
                    type: string
                  message:
                    type: string
                  errors:
                    type: array
                    items:
                      properties:
                        field:
                          type: string
                        validationState:
                          type: string
                        error:
                          type: string
                example:
                  RequestId: Unique RequestId
                  Message: Input Validation Failure
                  Errors:
                  - Field: RequestField1
                    ValidationState: Invalid
                    Error: RequestField1 should be up to 150 characters, and can contain a-z, A-Z, _ characters.
        '500':
          description: General Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  requestId:
                    type: string
                    example: Unique RequestId
                  message:
                    type: string
                    example: Message Describing The Error
  /v2/post-sale/consumers/{consumerid}/charges:
    post:
      tags:
      - Consumer Management
      summary: Create a new charge
      description: Creating a charge with consumer id
      parameters:
      - name: consumerid
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Requests.CreateChargeRequestBody'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.CreateChargeResponse'
        '401':
          description: Unauthorized
        '422':
          description: Input Validation Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  requestId:
                    type: string
                  message:
                    type: string
                  errors:
                    type: array
                    items:
                      properties:
                        field:
                          type: string
                        validationState:
                          type: string
                        error:
                          type: string
                example:
                  RequestId: Unique RequestId
                  Message: Input Validation Failure
                  Errors:
                  - Field: RequestField1
                    ValidationState: Invalid
                    Error: RequestField1 should be up to 150 characters, and can contain a-z, A-Z, _ characters.
        '500':
          description: General Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  requestId:
                    type: string
                    example: Unique RequestId
                  message:
                    type: string
                    example: Message Describing The Error
components:
  schemas:
    ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.Address:
      type: object
      properties:
        city:
          type:
          - string
          - 'null'
        line1:
          type:
          - string
          - 'null'
        line2:
          type:
          - string
          - 'null'
        state:
          type:
          - string
          - 'null'
        zipCode:
          type:
          - string
          - 'null'
      additionalProperties: false
    ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.PaymentPlan:
      type: object
      properties:
        creditAmount:
          type: number
          format: double
      additionalProperties: false
    ChargeAfter.BFF.Domain.Entities.Warranty:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        sku:
          type:
          - string
          - 'null'
        price:
          type: number
          format: double
      additionalProperties: false
    ChargeAfter.BFF.Domain.Entities.Discount:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        amount:
          type: number
          format: double
      additionalProperties: false
    ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.Lender:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
      additionalProperties: false
    ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.Document:
      type: object
      properties:
        mimetype:
          type:
          - string
          - 'null'
        blob:
          type:
          - string
          - 'null'
        filename:
          type:
          - string
          - 'null'
      additionalProperties: false
    ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.GetLegalDocsResponse:
      type: object
      properties:
        documents:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.Document'
        lenderId:
          type:
          - string
          - 'null'
      additionalProperties: false
    ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.GetConsumerResponse:
      type: object
      properties:
        availableCredit:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.AvailableCredit'
        billingAddress:
          $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.Address'
        email:
          type:
          - string
          - 'null'
        firstName:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
        mobilePhoneNumber:
          type:
          - string
          - 'null'
        shippingAddress:
          $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.Address'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      additionalProperties: false
    ChargeAfter.Libraries.Entities.Channel:
      type: object
      additionalProperties: false
    ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.AvailableCredit:
      type: object
      properties:
        creditAmount:
          type: number
          format: double
        lender:
          $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.Lender'
      additionalProperties: false
    ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.CreateChargeResponse:
      type: object
      properties:
        buyerId:
          type:
          - string
          - 'null'
        buyerType:
          $ref: '#/components/schemas/ChargeAfter.Contracts.BuyerType'
        channel:
          type:
          - string
          - 'null'
        consumerId:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        lender:
          $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.Lender'
        merchantOrderId:
          type:
          - string
          - 'null'
        paymentPlan:
          $ref: '#/components/schemas/ChargeAfter.ConsumersV1.WebApi.Contracts.Responses.PaymentPlan'
        refundedAmount:
          type: number
          format: double
        state:
          type:
          - string
          - 'null'
        totalAmount:
          type: number
          format: double
        updatedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
      additionalProperties: false
    ChargeAfter.ConsumersV1.WebApi.Contracts.Requests.CreateChargeRequestBody:
      type: object
      properties:
        items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ChargeAfter.BFF.Domain.Entities.Item'
        discounts:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ChargeAfter.BFF.Domain.Entities.Discount'
        taxAmount:
          type: number
          format: double
        shippingAmount:
          type: number
          format: double
        totalAmount:
          type: number
          format: double
        lenderId:
          type:
          - string
          - 'null'
        merchantOrderId:
          type:
          - string
          - 'null'
        promoCode:
          type:
          - string
          - 'null'
        storeId:
          type:
          - string
          - 'null'
        channel:
          $ref: '#/components/schemas/ChargeAfter.Libraries.Entities.Channel'
      additionalProperties: false
    ChargeAfter.Contracts.BuyerType:
      enum:
      - Consumer
      - Organization
      type: string
    ChargeAfter.BFF.Domain.Entities.Item:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        price:
          type: number
          format: double
        sku:
          type:
          - string
          - 'null'
        quantity:
          type: integer
          format: int32
        leasable:
          type:
          - boolean
          - 'null'
        productCategory:
          type:
          - string
          - 'null'
        warranty:
          $ref: '#/components/schemas/ChargeAfter.BFF.Domain.Entities.Warranty'
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: ChargeAfter API uses bearer authentication.