transactions
Operations addressed under /transactions — 2 operations.
get-otp-transaction-log-list-by-phone-number
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<OtpTransactionLogDto>.
| Field | Declared type | Nullable |
|---|---|---|
PhoneNumber | string | no |
CitizenId | string | no |
CreatedDate | DateTime | no |
OtpType | int | no |
IsFailed | bool | no |
Member names are the service's declaration names.
path Parameters
phoneNumberquery Parameters
orderByorderSortpageIndexpageSizeget-otp-transaction-log-list-by-phone-number › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
citizenIdcreatedDateisFailedotpTypePermitted values — validated against the otp_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | OTP | en: 1 · tr: 1 · ar: واحد |
phoneNumberget-otp-transaction-by-transaction-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as OtpTransactionDto.
| Field | Declared type | Nullable |
|---|---|---|
OtpItemId | Guid | no |
OneTimePassword | string | no |
EndDate | DateTime? | yes |
StartDate | DateTime? | yes |
RetryDate | DateTime? | yes |
IsConfirmed | bool | no |
PhoneNumber | string | no |
Email | string | no |
KycConfirmed | bool | no |
KycEndDate | DateTime? | yes |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_OTP_16 | 400 | OTP_TRANSACTION_IS_EXPIRE | Processing time has expired |
ERR_OTP_4 | 400 | OTP_TRANSACTION_IS_NOT_FOUND | not published in this snapshot |
path Parameters
transactionIdget-otp-transaction-by-transaction-id › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.