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.
type
The type of wallet grant.
Allowed values:
customer_id
The ID of the customer.
wallet_id
The ID of the wallet.
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
The value of the grant in case of an amount wallet type.
start_at
expire_at
Response
Created
type
The type of wallet grant.
Allowed values:
object_type
id
customer_id
The ID of the customer.
wallet_id
The ID of the wallet.
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
The value of the grant in case of an amount wallet type.
start_at
expire_at
created_at
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error