POST api/retailer/application

Initial request

Request Information

URI Parameters

None.

Body Parameters

ProcessWebshopApplicationRequest
NameDescriptionTypeAdditional information
Loan

Required loan information

WebshopLoan

None.

Applicant

Required information about the main applicant

Applicant

None.

CoApplicant

Optional information about the main applicant

CoApplicant

None.

Agreements

Customer has ag

Collection of AgreedTo

None.

SkipPidValidation

In case the nets pid validation fails set this to true and the application will go to manual processing.

boolean

None.

FromReminder

Set to true if the application was abandond and then filled out from a reminder that was sent to the customer

boolean

None.

BasisbankReferenceId

BasisbankReferenceId

None.

Retailer

Retailer

None.

DynamicFields

Collection of Pair of string [key] and string [value]

None.

Request Formats

Select correct entrytype for your flow


Download CSV for selected entrytype: None

application/json, text/json

Sample:
{
  "Loan": {
    "PurchasingDescription": "sample string 1",
    "PurchasingAmount": 0,
    "Amount": 2,
    "Duration": 3,
    "Repayment": {
      "RepaymentMethod": "PBS",
      "BankAccount": {
        "BankNumber": "sample string 1",
        "AccountNumber": "sample string 2"
      }
    },
    "Payment": {
      "PaymentMethod": "sample string 1",
      "BankAccount": {
        "BankNumber": "sample string 1",
        "AccountNumber": "sample string 2"
      }
    }
  },
  "CoApplicant": {
    "FullName": "sample string 1",
    "Ssn": {
      "Pid": "sample string 1",
      "IsValid": false,
      "Result": 0,
      "Value": "sample string 2"
    },
    "Email": "sample string 2",
    "Phone": "sample string 3",
    "PictureId": {
      "IssuedBy": "sample string 1",
      "IssuedDate": "2019-03-18T15:16:01.570058+01:00",
      "Number": "sample string 3",
      "Type": 4
    }
  },
  "Agreements": [
    "MARKETING",
    "MARKETING"
  ],
  "SkipPidValidation": true,
  "BasisbankEntryType": "Direct",
  "FailedRequestId": 0,
  "FromReminder": false,
  "CoPictureId": {
    "IssuedBy": "sample string 1",
    "IssuedDate": "2019-03-18T15:16:01.570058+01:00",
    "Number": "sample string 3",
    "Type": 4
  },
  "BasisbankReferenceId": {
    "ReferenceId": 1
  },
  "Retailer": {
    "CompanyId": 1,
    "RetailerId": 2,
    "EntryType": 3,
    "PinCode": 0,
    "ProductId": 4,
    "ProductCode": "sample string 5",
    "Signature": "sample string 6"
  },
  "DynamicFields": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "Flags": []
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProcessWebshopApplicationResponse
NameDescriptionTypeAdditional information
State

State of the application

RetailerApplicationState

None.

SubState

SubState of the application is used only for the applications that are accepted.

SubState

None.

ApplicantFullName

Official applicant full name.

string

None.

CoApplicantFullName

Official co-applicant full name.

string

None.

ApprovedLoan

The actual loan conditions that were approved by the bank.

ApprovedLoan

None.

DigitalSigningPage

Applicant and CoApplicant can open this link and by providing their CPR can sign the contract with their digital signature

URI

None.

Registrations

Customer registrations. Applicant/Co-Applicant must be informed about the registrations. This is enforced by danish law.Information about the registrations can only be retained for 24 hours after initial was processed.

Collection of Registration

None.

FailedRequestId

The ID to track the failed request.

integer

None.

IsExistingCustomer

boolean

None.

ContractId

Theof the contract in case of acceptance.

string

None.

BasisbankReferenceId

Reference id associated with the request

BasisbankReferenceId

None.

Success

Indicates if the request was processed successfully

boolean

None.

ErrorDetails

Failure details, will be present in case of an internal error.

Exception

None.

DynamicFields

Collection of Pair of string [key] and string [value]

None.

Flags

Collection of Flag

None.

Response Formats

Select correct entrytype for your flow


Download CSV for selected entrytype: None

application/json, text/json

Sample:
{
  "State": "ACCEPTED",
  "SubState": "NO_SUB_STATE",
  "ApplicantFullName": "sample string 1",
  "CoApplicantFullName": "sample string 2",
  "ApprovedLoan": {
    "Amount": 1,
    "NominalInterestRate": 2.0,
    "AnnualEffectiveInterestRate": 3.0,
    "AnnualPercentageRate": 4.0,
    "MonthlyPayment": 5.0,
    "PayOutAmount": 6.0,
    "EstablishmentFee": 7.0,
    "PurchasingDescription": "sample string 8",
    "PurchasingAmount": 9,
    "OrderId": "sample string 10",
    "SalesAssistant": "sample string 11",
    "Duration": 12,
    "Repayment": {
      "RepaymentMethod": "PBS",
      "BankAccount": {
        "BankNumber": "sample string 1",
        "AccountNumber": "sample string 2"
      }
    },
    "Payment": {
      "PaymentMethod": "sample string 1",
      "BankAccount": {
        "BankNumber": "sample string 1",
        "AccountNumber": "sample string 2"
      }
    }
  },
  "DigitalSigningPage": "http://webapihelppage3.com",
  "Registrations": [
    "RKI",
    "RKI"
  ],
  "FailedRequestId": 4,
  "IsExistingCustomer": false,
  "ContractId": "sample string 5",
  "BasisbankReferenceId": {
    "ReferenceId": 1
  },
  "Success": false,
  "ErrorDetails": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "DynamicFields": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "Flags": [
    {
      "Name": "sample string 1",
      "FlaggedBy": "sample string 2",
      "Type": "sample string 3",
      "IsPersisted": true,
      "Flagged": "2019-03-18T15:16:01.5710581+01:00"
    },
    {
      "Name": "sample string 1",
      "FlaggedBy": "sample string 2",
      "Type": "sample string 3",
      "IsPersisted": true,
      "Flagged": "2019-03-18T15:16:01.5710581+01:00"
    }
  ]
}
URI parameters
=
Headers | Add header
: Delete
Body
Samples:
Status
Headers
Body