API Reference
Virtual Cards
Enable airline payment [PUT]

Enable airline payment


https://sandboxapi.bitnob.co/api/v1/virtualcards/enable-airlines (opens in a new tab)

Body Parameters

ParametertypeRequired
cardId
ID of the card to be updated
string
isAirlinePaymentEnabled
Enable or disable payment for card TRUE or FALSE
boolean

Request

Virtual Cards/Enable Airline Payment [PUT]
curl --request PUT \
   --url https://sandboxapi.bitnob.co/api/v1/virtualcards/enable-airlines \
   --header 'Authorization: Bearer API-KEY' \
   --header 'accept: application/json' \
   --header 'content-type: application/json' \
   --data '{
          "cardId":"8044818e-0f6f-4a59-b613-08dd52aa33f4",
          "isAirlinePaymentEnabled":true
      }'

Responses

🟢 200 - Result example
{
  "status": true,
  "message": "airline payment has been enabled"
}