Skip to content

Conversation

@haoyang-finix
Copy link
Contributor

this PR is for reviewing change brought by spec#113, do not approve and merge

'all': [
'id',
'before_cursor',
'after_cursor',
Copy link
Contributor Author

@haoyang-finix haoyang-finix Aug 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is after_cursor query removed from list_merchant_profile endpoint?

},
api_client=api_client
)
self._list_by_payment_instrument_id_endpoint = finix.api_client.Endpoint(
Copy link
Contributor Author

@haoyang-finix haoyang-finix Aug 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verifying a payment instrument endpoint, ie POST a payment instrument verification endpoint is still missing? (ignore where comment is made)

from finix.model.create_identity_request_entity_dob import CreateIdentityRequestEntityDob
from finix.model.create_identity_request_entity_incorporation_date import CreateIdentityRequestEntityIncorporationDate
from finix.model.create_identity_request_entity_personal_address import CreateIdentityRequestEntityPersonalAddress
globals()['CreateIdentityRequestEntityBusinessAddress'] = CreateIdentityRequestEntityBusinessAddress
Copy link
Contributor Author

@haoyang-finix haoyang-finix Aug 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are those sub-models supposed to get deleted? Corresponding sub-models are used in update_identity_request_entity model, create and update models are inconsistent

Copy link
Contributor Author

@haoyang-finix haoyang-finix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenAPI spec updated to: (#113)

Changes

  • UPDATE update device endpoint
  • UPDATE update_merchant_profile endpoint
  • DELETE update_settlement endpoint
  • ADD list_verification_by_payment_instrument_id endpoint
  • UPDATE fields in multiple models

Problems

  1. the endpoint to verifying a payment instrument is missing
  2. Models create_identity_request_entity and update_identity_request_entity are inconsistent, the former is lacking several fields and sub-models

TODO

Update tests for the 4 directly changed API endpoints
Changes of fields in multiple models could break some tests. Make necessary changes to pass the tests.
Checkbox above shows the progress.
As the spec has some problems, may need to update to a new spec

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.

2 participants