PayString/paystring

A `payId` must be provided in the request body.

dangell7 opened this issue · 1 comments

Expected Behavior

Create PayID

Actual Behavior

WARN 400 : ParseError[MissingPayId]: A payId must be provided in the request body.

Context

curl --location --request POST 'http://127.0.0.1:8081/users' \
--header 'PayID-API-Version: 2020-06-18' \
--header 'Content-Type: application/json' \
--data-raw '{
  "payId": "bob$127.0.0.1",
  "addresses": [
    {
      "paymentNetwork": "XRPL",
      "environment": "TESTNET",
      "details": {
        "address": "rek7FQvkQxQQNGTtfM2Fr66s7Nm3k87vdS",
        "tag": "123"
      }
    }
  ]
}'

Potential Solution

Unknown

Steps to Reproduce

Clone
Docker Compose
PostMan Request

Environment

  • Node version: v12.18.2
  • NPM version: 6.14.5
  • Operating System and version: OSX 10.15.6
  • PayID server version: 1.1.0
  • PayID Version header (if applicable): Above

Close postman, open postman, retry request