Asset Program Memberships
A Membership to an Asset Program .
Asset Program Membership Model
Attributes
Create Asset Program Membership experimental
This endpoint allows you to create an Asset Program Membership .
Attributes
-
assetProgramId
string required -
accountId
string required -
merchantId
string required
Errors
-
ACCOUNT_TYPE_INVALID
403 -
MERCHANT_ACCOUNT_MISMATCH
403 -
LIVENESS_MISMATCH
403
curl -X POST \ https://service.centrapay.com/api/asset-program-memberships \ -H 'content-type: application/json' \ -H 'x-api-key: <TOKEN>' \ -d '{ "assetProgramId": "WRhAxxWpTKb5U7pXyxQjjY", "accountId": "Jaim1Cu1Q55uooxSens6yk", "merchantId": "5ee0c486308f590260d9a07f"}'
{ "id": "Xv990BzkgfoDS7bBls50pd", "accountId": "Jaim1Cu1Q55uooxSens6yk", "merchantId": "5ee0c486308f590260d9a07f", "assetProgramId": "WRhAxxWpTKb5U7pXyxQjjY", "createdAt": "2021-08-25T00:02:49.488Z", "createdBy": "crn::user:b657195e-dc2f-11ea-8566-e7710d592c99", "test": true, "updatedAt": "2021-08-25T00:02:49.488Z", "updatedBy": "crn::user:b657195e-dc2f-11ea-8566-e7710d592c99"}