Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cuenca_validations/types/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class TransferRequest(BaseRequest):
descriptor: StrictStr
idempotency_key: str
user_id: Optional[str]
platform_id: Optional[str]

class Config:
fields = {
Expand All @@ -91,6 +92,7 @@ class Config:
'description': 'Custom Id, must be unique for each transfer'
},
'user_id': {'description': 'source user to take the funds'},
'platform_id': {'description': 'platform id to take the funds'},
}
schema_extra = {
'example': {
Expand All @@ -100,6 +102,7 @@ class Config:
'descriptor': 'Mezcal, pulque y tequila',
'idempotency_key': 'UNIQUE-KEY-003',
'user_id': 'USWqY5cvkISJOxHyEKjAKf8w',
'platform_id': 'PTZbBlk__kQt-wfwzP5nwA9A',
}
}

Expand Down
2 changes: 1 addition & 1 deletion cuenca_validations/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.10.23'
__version__ = '0.10.24.dev0'