Wallets
A Wallet is a representation of a consumer application.
Wallet Model
Attributes
-
id
string -
name
string -
accountId
string -
connectUrl
string -
payUrl
string -
logoMediaUploadId
string -
primaryColorHex
string -
assetTypes
array
Asset Types Model
Attributes
-
id
string required -
collectionId
string
Create Wallet experimental
This endpoint allows you to create a Wallet .
Attributes
-
id
string required -
name
string required -
accountId
string required -
connectUrl
string -
payUrl
string -
logoMediaUploadId
string -
primaryColorHex
string -
assetTypes
array required
curl -X POST \ https://service.centrapay.com/api/wallets \ -H 'content-type: application/json' \ -H 'x-api-key: <TOKEN>' \ -d '{ "id": "payap", "name": "Payap", "accountId": "abc123", "connectionId": "https://app.payap.com/join", "payUrl": "https://app.payap.com/pay", "logoMediaUploadId": "abcd", "primaryColorHex": "#abc123", "assetTypes": [ { "id": "quartz.nzd" }, { "id": "centrapay.token", "collectionId": "98h1d312" }, { "id": "centrapay.token", "collectionId": "ca9h0221sacw" } ]}'
{ "id": "payap", "createdBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:MyApiKey", "createdByAccountName": "Payap", "createdAt": "2020-05-01T12:30:00.000Z", "status": "active", "url": "https://app.payap.com/join", "merchantId": "abc123", "logoMediaUploadId": "abcd", "logoImg": "imgLink", "primaryColorHex": "#abc123", "assetTypes": [ { "id": "quartz.nzd" }, { "id": "centrapay.token", "collectionId": "98h1d312" }, { "id": "centrapay.token", "collectionId": "ca9h0221sacw" } ]}