• This repository has been archived on 07/Mar/2023
  • Stars
    star
    271
  • Rank 151,717 (Top 3 %)
  • Language
    PHP
  • Created about 12 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Blockchain.info Receive Payments API V2 Demos

Notes

This repository contains simple examples of how to use the blockchain.info receive payments API V2 to process bitcoin payments.

To use Receive Payments v2 you'll need an xPub address corresponding to an HD wallet. If you don't already have this, you can obtain one by creating a new wallet. You'll also need a V2 API Key — please note that this new API key is mandatory for Receive API v2, and is distinct from the (optional) API key you might already use elsewhere in the Blockchain API.

Further documentation & explanation can be found at: https://blockchain.info/api/api_receive

You'll find samples written in several languages in this repository. The workflow implemented in all these samples is:

  • Show the user an invoice with a javascript payment button.
  • On receiving payment, redirect to a status page
  • When the payment is fully confirmed, give the user the product (in this case, show the user nutsandbolts.jpg)

This code is intended as educational reference material and is not written for production use.

More Repositories

1

service-my-wallet-v3

Blockchain Wallet API Service
JavaScript
887
star
2

blockchain-wallet-v4-frontend

Blockchain.com's open source, non-custodial Wallet
TypeScript
758
star
3

My-Wallet-V3-Android

Blockchain Android Wallet
Kotlin
554
star
4

thunder

Off-Chain Bitcoin payments using smart contracts
Java
531
star
5

My-Wallet-V3

Blockchain Web Wallet Library - https://support.blockchain.com
JavaScript
405
star
6

My-Wallet-V3-iOS

Blockchain iOS Wallet
Swift
369
star
7

My-Wallet-V3-Frontend

Blockchain Web Wallet Frontend
JavaScript
207
star
8

unused-My-Wallet

Legacy Blockchain Web Wallet - current version is at https://github.com/blockchain/My-Wallet-V3-Frontend
JavaScript
207
star
9

unused-My-Wallet-iPhone

For latest source, please see: https://github.com/blockchain/My-Wallet-V3-iOS
Assembly
127
star
10

lib-exchange-client

C#
124
star
11

Blockchain-Known-Pools

Blockchain Known Pools Tracking Info
109
star
12

my-wallet-backup-decryption-tool

JavaScript
49
star
13

unused-My-Wallet-V3-jar

Deprecated. Now lives here: https://github.com/blockchain/My-Wallet-V3-Android/tree/master/wallet
Java
34
star
14

Checksum-Wallet

Wallet checksums
32
star
15

bc-phone-number

An AngularJS international phone input directive
JavaScript
32
star
16

coin-definitions

Python
31
star
17

My-Wallet-Chrome-Extension

Chrome Extension For Blockchain.info Wallets
Shell
25
star
18

components

Components library for the Blockchain.com ecosystem 💍 🔥
JavaScript
24
star
19

bc-countries

A convenient Javascript countries utilities (e.g: dial codes, country codes, names)
JavaScript
18
star
20

wallet-options

JavaScript
17
star
21

bitcoin-exchange-client

JavaScript
16
star
22

bitcoin-coinify-client

JavaScript
14
star
23

constellation

TypeScript
13
star
24

bitcoin-sfox-client

JavaScript
12
star
25

OpenQuestDB

High performance, low latency multi-value SQL database optimised for time series
Java
10
star
26

Checksum-Explorer

Explorer checksums
9
star
27

My-Wallet-V3-Bower

9
star
28

sre-rust-tss-esapi

Rust
9
star
29

bitcoin-unocoin-client

JavaScript
8
star
30

cashaddrj

Java
8
star
31

api-v1-client-java

Blockchain Bitcoin Developer APIs - Java
Java
7
star
32

digits-trie

Fast prefix operations for strings of digits
JavaScript
6
star
33

bc-css-flags

Countries flags styles using only one picture
CSS
5
star
34

android_tech_dependencies

Empty Android project with standard dependencies
Kotlin
2
star