Project

dps

0.0
No commit activity in last 3 years
No release in over 3 years
Direct Payment Standard (DPS) specifies a common way for entities to advertise payment options as well as facilitate payments directly between 2 parties. This library contains tools to interact with or implement a DPS server.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 12.3
~> 3.8
~> 1.3.6

Runtime

 Project Readme

DPS Ruby gem

This Ruby library is a collection of tools to help interact with or implement a DPS (Direct Payment Standard) server.

Installation

Add this line to your application's Gemfile:

gem 'dps'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dps

Examples

get_endpoint returns the DPS endpoint for a domain. E.g.

Dps::DNS.get_endpoint('example.com')

# if `tworgy.com` has a DNS TXT record with the value 'dps:endpoint url=https://tworgy.com/dps'

Dps::DNS.get_endpoint('tworgy.com') # returns 'https://tworgy.com/dps'