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.

ParameterDescription
applicationTokenThe application token.
offerIdThe id of the offer the customer chose.

Headers

Authorization: Bearer ACCESS_TOKEN
Content-Type: application/json

Response

{
  "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"
}
FieldDescription
contractUrlRedirect the customer here, or open it in an iframe.
offerTypeThe kind of offer, such as LEASELOAN.

On this page