Create a Record

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

To create a Record, supply a name, a description, a hash representing the record that matches the schema specification of the related schema, and optionally include meta parameters to link the Record with external data.

Note that once a Record is created, the "data" parameter can no longer be updated.

id
string
required
Defaults to c26c288cc9d8477eb58fe9c5
The id of the assurety schema

expand
string
Comma separated list of parameters to expand [wallet, chain, schema, assuror]

name
string
required
Defaults to Generic Record
A name for the schema

description
string
required
Defaults to A generic assurety record.
A short description for the wallet

meta
json
Defaults to {}
Optional key/value store to link external data

data
json
required
Defaults to { "@type": "certification", "hello": "World" }
Record data matching its related schema specification.

200      200

Updated about 6 years ago


ShellNodeRubyPHPPython

xxxxxxxxxx

curl --request POST \
 
     --url https://api.paystand.co/v3/assurety/schemas/c26c288cc9d8477eb58fe9c5/records \
 
     --header 'Accept: ••••' \
 
     --header 'Authorization: Bearer ••••' \
 
     --header 'Content-Type: ••••' \
 
     --header 'X-CUSTOMER-ID: ••••' \
 
     --header 'accept: application/json' \
 
     --header 'content-type: application/json' \
 
     --data '

{

"name": "Generic Record",

"description": "A generic assurety record.",

"meta": {},

"data": {

"@type": "certification",

"hello": "World"

}

}

'

Click Try It! to start a request and see the response here! Or choose an example:

application/json

200 - Result

Updated about 6 years ago