Build API Docs with Apidog
  1. Example: Mastercard
Build API Docs with Apidog
  • Overview
  • REST API Documentations
    • Basics
      • API-Design First Approach
      • Specify an endpoint
      • Components
      • Common parameters
      • Global parameters
      • Schemas
        • Overview
        • Create a new schema
        • Build a schema
        • Generate Schemas from JSON etc.
    • Advanced features
      • Custom endpoint fields
      • Endpoint status
      • Appearance of parameter lists
      • Endpoint unique idenfication
    • Example: Pet Store
      • Get user info
      • Find pet by ID
      • Add a new pet to the store
      • Update an existing pet
      • Deletes a pet
      • Finds Pets by status
  • SOAP API Documentations
    • How to Use Apidog to Write SOAP API Documentation
    • Example: WebService
      • WebService: Number To Words
      • SOAP: Add integers
      • SOAP/WSDL: Ebay
    • Example: Mastercard
      • Purchase Request
      • Submit a purchase request
        POST
  • GraphQL Documentation
    • How to Write GraphQL API Documentation Using Apidog
    • Example: Github
      • Introduction to GraphQL
      • Queries
      • Public schema
  • WebSocket Documentations
    • How to Use Apidog to Write WebSocket API Documentation
    • Example: Coinbase
      • Overview
      • Channel
  • SSE API Documentations
    • Example: Anthropic
      • Streaming Messages
      • Messages
  • gRPC API Documentations
    • How to Use Apidog for gRPC API Documentation and Testing
    • Example: Proto Documentation
      • Protocol Documentation
  1. Example: Mastercard

Purchase Request

Use purchase request calls to create and manage a Virtual Card Number (VCN) and its associated spending controls.

Creating and Querying Purchase Requests#

When you create or update a purchase request, the new or updated virtual card is available immediately to use once the API responds you with a success response. Due to the distributed nature of the ICCP application, it may not immediately reflect the new or updated details in response to follow-on calls to query the purchase request details.
You should wait a minimum of five seconds after creating or updating a purchase request before issuing a request to get the purchase request details. This does not affect the ability to use the VCN during that time.
Modified at 2025-03-25 07:10:05
Previous
Example: Mastercard
Next
Submit a purchase request
Built with