Firstbase
Search
K

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"
}