stripe.s.services.rehive.io
Open in
urlscan Pro
52.174.147.71
Public Scan
URL:
https://stripe.s.services.rehive.io/
Submission: On September 30 via automatic, source certstream-suspicious — Scanned from DE
Submission: On September 30 via automatic, source certstream-suspicious — Scanned from DE
Form analysis
0 forms found in the DOMText Content
* Authentication * activate * postactivate_create * admin * getadmin_company_list * putadmin_company_update * patchadmin_company_partial_update * getadmin_currencies_list * getadmin_currencies_read * getadmin_payments_list * getadmin_payments_read * getadmin_users_list * getadmin_users_read * getadmin_users_payment-methods_list * getadmin_users_payment-methods_read * deactivate * postdeactivate_create * user * getuser_list * getuser_company_list * getuser_payment-methods_list * getuser_payment-methods_read * getuser_payments_list * postuser_payments_create * getuser_payments_read * getuser_sessions_list * postuser_sessions_create * getuser_sessions_read * webhook * postwebhook_create Documentation Powered by ReDoc STRIPE SERVICE API (V1) Download OpenAPI specification:Download Start by clicking Authorize and adding the header: Token . The user endpoints require a normal rehive user token returned by Rehive's /auth/login/ or /auth/register/ endpoints. AUTHENTICATION BEARER Security scheme type: API Key header parameter name: Authorization ACTIVATE ACTIVATE_CREATE AUTHORIZATIONS: Bearer REQUEST BODY SCHEMA: APPLICATION/JSON token required string (Token) non-empty RESPONSES 201 RESPONSE SCHEMA: APPLICATION/JSON token required string (Token) non-empty id string (Id) non-empty stripe_api_key string (Stripe api key) non-empty stripe_publishable_api_key string (Stripe publishable api key) non-empty stripe_currencies Array of object (Currency) post /activate/ https://stripe.s.services.rehive.io/api/activate/ REQUEST SAMPLES * Payload application/json Copy Expand all Collapse all { * "token": "string" } RESPONSE SAMPLES * 201 application/json Copy Expand all Collapse all { * "token": "string", * "id": "string", * "stripe_api_key": "string", * "stripe_publishable_api_key": "string", * "stripe_currencies": [ * { * "code": "string", * "display_code": "string", * "description": "string", * "symbol": "string", * "unit": "string", * "divisibility": -2147483648 } ] } ADMIN ADMIN_COMPANY_LIST AUTHORIZATIONS: Bearer RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON Array id string (Id) non-empty stripe_api_key string (Stripe api key) [ 1 .. 300 ] characters Nullable stripe_publishable_api_key string (Stripe publishable api key) [ 1 .. 300 ] characters Nullable stripe_currencies Array of object (Currency) get /admin/company/ https://stripe.s.services.rehive.io/api/admin/company/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all [ * { * "id": "string", * "stripe_api_key": "string", * "stripe_publishable_api_key": "string", * "stripe_currencies": [ * { * "code": "string", * "display_code": "string", * "description": "string", * "symbol": "string", * "unit": "string", * "divisibility": -2147483648 } ] } ] ADMIN_COMPANY_UPDATE AUTHORIZATIONS: Bearer REQUEST BODY SCHEMA: APPLICATION/JSON stripe_api_key string (Stripe api key) [ 1 .. 300 ] characters Nullable stripe_publishable_api_key string (Stripe publishable api key) [ 1 .. 300 ] characters Nullable stripe_currencies Array of string <= 100 items RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON id string (Id) non-empty stripe_api_key string (Stripe api key) [ 1 .. 300 ] characters Nullable stripe_publishable_api_key string (Stripe publishable api key) [ 1 .. 300 ] characters Nullable stripe_currencies Array of string <= 100 items put /admin/company/ https://stripe.s.services.rehive.io/api/admin/company/ REQUEST SAMPLES * Payload application/json Copy Expand all Collapse all { * "stripe_api_key": "string", * "stripe_publishable_api_key": "string", * "stripe_currencies": [ * "string" ] } RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "id": "string", * "stripe_api_key": "string", * "stripe_publishable_api_key": "string", * "stripe_currencies": [ * "string" ] } ADMIN_COMPANY_PARTIAL_UPDATE AUTHORIZATIONS: Bearer REQUEST BODY SCHEMA: APPLICATION/JSON stripe_api_key string (Stripe api key) [ 1 .. 300 ] characters Nullable stripe_publishable_api_key string (Stripe publishable api key) [ 1 .. 300 ] characters Nullable stripe_currencies Array of string <= 100 items RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON id string (Id) non-empty stripe_api_key string (Stripe api key) [ 1 .. 300 ] characters Nullable stripe_publishable_api_key string (Stripe publishable api key) [ 1 .. 300 ] characters Nullable stripe_currencies Array of string <= 100 items patch /admin/company/ https://stripe.s.services.rehive.io/api/admin/company/ REQUEST SAMPLES * Payload application/json Copy Expand all Collapse all { * "stripe_api_key": "string", * "stripe_publishable_api_key": "string", * "stripe_currencies": [ * "string" ] } RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "id": "string", * "stripe_api_key": "string", * "stripe_publishable_api_key": "string", * "stripe_currencies": [ * "string" ] } ADMIN_CURRENCIES_LIST AUTHORIZATIONS: Bearer QUERY PARAMETERS code string page integer A page number within the paginated result set. page_size integer Number of results to return per page. RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON count required integer results required Array of object (Currency) next string <uri> Nullable previous string <uri> Nullable get /admin/currencies/ https://stripe.s.services.rehive.io/api/admin/currencies/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "count": 0, * "next": "http://example.com", * "previous": "http://example.com", * "results": [ * { * "code": "string", * "display_code": "string", * "description": "string", * "symbol": "string", * "unit": "string", * "divisibility": -2147483648 } ] } ADMIN_CURRENCIES_READ AUTHORIZATIONS: Bearer PATH PARAMETERS code required string RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON code required string (Code) [ 1 .. 30 ] characters display_code string (Display code) <= 12 characters Nullable description string (Description) <= 255 characters Nullable symbol string (Symbol) <= 30 characters Nullable unit string (Unit) <= 30 characters Nullable divisibility integer (Divisibility) [ -2147483648 .. 2147483647 ] get /admin/currencies/{code}/ https://stripe.s.services.rehive.io/api/admin/currencies/{code}/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "code": "string", * "display_code": "string", * "description": "string", * "symbol": "string", * "unit": "string", * "divisibility": -2147483648 } ADMIN_PAYMENTS_LIST AUTHORIZATIONS: Bearer QUERY PARAMETERS page integer A page number within the paginated result set. page_size integer Number of results to return per page. RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON count required integer results required Array of object (AdminPayment) next string <uri> Nullable previous string <uri> Nullable get /admin/payments/ https://stripe.s.services.rehive.io/api/admin/payments/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "count": 0, * "next": "http://example.com", * "previous": "http://example.com", * "results": [ * { * "id": "string", * "user": "string", * "status": "processing", * "error": "string", * "currency": { * "code": "string", * "display_code": "string", * "description": "string", * "symbol": "string", * "unit": "string", * "divisibility": -2147483648 }, * "amount": 0, * "payment_method": "string", * "return_url": "http://example.com", * "next_action": "string", * "collection": "string", * "created": "string", * "updated": "string" } ] } ADMIN_PAYMENTS_READ AUTHORIZATIONS: Bearer PATH PARAMETERS id required string RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON currency required object (Currency) amount required integer (Amount) id string (Id) non-empty user string (User) non-empty status string (Status) Enum:"processing" "succeeded" "failed" error string (Error) non-empty payment_method string (Payment method) non-empty return_url string <uri> (Return url) non-empty next_action string (Next action) collection string (Collection) non-empty created string (Created) updated string (Updated) get /admin/payments/{id}/ https://stripe.s.services.rehive.io/api/admin/payments/{id}/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "id": "string", * "user": "string", * "status": "processing", * "error": "string", * "currency": { * "code": "string", * "display_code": "string", * "description": "string", * "symbol": "string", * "unit": "string", * "divisibility": -2147483648 }, * "amount": 0, * "payment_method": "string", * "return_url": "http://example.com", * "next_action": "string", * "collection": "string", * "created": "string", * "updated": "string" } ADMIN_USERS_LIST AUTHORIZATIONS: Bearer QUERY PARAMETERS page integer A page number within the paginated result set. page_size integer Number of results to return per page. RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON count required integer results required Array of object (AdminUser) next string <uri> Nullable previous string <uri> Nullable get /admin/users/ https://stripe.s.services.rehive.io/api/admin/users/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "count": 0, * "next": "http://example.com", * "previous": "http://example.com", * "results": [ * { * "id": "string", * "stripe_customer_id": "string", * "last_payment_method": "string" } ] } ADMIN_USERS_READ AUTHORIZATIONS: Bearer PATH PARAMETERS identifier required string RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON id string (Id) non-empty stripe_customer_id string (Stripe customer id) non-empty last_payment_method string (Last payment method) get /admin/users/{identifier}/ https://stripe.s.services.rehive.io/api/admin/users/{identifier}/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "id": "string", * "stripe_customer_id": "string", * "last_payment_method": "string" } ADMIN_USERS_PAYMENT-METHODS_LIST AUTHORIZATIONS: Bearer PATH PARAMETERS identifier required string RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON Array card required object (Card) id string (Id) non-empty type string (Type) non-empty get /admin/users/{identifier}/payment-methods/ https://stripe.s.services.rehive.io/api/admin/users/{identifier}/payment-methods/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all [ * { * "id": "string", * "type": "string", * "card": { * "brand": "string", * "country": "string", * "last4": "string", * "exp_month": 0, * "exp_year": 0 } } ] ADMIN_USERS_PAYMENT-METHODS_READ AUTHORIZATIONS: Bearer PATH PARAMETERS id required string identifier required string RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON card required object (Card) id string (Id) non-empty type string (Type) non-empty get /admin/users/{identifier}/payment-methods/{id}/ https://stripe.s.services.rehive.io/api/admin/users/{identifier}/payment-methods/{id}/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "id": "string", * "type": "string", * "card": { * "brand": "string", * "country": "string", * "last4": "string", * "exp_month": 0, * "exp_year": 0 } } DEACTIVATE DEACTIVATE_CREATE AUTHORIZATIONS: Bearer REQUEST BODY SCHEMA: APPLICATION/JSON token required string (Token) non-empty RESPONSES 201 RESPONSE SCHEMA: APPLICATION/JSON token required string (Token) non-empty post /deactivate/ https://stripe.s.services.rehive.io/api/deactivate/ REQUEST SAMPLES * Payload application/json Copy Expand all Collapse all { * "token": "string" } RESPONSE SAMPLES * 201 application/json Copy Expand all Collapse all { * "token": "string" } USER USER_LIST AUTHORIZATIONS: Bearer RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON Array id string (Id) non-empty stripe_customer_id string (Stripe customer id) non-empty last_payment_method string (Last payment method) get /user/ https://stripe.s.services.rehive.io/api/user/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all [ * { * "id": "string", * "stripe_customer_id": "string", * "last_payment_method": "string" } ] USER_COMPANY_LIST AUTHORIZATIONS: Bearer RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON Array id string (Id) non-empty stripe_publishable_api_key string (Stripe publishable api key) [ 1 .. 300 ] characters Nullable stripe_currencies Array of object (Currency) get /user/company/ https://stripe.s.services.rehive.io/api/user/company/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all [ * { * "id": "string", * "stripe_publishable_api_key": "string", * "stripe_currencies": [ * { * "code": "string", * "display_code": "string", * "description": "string", * "symbol": "string", * "unit": "string", * "divisibility": -2147483648 } ] } ] USER_PAYMENT-METHODS_LIST AUTHORIZATIONS: Bearer RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON Array card required object (Card) id string (Id) non-empty type string (Type) non-empty get /user/payment-methods/ https://stripe.s.services.rehive.io/api/user/payment-methods/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all [ * { * "id": "string", * "type": "string", * "card": { * "brand": "string", * "country": "string", * "last4": "string", * "exp_month": 0, * "exp_year": 0 } } ] USER_PAYMENT-METHODS_READ AUTHORIZATIONS: Bearer PATH PARAMETERS id required string RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON card required object (Card) id string (Id) non-empty type string (Type) non-empty get /user/payment-methods/{id}/ https://stripe.s.services.rehive.io/api/user/payment-methods/{id}/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "id": "string", * "type": "string", * "card": { * "brand": "string", * "country": "string", * "last4": "string", * "exp_month": 0, * "exp_year": 0 } } USER_PAYMENTS_LIST AUTHORIZATIONS: Bearer QUERY PARAMETERS page integer A page number within the paginated result set. page_size integer Number of results to return per page. RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON count required integer results required Array of object (Payment) next string <uri> Nullable previous string <uri> Nullable get /user/payments/ https://stripe.s.services.rehive.io/api/user/payments/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "count": 0, * "next": "http://example.com", * "previous": "http://example.com", * "results": [ * { * "id": "string", * "status": "processing", * "error": "string", * "currency": { * "code": "string", * "display_code": "string", * "description": "string", * "symbol": "string", * "unit": "string", * "divisibility": -2147483648 }, * "amount": 0, * "payment_method": "string", * "return_url": "http://example.com", * "next_action": "string", * "collection": "string", * "created": "string", * "updated": "string" } ] } USER_PAYMENTS_CREATE AUTHORIZATIONS: Bearer REQUEST BODY SCHEMA: APPLICATION/JSON currency required string (Currency) non-empty amount required integer (Amount) payment_method required string (Payment method) [ 1 .. 64 ] characters return_url required string <uri> (Return url) [ 1 .. 250 ] characters RESPONSES 201 RESPONSE SCHEMA: APPLICATION/JSON currency required string (Currency) non-empty amount required integer (Amount) payment_method required string (Payment method) [ 1 .. 64 ] characters return_url required string <uri> (Return url) [ 1 .. 250 ] characters id string (Id) non-empty status string (Status) Enum:"processing" "succeeded" "failed" error string (Error) non-empty next_action string (Next action) collection string (Collection) non-empty created string (Created) updated string (Updated) post /user/payments/ https://stripe.s.services.rehive.io/api/user/payments/ REQUEST SAMPLES * Payload application/json Copy Expand all Collapse all { * "currency": "string", * "amount": 0, * "payment_method": "string", * "return_url": "http://example.com" } RESPONSE SAMPLES * 201 application/json Copy Expand all Collapse all { * "id": "string", * "status": "processing", * "error": "string", * "currency": "string", * "amount": 0, * "payment_method": "string", * "return_url": "http://example.com", * "next_action": "string", * "collection": "string", * "created": "string", * "updated": "string" } USER_PAYMENTS_READ AUTHORIZATIONS: Bearer PATH PARAMETERS identifier required string RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON currency required object (Currency) amount required integer (Amount) id string (Id) non-empty status string (Status) Enum:"processing" "succeeded" "failed" error string (Error) non-empty payment_method string (Payment method) non-empty return_url string <uri> (Return url) non-empty next_action string (Next action) collection string (Collection) non-empty created string (Created) updated string (Updated) get /user/payments/{identifier}/ https://stripe.s.services.rehive.io/api/user/payments/{identifier}/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "id": "string", * "status": "processing", * "error": "string", * "currency": { * "code": "string", * "display_code": "string", * "description": "string", * "symbol": "string", * "unit": "string", * "divisibility": -2147483648 }, * "amount": 0, * "payment_method": "string", * "return_url": "http://example.com", * "next_action": "string", * "collection": "string", * "created": "string", * "updated": "string" } USER_SESSIONS_LIST AUTHORIZATIONS: Bearer QUERY PARAMETERS page integer A page number within the paginated result set. page_size integer Number of results to return per page. RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON count required integer results required Array of object (Session) next string <uri> Nullable previous string <uri> Nullable get /user/sessions/ https://stripe.s.services.rehive.io/api/user/sessions/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "count": 0, * "next": "http://example.com", * "previous": "http://example.com", * "results": [ * { * "id": "string", * "mode": "setup", * "success_url": "http://example.com", * "cancel_url": "http://example.com", * "completed": true, * "created": "string", * "updated": "string" } ] } USER_SESSIONS_CREATE AUTHORIZATIONS: Bearer REQUEST BODY SCHEMA: APPLICATION/JSON mode required string (Mode) Enum:"setup" "payment" success_url required string <uri> (Success url) [ 1 .. 250 ] characters cancel_url required string <uri> (Cancel url) [ 1 .. 250 ] characters RESPONSES 201 RESPONSE SCHEMA: APPLICATION/JSON mode required string (Mode) Enum:"setup" "payment" success_url required string <uri> (Success url) [ 1 .. 250 ] characters cancel_url required string <uri> (Cancel url) [ 1 .. 250 ] characters id string (Id) non-empty completed boolean (Completed) created string (Created) updated string (Updated) post /user/sessions/ https://stripe.s.services.rehive.io/api/user/sessions/ REQUEST SAMPLES * Payload application/json Copy Expand all Collapse all { * "mode": "setup", * "success_url": "http://example.com", * "cancel_url": "http://example.com" } RESPONSE SAMPLES * 201 application/json Copy Expand all Collapse all { * "id": "string", * "mode": "setup", * "success_url": "http://example.com", * "cancel_url": "http://example.com", * "completed": true, * "created": "string", * "updated": "string" } USER_SESSIONS_READ AUTHORIZATIONS: Bearer PATH PARAMETERS identifier required string RESPONSES 200 RESPONSE SCHEMA: APPLICATION/JSON mode required string (Mode) Enum:"setup" "payment" success_url required string <uri> (Success url) [ 1 .. 250 ] characters cancel_url required string <uri> (Cancel url) [ 1 .. 250 ] characters id string (Id) non-empty completed boolean (Completed) created string (Created) updated string (Updated) get /user/sessions/{identifier}/ https://stripe.s.services.rehive.io/api/user/sessions/{identifier}/ RESPONSE SAMPLES * 200 application/json Copy Expand all Collapse all { * "id": "string", * "mode": "setup", * "success_url": "http://example.com", * "cancel_url": "http://example.com", * "completed": true, * "created": "string", * "updated": "string" } WEBHOOK WEBHOOK_CREATE Handle sessions success/cancellation/failure. AUTHORIZATIONS: Bearer PATH PARAMETERS company_id required string REQUEST BODY SCHEMA: APPLICATION/JSON data required string (Data) type required string (Type) non-empty RESPONSES 201 RESPONSE SCHEMA: APPLICATION/JSON data required string (Data) type required string (Type) non-empty message string (Message) Nullable post /webhook/{company_id}/ https://stripe.s.services.rehive.io/api/webhook/{company_id}/ REQUEST SAMPLES * Payload application/json Copy Expand all Collapse all { * "data": "string", * "type": "string" } RESPONSE SAMPLES * 201 application/json Copy Expand all Collapse all { * "data": "string", * "type": "string", * "message": "string" }