Credit Line APIs
API Definitions
Transaction Hold
Request a purchase hold.
note: any funds held in this way will be considered unavailable for future hold requests until either this hold is canceled, or the transaction is marked as repaid.
Endpoint
POST: https://sandbox-api.upwardli.com/v2/credit-line/{credit_line_id}/hold/
Request
The request object for a hold contains the amount you wish to create a hold for.
Response
If the end user has sufficient funds in their account
Transaction Clear
Clear the Transaction to disburse funds on behalf of the end user.
Endpoint
POST: https://sandbox-api.upwardli.com/v2/credit-line/{credit_line_id}/transactions/{transaction_id}/clear
Response
Transaction Close
Close the transaction and extinguish the liability.
Endpoint
POST https://sandbox-api.upwardli.com/v2/credit-line/{credit_line_id}/transactions/{transaction_id}/close
Response
Cancel a Transaction
Cancel a transaction so that the funds are released back to the consumer and available for spending. You can cancel a transaction in any of the following states:
- An initial hold can be canceled. This will release the hold immediately.
- A transaction that has been cleared can be canceled. We will undo the transaction and mark it as closed, but it will not be reported to the bureaus.
- A transaction that has been closed can be canceled. We will undo the transaction and mark it as closed, but it will not be reported to the bureaus.
Endpoint
POST https://sandbox-api.upwardli.com/v2/credit-line/{credit_line_id}/transactions/{transaction_id}/cancel
Response
Get Credit-Line Details
Get the current credit-line details
Endpoint
POST https://api-sandbox.upwardli.com/v2/credit-line/{credit_line_id}/