Select offer
Choose one of the offers from Create full application and get the contract link.
GET https://api-staging.paytomorrow.com/api/ecommerce/application/{applicationToken}/offers/select/{offerId}Selects an offer returned by Create full application and returns the URL of the contract. Send the customer there to sign and make the down payment.
| Parameter | Description |
|---|---|
applicationToken | The application token. |
offerId | The id of the offer the customer chose. |
Headers
Authorization: Bearer ACCESS_TOKEN
Content-Type: application/jsonResponse
{
"offerId": "14",
"contractUrl": "https://consumer-staging.paytomorrow.com/paytomorrow/leaseloan?app=cb08821b-6d26-449e-921c-d1d7235cc741&auth=02db04f1-65aa-4863-8e79-adc2ce23dd71&back_button=false&cancellable=false",
"accessToken": "02db04f1-65aa-4863-8e79-adc2ce23dd71",
"offerType": "LEASELOAN"
}| Field | Description |
|---|---|
contractUrl | Redirect the customer here, or open it in an iframe. |
offerType | The kind of offer, such as LEASELOAN. |