Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (33 sloc) 900 Bytes

  BIP: 271
  Title: Simplified Payment Protocol MIME types
  Author: Wallet Workshop
  Created: 2019-02-22

Table of Contents

Abstract

This BIP defines a MIME (RFC 2046) Media Type for Bitcoin payment request messages.

Motivation

Wallet or server software that sends payment protocol messages over email or http should follow Internet standards for properly encapsulating the messages.

Specification

The Media Type (Content-Type in HTML/email headers) for bitcoin protocol messages shall be:

Message Type/Subtype
PaymentRequest application/json
Payment application/json
PaymentACK application/json

Payment protocol messages are encoded in JSON.

Example

A web server generating a PaymentRequest message to initiate the payment protocol would precede the binary message data with the following headers:

Content-Type: application/json

You can’t perform that action at this time.