POST api/UpdateGiftCard

Request Information

URI Parameters

None.

Body Parameters

UpdateGiftCardParams
NameDescriptionTypeAdditional information
Identifier

globally unique identifier

None.

IsEnabled

boolean

None.

CardName

string

None.

DesignId

integer

None.

APIKey

globally unique identifier

Required

Signature

string

Required

Nonce

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Identifier": "6f5fc911-c291-434a-a69d-af42669c0f8d",
  "IsEnabled": true,
  "CardName": "sample string 2",
  "DesignId": 1,
  "APIKey": "f74e7795-c52b-4294-9d9c-805f8d89fe50",
  "Signature": "sample string 4",
  "Nonce": 5
}

application/xml, text/xml

Sample:
<UpdateGiftCardParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoinCornerAPI.Areas.V3.Controllers.Lightning.LNURL">
  <APIKey xmlns="http://schemas.datacontract.org/2004/07/CoinCorner.Core">f74e7795-c52b-4294-9d9c-805f8d89fe50</APIKey>
  <Nonce xmlns="http://schemas.datacontract.org/2004/07/CoinCorner.Core">5</Nonce>
  <Signature xmlns="http://schemas.datacontract.org/2004/07/CoinCorner.Core">sample string 4</Signature>
  <CardName>sample string 2</CardName>
  <DesignId>1</DesignId>
  <Identifier>6f5fc911-c291-434a-a69d-af42669c0f8d</Identifier>
  <IsEnabled>true</IsEnabled>
</UpdateGiftCardParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
Valid

boolean

None.

Message

string

None.

Error

string

None.

Value

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.