{
  "name": "Remesso",
  "description": "Recurring stablecoin payments on Celo, bound by a mandate the payer signs on-chain. Another agent can bring a payment forward; nothing can redirect, resize or extend one.",
  "identity": {
    "erc8004": {
      "agentId": 9867,
      "registry": "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
      "chainId": 42220
    },
    "selfAgentId": "191",
    "agentAddress": "0x5C3EBb0084233156ba51a5C2dfD42d88d5a74CA6",
    "registry": "0xaC3DF9ABf80d0F5c020C06B04Cced27763355944",
    "proof": "self-agent-id",
    "humanVerified": true
  },
  "chain": {
    "network": "celo",
    "chainId": 42220,
    "executor": "0x3C357af3300f383Ea49B6D6ED8e084199a92bEd8",
    "trigger": "0x0000000000000000000000000000000000000001",
    "triggeredBy": "0xA351d65c15b8a342B6ECbC7f2B9eFE62B17cdb21",
    "attributionCode": "remesso"
  },
  "limits": {
    "perRun": {
      "minUsd": 1,
      "maxUsd": 1000,
      "assets": {
        "USDT": {
          "min": "1",
          "max": "1000",
          "minUnits": "1000000",
          "maxUnits": "1000000000"
        },
        "USDC": {
          "min": "1",
          "max": "1000",
          "minUnits": "1000000",
          "maxUnits": "1000000000"
        },
        "USDm": {
          "min": "1",
          "max": "1000",
          "minUnits": "1000000000000000000",
          "maxUnits": "1000000000000000000000"
        },
        "USA₮": {
          "min": "1",
          "max": "1000",
          "minUnits": "1000000",
          "maxUnits": "1000000000"
        },
        "wARS": {
          "min": "1500",
          "max": "1500000",
          "minUnits": "1500000000000000000000",
          "maxUnits": "1500000000000000000000000"
        },
        "wBRL": {
          "min": "5",
          "max": "5000",
          "minUnits": "5000000000000000000",
          "maxUnits": "5000000000000000000000"
        },
        "wCOP": {
          "min": "3100",
          "max": "3100000",
          "minUnits": "3100000000000000000000",
          "maxUnits": "3100000000000000000000000"
        },
        "wMXN": {
          "min": "18",
          "max": "18000",
          "minUnits": "18000000000000000000",
          "maxUnits": "18000000000000000000000"
        },
        "wCLP": {
          "min": "950",
          "max": "950000",
          "minUnits": "950000000000000000000",
          "maxUnits": "950000000000000000000000"
        },
        "wPEN": {
          "min": "3",
          "max": "3000",
          "minUnits": "3000000000000000000",
          "maxUnits": "3000000000000000000000"
        },
        "cNGN": {
          "min": "1300",
          "max": "1300000",
          "minUnits": "1300000000",
          "maxUnits": "1300000000000"
        }
      }
    }
  },
  "receiving": {
    "needs": [
      "an address on Celo"
    ],
    "doesNotNeed": [
      "gas",
      "a token balance",
      "an account with us",
      "our software"
    ],
    "assets": [
      "USDT",
      "USDC",
      "USDm",
      "USA₮",
      "wARS",
      "wBRL",
      "wCOP",
      "wMXN",
      "wCLP",
      "wPEN",
      "cNGN"
    ],
    "howToHandOverYourAddress": [
      {
        "how": "ask directly",
        "what": "POST https://engaboljiqudghvzmebq.supabase.co/functions/v1/request-payment",
        "detail": "free; returns a link and puts the request in the payer's app"
      },
      {
        "how": "send a link",
        "what": "https://remesso.crackedstudios.xyz/schedules/new?to=0xYourAddress&amount=5&every=week",
        "detail": "opens their form already filled in; they review and sign"
      },
      {
        "how": "tell them the address",
        "what": "any channel you already use",
        "detail": "they type it into the recipient field themselves"
      }
    ],
    "thePayerDecides": "every route above ends with the payer signing createSchedule in their own wallet. Nothing here obliges anyone to pay you.",
    "verify": "read getSchedule(id) on the executor — the recipient, amount and cadence are fixed there, and nobody can change them, including us",
    "knowWhenYouArePaid": [
      {
        "how": "ask about a request",
        "what": "POST https://engaboljiqudghvzmebq.supabase.co/functions/v1/request-payment {\"action\":\"status\",\"id\":...}",
        "detail": "pending, accepted, accepted_with_changes, declined or expired, and each payment's transaction"
      },
      {
        "how": "read your payment events",
        "what": "GET https://engaboljiqudghvzmebq.supabase.co/functions/v1/payment-events?address=0xYou&role=to",
        "detail": "every run and policy payment to you, read from the chain; pass `next` back as `after`"
      },
      {
        "how": "get a webhook",
        "what": "POST https://engaboljiqudghvzmebq.supabase.co/functions/v1/webhooks",
        "detail": "signed by your wallet (EIP-712); Standard Webhooks deliveries, retried for 24 hours, each saying whether it is final"
      }
    ],
    "payeeProfile": "https://bitbucket.org/crackedstudios/remesso/src/main/docs/AGENTS.md"
  },
  "developers": {
    "sdk": "npm install remesso-sdk viem",
    "docs": "https://remesso.crackedstudios.xyz/developers",
    "source": "https://bitbucket.org/crackedstudios/remesso/src/main/packages/remesso-sdk/",
    "builderCodes": {
      "how": "Schema 0 on your createSchedule transaction, as toDataSuffix or withAttribution from @celo/attribution-tags write it, or createRemesso({ builderCodes }) in remesso-sdk",
      "perRun": 3,
      "ours": [
        "remesso",
        "celo_5cd35ca55baf"
      ],
      "check": "your schedule's schedule_created event in payment-events lists details.builderCodes",
      "docs": "https://remesso.crackedstudios.xyz/developers#builder-codes"
    }
  },
  "services": [
    {
      "name": "naira-rate",
      "description": "Live USDT/NGN and USDC/NGN from on-chain RFQ makers: bid, ask and last, with mid and spread when both sides are quoted and null for both when they are not. What Remesso prices a naira corridor from.",
      "endpoint": "https://engaboljiqudghvzmebq.supabase.co/functions/v1/rate-service",
      "method": "POST",
      "input": {},
      "payment": {
        "protocol": "x402",
        "version": 2,
        "network": "celo",
        "amount": "1000",
        "decimals": 6,
        "assets": [
          {
            "symbol": "USDC",
            "address": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
            "decimals": 6,
            "amount": "1000",
            "transfer": "eip3009",
            "eip712": {
              "name": "USDC",
              "version": "2"
            }
          },
          {
            "symbol": "USDT",
            "address": "0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e",
            "decimals": 6,
            "amount": "1000",
            "transfer": "eip3009",
            "eip712": {
              "name": "Tether USD",
              "version": "1"
            }
          },
          {
            "symbol": "USAT",
            "address": "0xD2ab3C9A02DBBAB236BfEC45D1d755DF4267F771",
            "decimals": 6,
            "amount": "1000",
            "transfer": "eip3009",
            "eip712": {
              "name": "Tether America USD",
              "version": "1"
            }
          },
          {
            "symbol": "wARS",
            "address": "0x0DC4F92879B7670e5f4e4e6e3c801D229129D90D",
            "decimals": 18,
            "amount": "1500000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Argentino",
              "version": "1"
            }
          },
          {
            "symbol": "wBRL",
            "address": "0xD76f5Faf6888e24D9F04Bf92a0c8B921FE4390e0",
            "decimals": 18,
            "amount": "5000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Real Brasileño",
              "version": "1"
            }
          },
          {
            "symbol": "wCOP",
            "address": "0x8a1D45e102e886510e891d2Ec656a708991e2D76",
            "decimals": 18,
            "amount": "3100000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Colombiano",
              "version": "1"
            }
          },
          {
            "symbol": "wMXN",
            "address": "0x337E7456B420bD3481e7FA61fA9850343d610d34",
            "decimals": 18,
            "amount": "18000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Mexicano",
              "version": "1"
            }
          },
          {
            "symbol": "wCLP",
            "address": "0x61D450a098b6a7f69fC4b98CE68198fe59768651",
            "decimals": 18,
            "amount": "950000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Chileno",
              "version": "1"
            }
          },
          {
            "symbol": "wPEN",
            "address": "0x4F34c8b3b5FB6D98Da888F0feA543d4d9C9F2eBE",
            "decimals": 18,
            "amount": "3000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Sol Peruano",
              "version": "1"
            }
          }
        ],
        "facilitator": "https://api.x402.celo.org",
        "discover": "POST without a payment header: the price list is in the PAYMENT-REQUIRED header (v2) and the 402 body (v1)"
      },
      "refusals": [
        "503 if the upstream rate feed is unreachable — you are not charged"
      ]
    },
    {
      "name": "latam-rate",
      "description": "Live USD-to-wARS and USD-to-wBRL on Celo from two independent on-chain sources side by side — Textile's RFQ makers and the Uniswap pool at your size — with a flag when they disagree. wCOP, wMXN, wCLP and wPEN have no on-chain market on Celo and are reported as such, never priced from elsewhere.",
      "endpoint": "https://engaboljiqudghvzmebq.supabase.co/functions/v1/latam-rate",
      "method": "POST",
      "input": {
        "usd": "optional trade size to price the pool at (default 100, max 100000)"
      },
      "payment": {
        "protocol": "x402",
        "version": 2,
        "network": "celo",
        "amount": "1000",
        "decimals": 6,
        "assets": [
          {
            "symbol": "USDC",
            "address": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
            "decimals": 6,
            "amount": "1000",
            "transfer": "eip3009",
            "eip712": {
              "name": "USDC",
              "version": "2"
            }
          },
          {
            "symbol": "USDT",
            "address": "0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e",
            "decimals": 6,
            "amount": "1000",
            "transfer": "eip3009",
            "eip712": {
              "name": "Tether USD",
              "version": "1"
            }
          },
          {
            "symbol": "USAT",
            "address": "0xD2ab3C9A02DBBAB236BfEC45D1d755DF4267F771",
            "decimals": 6,
            "amount": "1000",
            "transfer": "eip3009",
            "eip712": {
              "name": "Tether America USD",
              "version": "1"
            }
          },
          {
            "symbol": "wARS",
            "address": "0x0DC4F92879B7670e5f4e4e6e3c801D229129D90D",
            "decimals": 18,
            "amount": "1500000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Argentino",
              "version": "1"
            }
          },
          {
            "symbol": "wBRL",
            "address": "0xD76f5Faf6888e24D9F04Bf92a0c8B921FE4390e0",
            "decimals": 18,
            "amount": "5000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Real Brasileño",
              "version": "1"
            }
          },
          {
            "symbol": "wCOP",
            "address": "0x8a1D45e102e886510e891d2Ec656a708991e2D76",
            "decimals": 18,
            "amount": "3100000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Colombiano",
              "version": "1"
            }
          },
          {
            "symbol": "wMXN",
            "address": "0x337E7456B420bD3481e7FA61fA9850343d610d34",
            "decimals": 18,
            "amount": "18000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Mexicano",
              "version": "1"
            }
          },
          {
            "symbol": "wCLP",
            "address": "0x61D450a098b6a7f69fC4b98CE68198fe59768651",
            "decimals": 18,
            "amount": "950000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Chileno",
              "version": "1"
            }
          },
          {
            "symbol": "wPEN",
            "address": "0x4F34c8b3b5FB6D98Da888F0feA543d4d9C9F2eBE",
            "decimals": 18,
            "amount": "3000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Sol Peruano",
              "version": "1"
            }
          }
        ],
        "facilitator": "https://api.x402.celo.org",
        "discover": "POST without a payment header: the price list is in the PAYMENT-REQUIRED header (v2) and the 402 body (v1)"
      },
      "refusals": [
        "400 for an invalid size, before any price is quoted",
        "503 if the sources are unreachable — you are not charged"
      ]
    },
    {
      "name": "latam-route",
      "description": "How to deliver an amount of pesos, reais or soles on Celo: the token, the dollars it takes at your size and from which venue (with price impact), Ripio's public buy and cash-out links and a prefilled Remesso schedule link. Moves nothing and signs nothing. Argentina and Brazil are priced on-chain; Colombia, Mexico, Chile and Peru get the Ripio route only.",
      "endpoint": "https://engaboljiqudghvzmebq.supabase.co/functions/v1/latam-route",
      "method": "POST",
      "input": {
        "country": "AR | BR | CO | MX | CL | PE",
        "amount": "number, in local currency unless currency is USD",
        "currency": "optional LOCAL (default) | USD",
        "recipient": "optional 0x address to prefill",
        "every": "optional week | fortnight | month (default month)"
      },
      "payment": {
        "protocol": "x402",
        "version": 2,
        "network": "celo",
        "amount": "2000",
        "decimals": 6,
        "assets": [
          {
            "symbol": "USDC",
            "address": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
            "decimals": 6,
            "amount": "2000",
            "transfer": "eip3009",
            "eip712": {
              "name": "USDC",
              "version": "2"
            }
          },
          {
            "symbol": "USDT",
            "address": "0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e",
            "decimals": 6,
            "amount": "2000",
            "transfer": "eip3009",
            "eip712": {
              "name": "Tether USD",
              "version": "1"
            }
          },
          {
            "symbol": "USAT",
            "address": "0xD2ab3C9A02DBBAB236BfEC45D1d755DF4267F771",
            "decimals": 6,
            "amount": "2000",
            "transfer": "eip3009",
            "eip712": {
              "name": "Tether America USD",
              "version": "1"
            }
          },
          {
            "symbol": "wARS",
            "address": "0x0DC4F92879B7670e5f4e4e6e3c801D229129D90D",
            "decimals": 18,
            "amount": "3000000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Argentino",
              "version": "1"
            }
          },
          {
            "symbol": "wBRL",
            "address": "0xD76f5Faf6888e24D9F04Bf92a0c8B921FE4390e0",
            "decimals": 18,
            "amount": "10000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Real Brasileño",
              "version": "1"
            }
          },
          {
            "symbol": "wCOP",
            "address": "0x8a1D45e102e886510e891d2Ec656a708991e2D76",
            "decimals": 18,
            "amount": "6200000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Colombiano",
              "version": "1"
            }
          },
          {
            "symbol": "wMXN",
            "address": "0x337E7456B420bD3481e7FA61fA9850343d610d34",
            "decimals": 18,
            "amount": "36000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Mexicano",
              "version": "1"
            }
          },
          {
            "symbol": "wCLP",
            "address": "0x61D450a098b6a7f69fC4b98CE68198fe59768651",
            "decimals": 18,
            "amount": "1900000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Chileno",
              "version": "1"
            }
          },
          {
            "symbol": "wPEN",
            "address": "0x4F34c8b3b5FB6D98Da888F0feA543d4d9C9F2eBE",
            "decimals": 18,
            "amount": "6000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Sol Peruano",
              "version": "1"
            }
          }
        ],
        "facilitator": "https://api.x402.celo.org",
        "discover": "POST without a payment header: the price list is in the PAYMENT-REQUIRED header (v2) and the 402 body (v1)"
      },
      "refusals": [
        "400 for an unknown country or a bad amount, before any price is quoted",
        "503 if the sources are unreachable — you are not charged"
      ]
    },
    {
      "name": "capabilities",
      "description": "This document. Free, because discovery that costs money is discovery nobody does.",
      "endpoint": "https://engaboljiqudghvzmebq.supabase.co/functions/v1/agent",
      "method": "GET",
      "payment": {
        "protocol": "none"
      }
    },
    {
      "name": "request-payment",
      "description": "Ask a Remesso sender to pay you on a schedule. Free. Advisory only: it prefills their form and returns a link — it cannot create a schedule, approve an allowance or move a token. Only the payer can, and only by signing in their own wallet.",
      "endpoint": "https://engaboljiqudghvzmebq.supabase.co/functions/v1/request-payment",
      "method": "POST",
      "input": {
        "payer": "the wallet address you are asking",
        "to": "the address you want paid",
        "amount": "optional, e.g. \"5\"",
        "token": "optional: USDT, USDC, USDm, USA₮, wARS, wBRL, wCOP, wMXN, wCLP, wPEN, cNGN",
        "every": "optional: week | fortnight | month | quarter",
        "runs": "optional: how many payments",
        "from": "optional: who is asking",
        "note": "optional: why"
      },
      "payment": {
        "protocol": "none"
      },
      "refusals": [
        "400 if either address is not a wallet address",
        "429 once a payer has 10 requests waiting — an inbox anyone can fill is an inbox nobody reads"
      ],
      "actions": {
        "list": "the live requests addressed to a wallet, each with the reference a policy payment carries in its memo",
        "status": "where a request stands, and its payments",
        "answer": "report the V5 schedule that answers a request; it binds only if it is the payer's, to you, and newer than the request",
        "decline": "the payer, or an agent with a live policy from them, turns a request down by EIP-712 signature"
      },
      "amounts": "a requested amount is what you receive; the payer's form adds the commission on top"
    },
    {
      "name": "payment-events",
      "description": "Every payment Remesso's contracts made, read from the chain: schedule runs, early sends and agents' policy payments, by address. Free. Each says whether it is final (at or below the RPC's finalized block), and a reorg marks it removed rather than dropping it, so a reader passing back `next` misses nothing.",
      "endpoint": "https://engaboljiqudghvzmebq.supabase.co/functions/v1/payment-events",
      "method": "GET",
      "input": {
        "address": "required",
        "role": "to | from | agent | any (any)",
        "kind": "run, schedule_created, policy_payment, policy_created, policy_revoked (all)",
        "after": "the `next` of the previous page (0)",
        "limit": "1–500 (100)"
      },
      "payment": {
        "protocol": "none"
      }
    },
    {
      "name": "webhooks",
      "description": "Payment notifications for an address you control: payment.received, payment.finalized and payment.removed, in the Standard Webhooks format (webhook-id, webhook-timestamp, webhook-signature). The id stays the same across retries; deduplicate on it. Subscribing, rotating, revoking and replaying are signed by the address (EIP-712; ERC-1271 for a smart account), and an endpoint must echo a challenge before anything is sent. GET it for the typed data.",
      "endpoint": "https://engaboljiqudghvzmebq.supabase.co/functions/v1/webhooks",
      "method": "POST",
      "payment": {
        "protocol": "none"
      }
    },
    {
      "name": "trigger-run",
      "description": "Bring one payment of an existing schedule forward. The caller buys timing and nothing else. Stablecoin payouts only: naira schedules are refused before a price is quoted.",
      "endpoint": "https://engaboljiqudghvzmebq.supabase.co/functions/v1/trigger-run",
      "method": "POST",
      "input": {
        "schedule": "on-chain schedule id, as a decimal string"
      },
      "payment": {
        "protocol": "x402",
        "version": 2,
        "network": "celo",
        "amount": "10000",
        "decimals": 6,
        "assets": [
          {
            "symbol": "USDC",
            "address": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
            "decimals": 6,
            "amount": "10000",
            "transfer": "eip3009",
            "eip712": {
              "name": "USDC",
              "version": "2"
            }
          },
          {
            "symbol": "USDT",
            "address": "0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e",
            "decimals": 6,
            "amount": "10000",
            "transfer": "eip3009",
            "eip712": {
              "name": "Tether USD",
              "version": "1"
            }
          },
          {
            "symbol": "USAT",
            "address": "0xD2ab3C9A02DBBAB236BfEC45D1d755DF4267F771",
            "decimals": 6,
            "amount": "10000",
            "transfer": "eip3009",
            "eip712": {
              "name": "Tether America USD",
              "version": "1"
            }
          },
          {
            "symbol": "wARS",
            "address": "0x0DC4F92879B7670e5f4e4e6e3c801D229129D90D",
            "decimals": 18,
            "amount": "15000000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Argentino",
              "version": "1"
            }
          },
          {
            "symbol": "wBRL",
            "address": "0xD76f5Faf6888e24D9F04Bf92a0c8B921FE4390e0",
            "decimals": 18,
            "amount": "50000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Real Brasileño",
              "version": "1"
            }
          },
          {
            "symbol": "wCOP",
            "address": "0x8a1D45e102e886510e891d2Ec656a708991e2D76",
            "decimals": 18,
            "amount": "31000000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Colombiano",
              "version": "1"
            }
          },
          {
            "symbol": "wMXN",
            "address": "0x337E7456B420bD3481e7FA61fA9850343d610d34",
            "decimals": 18,
            "amount": "180000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Mexicano",
              "version": "1"
            }
          },
          {
            "symbol": "wCLP",
            "address": "0x61D450a098b6a7f69fC4b98CE68198fe59768651",
            "decimals": 18,
            "amount": "9500000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Peso Chileno",
              "version": "1"
            }
          },
          {
            "symbol": "wPEN",
            "address": "0x4F34c8b3b5FB6D98Da888F0feA543d4d9C9F2eBE",
            "decimals": 18,
            "amount": "30000000000000000",
            "transfer": "permit2",
            "eip712": {
              "name": "Sol Peruano",
              "version": "1"
            }
          }
        ],
        "facilitator": "https://api.x402.celo.org",
        "discover": "POST without a payment header: the price list is in the PAYMENT-REQUIRED header (v2) and the 402 body (v1)"
      },
      "refusals": [
        "403 if the schedule's payer did not grant this executor the right to collect",
        "403 once the granted collections are used up",
        "403 within 60 seconds of the previous collection",
        "403 for any schedule paying out in cNGN — naira payouts are switched off",
        "403 if the amount is outside the backend's per-payment limits",
        "409 if the payment would revert — checked by simulation before the caller is charged",
        "402 if the caller's payment cannot be settled — settlement happens before the run"
      ]
    }
  ],
  "guarantees": [
    "The recipient is fixed when the payer signs and cannot be changed by anyone.",
    "The amount per payment is fixed at the same moment.",
    "A collection consumes one scheduled payment; it never adds one.",
    "Collections stop at the count the payer granted, and at their end date.",
    "The payer can withdraw the grant at any time, without our cooperation.",
    "Revoking the token allowance stops everything, also without our cooperation."
  ],
  "verification": {
    "contract": "https://celoscan.io/address/0x3C357af3300f383Ea49B6D6ED8e084199a92bEd8",
    "source": "https://bitbucket.org/crackedstudios/remesso",
    "reads": {
      "triggerability": "triggerability(uint256 id, address caller) view",
      "schedule": "getSchedule(uint256 id) view"
    }
  },
  "identityChecksAvailable": true
}