Skip to content
Asset Program Memberships

Create Asset Program Membershipexperimental

POST/api/asset-program-memberships

This endpoint allows you to create an Asset Program Membership.

Request body

  • acceptoptional boolean
    true to automatically accept the terms of service for the membership. Requires asset-program-memberships:accept permission on the account.
  • accountIdrequired string
    The Account that owns the Merchant.
  • approveoptional boolean
    true to automatically approve the membership. Requires asset-program-memberships:approve permission on the Asset Program owner account.
  • assetProgramIdrequired string
    The id of the Asset Program the Membership belongs to.
  • billingBankAccountIdoptional string
    The id of the Bank Account to set as the billing bank account for the Asset Program Membership.

Responses

Request
curl -X POST https://service.centrapay.com/api/asset-program-memberships \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"accept": true,
"accountId": "Jaim1Cu1Q55uooxSens6yk",
"approve": false,
"assetProgramId": "ap_WRhAxxWpTKb5U7pXyxQjjY",
"billingBankAccountId": "WRhAxxWpTKb5U7pXyxQjjY"
}'