curl --request POST \
--url https://api.qovery.com/organization/{organizationId}/creditCard \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"number": "<string>",
"cvv": "<string>",
"expiry_month": 6,
"expiry_year": 2025,
"token": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"expiry_month": 6,
"expiry_year": 2025,
"last_digit": "7890",
"is_expired": true,
"brand": "<string>"
}curl --request POST \
--url https://api.qovery.com/organization/{organizationId}/creditCard \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"number": "<string>",
"cvv": "<string>",
"expiry_month": 6,
"expiry_year": 2025,
"token": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"expiry_month": 6,
"expiry_year": 2025,
"last_digit": "7890",
"is_expired": true,
"brand": "<string>"
}JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Organization ID
Was this page helpful?