Business Profile
The merchant's public business profile, display name, description, category, support email, and logo.
Get profile
https://api.gobtcpay.com/public/api/v1.2/merchant/profile/getReturns the merchant's business profile, legalName (read-only), displayName, description, category, supportEmail, and logoUrl.
Authorization: merchantAuth
Responses
idstringrequired3fa85f64-5717-4562-b3fc-2c963f66afa6resultobjectrequiredcurl -X POST "$BASE_URL/merchant/profile/get" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"result": {
"$case": "success",
"success": {
"profile": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"legalName": "string",
"displayName": "Satoshi Coffee",
"description": "Order #1024",
"category": "string",
"supportEmail": "string",
"logoUrl": "string"
}
}
}
}Update profile
https://api.gobtcpay.com/public/api/v1.2/merchant/profile/updateUpdates the editable business profile fields (displayName, description, category, supportEmail). Admin only. Returns the updated profile.
Authorization: merchantAuth
Body required
application/jsondisplayNamestringPublic display name shown to payers (optional).
Satoshi CoffeedescriptionstringHuman-readable description.
Order #1024categorystringBusiness category, or null.
stringsupportEmailstringPublic support email address, or null.
stringResponses
idstringrequired3fa85f64-5717-4562-b3fc-2c963f66afa6resultobjectrequiredcurl -X POST "$BASE_URL/merchant/profile/update" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-d '{
"displayName": "Satoshi Coffee",
"description": "Order #1024",
"category": "string",
"supportEmail": "string"
}'{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"result": {
"$case": "success",
"success": {
"profile": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"legalName": "string",
"displayName": "Satoshi Coffee",
"description": "Order #1024",
"category": "string",
"supportEmail": "string",
"logoUrl": "string"
}
}
}
}Upload logo
https://api.gobtcpay.com/public/api/v1.2/merchant/profile/logo/uploadUploads the merchant logo (PNG / JPG / SVG, ≤2MB) as base64 fileBase64. Returns the hosted logoUrl.
Authorization: merchantAuth
Body required
application/jsonfileBase64stringrequiredLogo image as a base64-encoded payload (PNG / JPG / SVG, ≤2MB).
stringmimeTypestringMIME type of the uploaded file, e.g. image/png.
stringResponses
idstringrequired3fa85f64-5717-4562-b3fc-2c963f66afa6resultobjectrequiredcurl -X POST "$BASE_URL/merchant/profile/logo/upload" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-d '{
"fileBase64": "string",
"mimeType": "string"
}'{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"result": {
"$case": "success",
"success": {
"logoUrl": "string"
}
}
}Delete logo
https://api.gobtcpay.com/public/api/v1.2/merchant/profile/logo/deleteRemoves the merchant logo. Returns { ok }.
Authorization: merchantAuth
Responses
idstringrequired3fa85f64-5717-4562-b3fc-2c963f66afa6resultobjectrequiredcurl -X POST "$BASE_URL/merchant/profile/logo/delete" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"result": {
"$case": "success",
"success": {
"ok": true
}
}
}