Skip to content

ripple-unmaintained/ripple-name-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ripple-name-application

setup

npm install

createdb -O postgres ripple_name_application

export DATABASE_URL=postgres://postgres:postgres@localhost:5432/ripple_name_application

cd server/

db-migrate up

POST /v1/application

{
  full_name: 'Henk Test',
  organization: 'Company', // optional
  email: '[email protected]',
  phone: '6501235631',
  ripple_address: '1jasidjfij13asdfija',
  ripple_name: 'h23',
  justification: '1231412312',
  website: 'http://www.website.com' // optional
  
}

RESPONSE

{
  "success": true,
  "application": {
    "full_name": "Henk Test",
    "organization": "Company",
    "email": "[email protected]",
    "phone": "6501235631",
    "ripple_address": "1jasidjfij13asdfija",
    "ripple_name": "h23",
    "justification": "1231412312",
    "destination_tag": "1238asdjfa8sudfa",
    "updatedAt": "2014-04-19T02:29:35.199Z",
    "createdAt": "2014-04-19T02:29:35.199Z",
    "id": 10,
    "website": null
  }
}

validation

case fail

{
  "success": false,
  "error": {
    "email": [
      "Validation isEmail failed: email"
    ]
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published