Skip to content

feat: add optional POST /retrieve-service-activation-band operation - #87

Draft
KeldaAnders wants to merge 1 commit into
camaraproject:mainfrom
KeldaAnders:feat/86-retrieve-service-activation-band
Draft

feat: add optional POST /retrieve-service-activation-band operation#87
KeldaAnders wants to merge 1 commit into
camaraproject:mainfrom
KeldaAnders:feat/86-retrieve-service-activation-band

Conversation

@KeldaAnders

Copy link
Copy Markdown

Summary

Adds the optional POST /retrieve-service-activation-band operation to kyc-tenure.yaml,
returning a standardized serviceActivationAgeBand recency band for providers that cannot
expose an exact serviceActivationDate.

Changes

  • New path POST /retrieve-service-activation-band with full response/error coverage
  • New schemas: ServiceActivationBandRequest, ServiceActivationBandInfo
  • New tag: Retrieve Service Activation Band
  • New scope: kyc-tenure:retrieve-service-activation-band
  • 501 NOT_IMPLEMENTED documented as valid response for non-implementing providers
  • Updated info.description to reference both endpoints

Compliance

  • Provider MUST support complete band model; partial support not permitted
  • 422 SERVICE_NOT_APPLICABLE for valid identifiers where band cannot be determined
  • Transient failures as 5xx, never 422
  • d in UTC; 1y/2y/3y = 365/730/1095 days fixed, leap years not applied

References

…amaraproject#86)

- New path /retrieve-service-activation-band with full error coverage incl. 501
- New schemas: ServiceActivationBandRequest, ServiceActivationBandInfo
- New tag: Retrieve Service Activation Band
- New scope: kyc-tenure:retrieve-service-activation-band
- Fixed indentation on new schemas
- Modelled after SimSwap retrieve-age-band (camaraproject/SimSwap@e4699aa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new optional operation POST /retrieve-service-activation-band that returns a standardized serviceActivationAgeBand

1 participant