Payment Bots. Glossary.

HTTP 402

HTTP 402 Payment Required is a status code that means the client must pay before the server will return the requested resource.

Updated .

Last verified . How we verify · Corrections

Definition

Cards and crypto

HTTP 402 Payment Required is a status code that means the client must pay before the server will return the requested resource. Agent payment protocols use this status, or the same idea, to send payment terms with the response.

Last verified

Why it matters

It is the signal that a resource costs money. An agent that understands a 402 response can read the price and pay without a person filling in a checkout form.

Sources

Questions and answers

What is HTTP 402?

HTTP 402 Payment Required is a status code that means the client must pay before the server will return the requested resource. Agent payment protocols use this status, or the same idea, to send payment terms with the response.

Why does HTTP 402 matter for agent payments?

It is the signal that a resource costs money. An agent that understands a 402 response can read the price and pay without a person filling in a checkout form.

More terms

See the full glossary, the topics and the safety guide. This page and the glossary are free.