Members
Retrieve a member
Changed onRetrieve a merchant member.
get/v0.1/merchants/{merchant_code}/members/{member_id}
Request
- Base URLhttps://api.sumup.com
- URLhttps://api.sumup.com/v0.1/merchants/{merchant_code}/members/{member_id}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://api.sumup.com/authorizeToken URL: https://api.sumup.com/token scopes: user.subaccounts, members.read
Path parameters
merchant_codestring required
Example:MK10CL2A
Short unique identifier for the merchant.
member_idstring required
Example:mem_WZsm7QTPhVrompscmPhoGTXXcrd58fr9MOhP
The ID of the member to retrieve.
Response
Returns the Member object for a valid identifier.
Example response
{
"id": "mem_WZsm7QTPhVrompscmPhoGTXXcrd58fr9MOhP",
"roles": [
"role_admin",
"role_owner"
],
"permissions": [
"members_read",
"members_write",
"create_moto_payments",
"full_transaction_history_view",
"refund_transactions",
"create_referral",
"developer_settings_edit",
"developer_settings_access"
],
"created_at": "2023-01-20T15:16:17Z",
"updated_at": "2023-02-20T15:16:17Z",
"user": {
"id": "44ca0f5b-813b-46e1-aee7-e6242010662e",
"email": "example@sumup.com",
"mfa_on_login_enabled": true,
"virtual_user": false,
"service_account_user": false
},
"status": "accepted"
}Changes
- info
the security scope
members.readwas added to the endpoint's security schemeoauth2 - info
the security scope
user.subaccountswas added to the endpoint's security schemeoauth2
- info
- breaking
the
//response's property format changed fromint32to no format for status - info
response property
user/service_account_userdeprecated - info
response property
user/virtual_userdeprecated - info
added the required property
/to the response with the status
- breaking