(20241216) Payments requesting started, callback noting started.
This commit is contained in:
@@ -110,17 +110,6 @@ class PGPaymentRequestHeaders(BaseModel):
|
||||
|
||||
class PGPaymentRequestData(BaseModel):
|
||||
|
||||
# {
|
||||
# "customerMobileNumber": "",
|
||||
# "tokenId": "",
|
||||
# "description": "",
|
||||
# "payerNumber": "",
|
||||
# "amount": "",
|
||||
# "currency": "",
|
||||
# "emailAddress": "",
|
||||
# "reference": "",
|
||||
# }
|
||||
|
||||
tokenKey: ObjectId = Field(
|
||||
description = "the auth token to use to send this message",
|
||||
frozen = True,
|
||||
@@ -164,6 +153,16 @@ class PGPaymentRequestData(BaseModel):
|
||||
examples = ["INR", "USD", "KES"]
|
||||
)
|
||||
|
||||
reference: str = Field(
|
||||
description = "some reference against which the payment was made",
|
||||
frozen = True
|
||||
)
|
||||
|
||||
description: str = Field(
|
||||
description = "a short, human-readable description of the payment",
|
||||
frozen = True
|
||||
)
|
||||
|
||||
metadata: dict = Field(
|
||||
description = "any extra information about this payment",
|
||||
frozen = True
|
||||
@@ -210,11 +209,6 @@ class PaymentRequestOneResult(BaseModel):
|
||||
default = None
|
||||
)
|
||||
|
||||
paymentDetails: CorePaymentModel = Field(
|
||||
description = "the actual data of the payment",
|
||||
default = None
|
||||
)
|
||||
|
||||
# ┏┓ ┏•
|
||||
# ┃ ┏┓┏┓╋┓┏┓
|
||||
# ┗┛┗┛┛┗┛┗┗┫
|
||||
|
||||
Reference in New Issue
Block a user