{"uid":"cap_BrKBJz-fzssVnuwhimNeF","slug":"x402endpoint-utiwoa54hq-uc-a-run-app-8361d903","name":"Laso Finance Firebase Auth Token","description":"Get a Firebase ID token for authenticating with the callable APIs","url":"https://x402endpoint-utiwoa54hq-uc.a.run.app/auth","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"auth":{"type":"object","properties":{"id_token":{"type":"string","description":"Firebase ID token for the callable APIs"},"expires_in":{"type":"string"},"refresh_token":{"type":"string"}}},"user_id":{"type":"string"},"callable_base_url":{"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"auth":{"id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6ImVlOTA0NmVhZDJlMDUwMDAxMGVkNTA0M2I0ODNkODRiMGM1MmM3YzQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20va3ljLXRzIiwiYXVkIjoia3ljLXRzIiwiYXV0aF90aW1lIjoxNzgxNTgyNTI3LCJ1c2VyX2lkIjoiMHg5Y2M0MmYzZDkyNDViODY3YWNjY2Q2MzBiNDNmOTA2YzE2NjViMTc2Iiwic3ViIjoiMHg5Y2M0MmYzZDkyNDViODY3YWNjY2Q2MzBiNDNmOTA2YzE2NjViMTc2IiwiaWF0IjoxNzgxNTgyNTI3LCJleHAiOjE3ODE1ODYxMjcsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnt9LCJzaWduX2luX3Byb3ZpZGVyIjoiY3VzdG9tIn19.tVxCeBZVibfcFAy0-S-NRYXtU7EDEnuxY1sW5vpEvYTznaU-bugA99PmFKFeNieoFZrZv3o31SI3xYql48I-XFh670xdBSbS92kwwK3riZxyP7xRCtZkOiD30xIWvSbjtSN8Pf-rDrFOMzx2vKzqcRI7D195onOQfcbzJWaxCvtosuh1vnglgfcIRldzoS9eA90d_xdvLlEnwqXSGHMKQen8gc-wXRBcRbSN40lfPG7AAgyv7O4HlpyAj5g9b9e2XsazNNVtGcdRR5UdNIbUrjnwj3qwYNxH7SOMP8UkmkKGKkK3XV7GTSl3jYR8vfQJ0KxwO8EuCZJhlBqXbMMOrA","expires_in":"3600","refresh_token":"AMf-vBy9WZqoWfmN90fwrbVXxdxEjkfx1qWF8sLJsU0k7eOewJPKI0U8uHss2xkmENoOW_Q82rjhxT6GPQ8yXFMwC1QLZ0pbNCK6ZNnvsSYdZ8SgBfN-QOUm0xodVmM_2QDfhHcgT25c5ANkBdVQOkJHBITbtwlhYdW9RwqV5J2o4oNDXZ9gRyg"},"user_id":"0x9cc42f3d9245b867acccd630b43f906c1665b176","callable_base_url":"https://us-central1-kyc-ts.cloudfunctions.net"}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8YpYkgIWh3d1kG1QRTJLo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a short-lived Firebase ID token used to authenticate with the Laso Finance callable (prepaid card/gift card) APIs","exampleAgentPrompt":"Get me a Firebase ID token so I can authenticate with the Laso Finance card API before placing a prepaid card order.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a Firebase ID token (JWT), an expires_in value (3600 seconds), and a refresh token. The ID token encodes the user's sub/user_id and can be passed as a Bearer token to other Laso Finance callable endpoints like order-prepaid-card or get-card-data.","failureModes":["Service unavailable (500): Cloud Run instance not running or cold-start timeout","Payment required (402): Caller has not paid the $0.001 USDC fee via x402 protocol","Token generation failure: Firebase custom auth signing error on backend","Rate limit exceeded: Too many token requests in a short window"],"whenToPreferThis":"Use this endpoint as the first step before calling any other Laso Finance callable API (e.g. ordering prepaid cards, gift cards, or retrieving card data). It is the gateway authentication step specific to this x402-gated Firebase-backed service. Prefer this over any generic OAuth or API key flow when working within the Laso Finance / x402endpoint ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T11:55:38.263Z","isFirstParty":false}