Skip to main content
Creates a Masivo TOTP for a Masivo customer_id. Spark authorizes with the merchant’s server API key, keeps that bearer token on the server, and returns Masivo’s data unchanged (code, expired_at, seconds_left).
Requires a Fire spark access token from token exchange. There is no channel or integration toggle for this route. It works when this environment has an active Masivo connection, and returns 409 MASIVO_NOT_CONNECTED otherwise.
Only customer_id is sent to Masivo. Do not send metadata. Spark does not write the code onto an order.

Request body

Request

Response

201 with Masivo’s data object.
An unknown customer is 404. Spark keeps Masivo’s error and details. Other Masivo failures use the same shape: client errors keep Masivo’s status, and rate limits or server errors become 502. No active Masivo connection for this merchant and environment:
The error text follows Accept-Language (es, en, or pt). The code stays MASIVO_NOT_CONNECTED. Verify the code with Verify Masivo TOTP.