OpenAPI and Postman Pack

Machine-readable contracts and executable test assets.

YCMT EU Partner Developer OpenAPI and Postman Pack Guide

Partner developer tooling pack | Version 1.0 | YCMT EU

Partner-safe scope This guide explains how to use the YCMT EU partner-facing OpenAPI and Postman assets. It is limited to the API interface, testing workflow, placeholders, and versioning rules. It does not describe YCMT internal implementation, internal systems, internal identifiers, or internal risk logic.
FieldValue
Document60_YCMT_EU_PartnerDev_OpenAPI_And_Postman_Pack_Guide_v1_0.docx
AudiencePartner developers, partner QA engineers, partner technical leads
PerimeterYCMT EU only
StatusDraft for partner onboarding use
ConfidentialityPartner-facing under onboarding/NDA controls
Related pack filesGetting Started; API Guide; Flows Guide; Errors, Statuses and Retry Guide; Security and Signing Guide; Sandbox and Go-Live Guide

Contents

  • 1. Purpose of this pack
  • 2. Files included
  • 3. How to use the OpenAPI files
  • 4. How to use the Postman collection
  • 5. Environment variables
  • 6. Placeholder and secret handling
  • 7. Testing sequence
  • 8. Change management and changelog use
  • 9. What this pack intentionally excludes
  • 10. Quick troubleshooting checklist

1. Purpose of this pack

The OpenAPI and Postman Pack gives partner development teams a machine-readable and executable starting point for integrating with the YCMT EU APIs. It complements the human-readable Partner Developer guides.

Asset typeUse it for
OpenAPI YAMLGenerating API clients, validating request/response shapes, reviewing endpoint paths and schemas.
Postman collectionManual testing, onboarding demos, sandbox smoke tests, and QA evidence.
Postman environmentSeparating sandbox variables from production variables.
ChangelogTracking API version notices and integration-impacting changes.

2. Files included

FilePurpose
60_YCMT_EU_PartnerDev_OpenAPI_Auth_v1_0.yamlPartner-facing Authentication API contract.
60_YCMT_EU_PartnerDev_OpenAPI_Core_v1_0.yamlPartner-facing Customer-Context Core API contract.
60_YCMT_EU_PartnerDev_Postman_Collection_v1_0.jsonPostman collection skeleton covering Auth and Core endpoints.
60_YCMT_EU_PartnerDev_Postman_Environment_v1_0.jsonEnvironment variable template for sandbox usage.
60_YCMT_EU_PartnerDev_API_Changelog_v1_0.mdVersion history and partner-facing change notice rules.
README.mdBrief folder-level file list and usage note.

3. How to use the OpenAPI files

  1. Import the Auth and Core YAML files into your preferred OpenAPI tool.
  2. Set the server URL to the sandbox base URL provided during YCMT onboarding.
  3. Generate a client SDK only after confirming that your generator handles OpenAPI 3.1.0 correctly.
  4. Review required headers and request bodies against the Partner Developer API Guide.
  5. Keep generated clients tolerant of additional response fields so non-breaking additions do not break your app.
Authoritative reading order Use the OpenAPI files for schema and endpoint shape. Use the API Guide and Flows Guide for sequencing, customer journey context, and practical examples. Use the Errors, Statuses and Retry Guide for resilience behaviour.

4. How to use the Postman collection

  1. Import the Postman collection JSON file.
  2. Import the Postman environment JSON file.
  3. Select the YCMT EU sandbox environment.
  4. Replace placeholder values with onboarding values provided by YCMT.
  5. Run authentication calls first to obtain an access token.
  6. Store the returned access token in the environment variable only for local sandbox testing.
  7. Proceed through customer profile, KYC, beneficiary, quote, transfer, and status-polling tests.

5. Environment variables

VariableMeaningHandling rule
base_urlYCMT EU sandbox or production API base URL.Use sandbox during testing. Do not mix sandbox and production.
api_keyPartner API access credential or onboarding-issued API key placeholder.Treat as secret. Do not commit to source control.
access_tokenCustomer session token obtained after login.Treat as secret. Do not share or log.
correlation_idTrace identifier for support and debugging.Generate per request or per flow as guided by YCMT.
idempotency_keyUnique key for safe retry of supported POST requests.Generate per business action, not per blind retry.
quote_idQuote identifier returned by quote flow.Use only within the customer flow that produced it.
beneficiary_idBeneficiary identifier returned by beneficiary flow.Do not guess or reuse across customers.
transfer_idTransfer identifier returned by transfer flow.Use for status polling, confirmation, and cancellation where permitted.

6. Placeholder and secret handling

  • Replace placeholder values only in local or controlled secure environments.
  • Do not commit filled Postman environments to Git or shared repositories.
  • Do not paste live tokens, API keys, signing keys, or webhook secrets into tickets or chat tools.
  • Use separate sandbox and production environments.
  • Rotate any credential that may have been exposed.
Logging rule Partner systems must not log access tokens, refresh tokens, API keys, private keys, full identity documents, or unmasked payment details. Logs shared with YCMT for support should include timestamps, endpoint names, status codes, and correlation IDs only.

7. Testing sequence

StepUseExpected outcome
1Authentication endpointsCustomer can register or log in and obtain a token.
2Profile endpointCustomer profile can be submitted/read as documented.
3KYC session endpointPartner app can launch and handle the KYC flow.
4Beneficiary endpointsPartner app can create, list, retrieve, and archive beneficiaries where supported.
5Quote and disclosure endpointsPartner app can present quote and disclosure before acceptance.
6Transfer endpointsPartner app can submit, confirm where required, and poll status.
7Negative scenariosPartner app handles expired tokens, expired quotes, validation failures, and retryable failures safely.

8. Change management and changelog use

  • Read the changelog before upgrading generated clients or replacing Postman assets.
  • Treat path changes, required-field changes, enum meaning changes, authentication changes, and signing changes as potentially breaking.
  • Test in sandbox before production release.
  • Keep app parsing tolerant of optional response fields.
  • Notify YCMT before releasing changes that affect login, registration, KYC, quote acceptance, transfer submission, confirmation, funding, or webhook handling.

9. What this pack intentionally excludes

Excluded itemReason
YCMT internal implementationPartner developers need the interface, not internal systems.
Internal customer identifiersPartners use only partner-visible identifiers returned by the API.
Internal risk logic and reason codesYCMT controls regulated decisions and customer-safe disclosures.
Internal approval workflowsOperationally sensitive and not required for integration.
Production credentialsIssued separately through onboarding and activation controls.

10. Quick troubleshooting checklist

SymptomCheck first
Cannot connectConfirm base_url, network access, and correct environment.
401 or unauthorised responseConfirm token is present, current, and belongs to the current customer session.
403 or permission-like responseConfirm production/sandbox credential, partner activation, and endpoint scope.
Validation errorCompare request body against OpenAPI schema and API Guide examples.
Duplicate or unexpected POST resultCheck idempotency key reuse and retry behaviour.
Status does not progressPoll according to the documented interval and escalate with correlation ID if outside expected behaviour.
Webhook not receivedCheck endpoint availability, TLS, firewall, and verification code.
Final developer reminder Use the OpenAPI files to understand the contract, the Postman collection to test the contract, and the human-readable guides to understand the correct customer journey. Do not infer internal YCMT behaviour from the tooling assets.