v1

latestOpenAPI 3.1.02026-07-24320172.9 KB

Payment Callback

post/callback/v2.0/subscribe/payments/accounts/{accountId}

Path parameters

versionstring required

The current version of BaaSiC API

accountIdstring required

Target callback account identification

Headers

Authorizationstring required

The personal authentication token obtained by each user from the token authentication endpoint

Request body

notificationstring required

The URL notification to receive the callback

notificationType'Email' | 'Webhook' | 'Queue' | ''

The way the notification will be retrieve.

Response

200

subscriptionIdstring
accountIdstring
notificationTypestring

Example response

{
  "subscriptionId": "646a7469-26ef-48cc-a7c5-8306ab903bc8",
  "accountId": "15",
  "notificationType": "Webhook"
}