Create a credit-card wallet

Validates payer and merchant account details, delegates gateway creation, and returns the new wallet resource.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
payer_idintegerRequired
payer_typeenumRequired
merchant_account_idintegerRequired
wallet_descriptionstring or nullOptional<=1000 characters
activeboolean or nullOptional
card_numberstring or nullOptional
card_expirystring or nullOptional
card_cvvstring or nullOptional

Response

The credit-card wallet was created.

statusstring
messagestring
datamap from strings to any

Errors

403
Forbidden Error
422
Unprocessable Entity Error