Download OpenAPI specification:Download
Creates an application for a trade credit line for the business specified in the request URL. Solarisbank will process the application manually. Use the GET
endpoint to retrieve information about the application's status.
Information related to the Trade Finance application.
The application was successfully created.
Invalid request.
You are not authorized to perform this action.
The resource could not be found.
{- "requested_credit_line": {
- "value": 100000,
- "currency": "EUR",
- "unit": "cents"
}, - "recipient_iban": "DE32110101001000000029",
- "partner_score": "B",
- "partner_reference_number": "3738dbd0-a547-4c11-99e7-770066a39292",
- "partner_contact_number": "+49303003000",
- "partner_contact_name": "Magda Musterfrau",
- "nominal_interest_rate": 0.02,
- "identification_id": "4c74c804eaea5d2a2d64ef400a27a4d3bid",
- "creditreform_score": 0.02,
- "creditreform_pd": 0.3,
- "application_date": "2022-05-31"
}
{- "status_detail": "Application is created",
- "status": "PENDING",
- "requested_credit_line": {
- "value": 100000,
- "unit": "cents",
- "currency": "EUR"
}, - "recipient_iban": "DE11200144559095555555",
- "partner_score": "B",
- "partner_reference_number": "3738dbd0-a547-4c11-99e7-770066a39292",
- "partner_contact_number": "+49303003000",
- "partner_contact_name": "Magda Musterfrau",
- "nominal_interest_rate": 0.02,
- "identification_id": "4c74c804eaea5d2a2d64ef400a27a4d3bid",
- "id": "fb7e312ee0e24148b2bc90c0cbe565bc",
- "creditreform_score": 0.02,
- "creditreform_pd": 0.3,
- "application_date": "2022-05-31"
}
Returns the Trade Finance application specified in the request URL. Use this endpoint to display the status of the application to the customer.
Successful result of the operation.
Invalid request.
You are not authorized to perform this action.
The resource could not be found.
curl -i -X GET \ 'https://api.solaris-sandbox.de/v1/businesses/{business_id}/trade_finance_applications/{id}'
{- "status_detail": "Application is created",
- "status": "PENDING",
- "requested_credit_line": {
- "value": 100000,
- "unit": "cents",
- "currency": "EUR"
}, - "recipient_iban": "DE11200144559095555555",
- "partner_score": "B",
- "partner_reference_number": "3738dbd0-a547-4c11-99e7-770066a39292",
- "partner_contact_number": "+49303003000",
- "partner_contact_name": "Magda Musterfrau",
- "nominal_interest_rate": 0.02,
- "identification_id": "4c74c804eaea5d2a2d64ef400a27a4d3bid",
- "id": "fb7e312ee0e24148b2bc90c0cbe565bc",
- "creditreform_score": 0.02,
- "creditreform_pd": 0.3,
- "application_date": "2022-05-31"
}
Attaches a previously uploaded document to the business's Trade Finance application. Note that you must upload the document using the POST Upload a document for a business
endpoint.
Information related to the document.
No Content
Invalid request.
You are not authorized to perform this action.
The resource could not be found.
{- "type": "xml/credit_summary",
- "document_id": "6bb6aea0c0c9058412cd43b0b58c3e92cdoc"
}
{- "title": "Failed to build pagination headers.",
- "status": "400",
- "id": "a95f2aaf-4e0c-4d49-8021-8a16a884ed86",
- "detail": "Cannot connect to database.",
- "code": "build_pagination_headers_failure"
}
Creates a trade. Note that you must upload the documents related to the trade using the POST Upload business document
endpoint and then attach them to the trade using the POST Add document to trade
endpoint.
Information about the trade.
trade_purpose required | string The purpose of the trade. |
trade_origin_country required | string 2 characters The seller's ISO 3166-1 alpha-2 country code. |
trade_company_website required | string The seller's website. |
trade_company_registration required | string The seller's company registration number. |
trade_company_name required | string The company name of the seller. |
trade_company_address required | string The seller's address. |
seller_bank_account_details | object or null The seller's bank account details. |
requested_trade_currency | string or null The currency requested for the trade by the customer. |
required | object The amount to be paid out to the customer (i.e., the value of the trade), in Euro cents. |
reason_for_extension | string or null A reason to postpone the payback process beyond the original deadline. |
partner_score | string or null A score that you calculate for the customer, which controls auto-approval behavior. |
partner_reviewer required | string The individual in your organization who reviewed the trade. |
original_invoice_number required | string An alphanumeric identifier generated by the seller for the invoice. |
required | object The original amount listed on the invoice of the trade. |
order_reference | string or null (For non-Euro trades) A reference for you to match the trade with the generated currency conversion order. |
invoice_date required | string <date> The date when the invoice must be paid. |
incoterm required | string (Incoterm) The relevant incoterm that applies to the trade. |
fx_rate | number or null (For non-Euro trades) The foreign exchange (FX) rate to apply to the trade. |
financing_term required | integer <int32> The number of days from the payout of the loan when the customer must pay it back. |
business_trade_no required | string A serial number you may generate to identify the trade. |
The trade was successfully created.
Invalid request.
You are not authorized to perform this action.
The resource could not be found.
{- "trade_purpose": "Buying machinery",
- "trade_origin_country": "DE",
- "trade_company_website": "docs.solarisbank.com",
- "trade_company_registration": "HRB 168180 B",
- "trade_company_name": "SolarisDealz GmbH",
- "trade_company_address": "Cuvrystraße 53, 10997 Berlin",
- "seller_bank_account_details": {
- "iban": "DE11200144559095555555"
}, - "requested_trade_currency": "EUR",
- "requested_payout_amount": {
- "value": 50000,
- "unit": "cents",
- "currency": "EUR"
}, - "reason_for_extension": "No moneys",
- "partner_score": "A",
- "partner_reviewer": "Ray Liotta",
- "original_invoice_number": "AAA1223731",
- "original_invoice_amount": {
- "value": 1000,
- "unit": "cents",
- "currency": "EUR"
}, - "order_reference": "string",
- "invoice_date": "2022-05-31",
- "incoterm": "CFR",
- "fx_rate": 0.03,
- "financing_term": 30,
- "business_trade_no": "e3b3ecd1-72b5-4786-9588-15671b035b42"
}
{- "trade_purpose": "Buying machinery",
- "trade_origin_country": "DE",
- "trade_company_website": "docs.solarisbank.com",
- "trade_company_registration": "HRB 168180 B",
- "trade_company_name": "SolarisDealz GmbH",
- "trade_company_address": "Cuvrystraße 53, 10997 Berlin",
- "status_detail": "string",
- "status": "PENDING",
- "seller_bank_account_details": {
- "Payout amount": "7654,80",
- "Payout Currency": "EUR",
- "Another entry": "Another value"
}, - "requested_payout_amount": {
- "value": 50000,
- "unit": "cents",
- "currency": "EUR"
}, - "reason_for_extension": "No moneys",
- "partner_score": "A",
- "partner_reviewer": "Max Mustermann",
- "original_invoice_number": "AAA1223731",
- "original_invoice_amount": {
- "value": 1000,
- "unit": "cents",
- "currency": "EUR"
}, - "order_reference": "string",
- "invoice_date": "2022-05-31",
- "incoterm": "CFR",
- "id": "80620f0c57594a2cac337f401889bf6f",
- "fx_rate": 0.03,
- "financing_term": 30,
- "documents": [
- {
- "type": "invoice",
- "document_id": "6bb6aea0c0c9058412cd43b0b58c3e92cdoc",
- "created_at": "2018-10-18T15:57:01.000000Z"
}
], - "business_trade_no": "e3b3ecd1-72b5-4786-9588-15671b035b42",
- "beneficiary_id": "e0277fae750a4c849660da873f94cbiz"
}
Returns the trade specified in the request URL. Use this endpoint to display the status of the trade to the customer.
Successful result of the operation.
Invalid request.
You are not authorized to perform this action.
The resource could not be found.
curl -i -X GET \ 'https://api.solaris-sandbox.de/v1/businesses/{business_id}/trade_credit_line/trades/{id}'
{- "trade_purpose": "Buying machinery",
- "trade_origin_country": "DE",
- "trade_company_website": "docs.solarisbank.com",
- "trade_company_registration": "HRB 168180 B",
- "trade_company_name": "SolarisDealz GmbH",
- "trade_company_address": "Cuvrystraße 53, 10997 Berlin",
- "status_detail": "string",
- "status": "PENDING",
- "seller_bank_account_details": {
- "Payout amount": "7654,80",
- "Payout Currency": "EUR",
- "Another entry": "Another value"
}, - "requested_payout_amount": {
- "value": 50000,
- "unit": "cents",
- "currency": "EUR"
}, - "reason_for_extension": "No moneys",
- "partner_score": "A",
- "partner_reviewer": "Max Mustermann",
- "original_invoice_number": "AAA1223731",
- "original_invoice_amount": {
- "value": 1000,
- "unit": "cents",
- "currency": "EUR"
}, - "order_reference": "string",
- "invoice_date": "2022-05-31",
- "incoterm": "CFR",
- "id": "80620f0c57594a2cac337f401889bf6f",
- "fx_rate": 0.03,
- "financing_term": 30,
- "documents": [
- {
- "type": "invoice",
- "document_id": "6bb6aea0c0c9058412cd43b0b58c3e92cdoc",
- "created_at": "2018-10-18T15:57:01.000000Z"
}
], - "business_trade_no": "e3b3ecd1-72b5-4786-9588-15671b035b42",
- "beneficiary_id": "e0277fae750a4c849660da873f94cbiz"
}
Adds a supporting document (e.g., the trade invoice) to a trade. Note that you must first upload these documents using the POST Upload a document for a business
endpoint.
Information related to the document.
No Content
Invalid request.
You are not authorized to perform this action.
The resource could not be found.
{- "type": "invoice",
- "document_id": "6bb6aea0c0c9058412cd43b0b58c3e92cdoc"
}
{- "title": "Failed to build pagination headers.",
- "status": "400",
- "id": "a95f2aaf-4e0c-4d49-8021-8a16a884ed86",
- "detail": "Cannot connect to database.",
- "code": "build_pagination_headers_failure"
}
Adds a payback plan to a trade, which determines when the loan will be paid out to the business and when the business must pay it back.
Information related to the payback plan.
No Content
Invalid request.
You are not authorized to perform this action.
The resource could not be found.
Conflict
{- "payout_date": "2020-01-01",
- "payback_date": "2020-01-31",
- "partner_transaction_charges_expected": {
- "value": 1250,
- "unit": "cents",
- "currency": "EUR"
}, - "other_charges": {
- "value": 6700,
- "unit": "cents",
- "currency": "EUR"
}, - "customer_fees_expected": {
- "value": 10000,
- "unit": "cents",
- "currency": "EUR"
}
}
{- "title": "Failed to build pagination headers.",
- "status": "400",
- "id": "a95f2aaf-4e0c-4d49-8021-8a16a884ed86",
- "detail": "Cannot connect to database.",
- "code": "build_pagination_headers_failure"
}
Attaches a business account to the trade credit line for the business specified in the request URL.
The account was successfully attached.
Invalid request.
You are not authorized to perform this action.
The resource could not be found.
The trade credit line already has an attached account.
{- "account_id": "efdd8c5e7ec0b4e36768c6de39e6cfc0cacc"
}
{- "requested_credit_line": {
- "amount": 100000,
- "unit": "cents",
- "currency": "EUR"
}, - "nominal_interest_rate": 0.02,
- "business_id": "e0277fae750a4c849660da873f94cbiz",
- "account_id": "5526853938474f3e92b22a03ea57a544cacc"
}