Firstbase
  • Welcome
  • Incorporation API
    • Overview
    • Environment
    • Authentication
    • Name Check
      • Request
      • Response
        • Response for Successful
        • Response for Failed
    • Incorporation Order
      • Request
        • User
        • Company
        • Holders
        • Parent Companies
      • Response
        • Response for Successful
        • Response for Failed
          • Unavailable company
          • LLC - Wrong count percent
    • Fetch Order By External Id
      • Request
      • Response
        • Response for Successful
        • Response for Failed
          • Order not found
    • States of Incorporation
      • Request
      • Response
    • Countries
      • Request
      • Response
    • Industries
      • Request
      • Response
    • Webhook
      • Request
      • Response
      • Callback
        • Order call
        • Document call
    • Company Info
Powered by GitBook
On this page

Was this helpful?

  1. Incorporation API
  2. Incorporation Order
  3. Response

Response for Successful

When all the information is correct and was accepted by the API, the response returned is as shown below. The attribute "referralId" is used to map the new customer to the partner using the API.

The attribute "paymentLink" redirects the customer directly to the Stripe Checkout page, and after the payment is completed successfuly, the user is redirected to the Firstbase dashboard.

Code 202: Order Received

{
	"referralId": "EI48A0AE",
	"paymentLink": "https://checkout.stripe.com/pay/cs_test_b14LMrb6aotGSIAikq03cw1nVKUNfGwFwYqrrW
4q1nnnUMFRx7CEl4Hi0g#fidkdWxOYHwnPyd1blpxYHZxWld%2FaEpAV0JQRFBzQ29tU1w8SVQxV2hs
UicpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPydocGlxbFpscWBoJyknYGtkZ2lgVWlkZmB
tamlhYHd2Jz9xd3BgeCUl"

}
PreviousResponseNextResponse for Failed

Last updated 2 years ago

Was this helpful?