curl --request POST \
--url https://billing.b5test.eu/api/v1/partners/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_account_uid": "aabee51b-0be2-4a0c-aa39-5bbcbb903d1b",
"account_type": "I",
"domain": "b5test.com"
}
'{
"customer_account_uid": "aabee51b-0be2-4a0c-aa39-5bbcbb903d1b",
"account_type": "I",
"activation_token": "PNS-DEFG1234",
"domain": "b5test.com",
"status": "entitled",
"deployed_members": 0,
"created_at": "2023-01-23T15:55:58.000Z",
"updated_at": "2023-01-23T15:55:58.000Z",
"ends_at": null
}Create billing account
Begins provisioning process for a new partner associated 1Password account.
curl --request POST \
--url https://billing.b5test.eu/api/v1/partners/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_account_uid": "aabee51b-0be2-4a0c-aa39-5bbcbb903d1b",
"account_type": "I",
"domain": "b5test.com"
}
'{
"customer_account_uid": "aabee51b-0be2-4a0c-aa39-5bbcbb903d1b",
"account_type": "I",
"activation_token": "PNS-DEFG1234",
"domain": "b5test.com",
"status": "entitled",
"deployed_members": 0,
"created_at": "2023-01-23T15:55:58.000Z",
"updated_at": "2023-01-23T15:55:58.000Z",
"ends_at": null
}Authorizations
Body
Request to initialize a partner account.
Specifies the 1Password domain to provision the account for. For testing it can be one of 'b5test.com', 'b5test.ca', or 'b5test.eu'. For production, it can be one of '1password.com', '1password.ca', or '1password.eu'. Note that domains can only be used after promotions have been created for a given partnership in the specific domain.
Response
An Account object is returned upon successful initialization of a partner account.
The activation token is a coupon code to link a new or existing 1Password account to a partnership promotion. For example, it can be used for 1Password account creation at https://start.{{1password_domain}}/partnership/redeem?t={{account_type}}&c={{activation_token}} during end-user signup.
Was this page helpful?