Credit provider integration Python API
* Add end-point for initiating a request for credit from a provider. * Add an end-point for a provider to update the status of a request (approved / denied).
This commit is contained in:
@@ -989,3 +989,8 @@ CREDIT_TASK_DEFAULT_RETRY_DELAY = 30
|
||||
# Maximum number of retries per task for errors that are not related
|
||||
# to throttling.
|
||||
CREDIT_TASK_MAX_RETRIES = 5
|
||||
|
||||
# Maximum age in seconds of timestamps we will accept
|
||||
# when a credit provider notifies us that a student has been approved
|
||||
# or denied for credit.
|
||||
CREDIT_PROVIDER_TIMESTAMP_EXPIRATION = 15 * 60
|
||||
|
||||
Reference in New Issue
Block a user