Create a wallet grant
Requires the WALLET_GRANT.CREATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
customer_id
The ID of the customer.
billing_entity_id
The ID of the billing entity granting the wallet grant.
wallet_id
The ID of the wallet.
type
The type of wallet grant.
seat
The seat this grant is restricted to. Only set when the source is PER_SEAT.
over_granted
The part of this grant beyond what the period’s paid-for seats account for, judged at issuance.
description
The description of the wallet grant.
grant_amount
The value of the grant in case of an amount wallet type.
grant_credits
The value of the grant in case of a credits wallet type.
paid_amount
start_at
expire_at
Response
Created
object_type
id
customer_id
The ID of the customer.
billing_entity_id
The ID of the billing entity granting the wallet grant.
wallet_id
The ID of the wallet.
type
The type of wallet grant.
source
What the grant quantity was derived from at issuance. Not set for manually created grants.
seat
The seat this grant is restricted to. Only set when the source is PER_SEAT.
over_granted
The part of this grant beyond what the period’s paid-for seats account for, judged at issuance.
description
The description of the wallet grant.
grant_amount
The value of the grant in case of an amount wallet type.
grant_credits
The value of the grant in case of a credits wallet type.
paid_amount
start_at
expire_at
created_at
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error