PATCH
/
pass
/
{chain}
/
{chainNetwork}
/
{wallet}
curl --request PATCH \
  --url https://api.civic.com/partner/pass/{chain}/{chainNetwork}/{wallet} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "state": "ACTIVE",
  "expiryTimestamp": 1677593295
}'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

chain
enum<string>
required

The blockchain type that the Civic Pass was issued on.

Available options:
solana,
ethereum
wallet
string
required

The user's wallet the Civic Pass was issued to.

chainNetwork
enum<string>
required

The blockchain network

Available options:
mainnet-beta,
devnet,
mainnet,
sepolia,
polygonAmoy,
polygonMainnet,
polygonZKEVM,
polygonZKEVMTestnet,
optimismSepolia,
optimismMainnet,
arbitrumSepolia,
arbitrumMainnet,
avalancheCChain,
avalancheCChainFuji,
xdcMainnet,
xdcApothem,
fantomMainnet,
fantomTestnet,
baseSepolia,
baseMainnet,
bscMainnet,
bscTestnet,
xlayerMainnet,
xlayerTestnet,
unichainMainnet,
unichainSepolia,
sonicMainnet,
sonicTestnet

Body

application/json

Response

200 - application/json

ok

The response is of type object.