GET-/v1_0/accountholder/{accountHolderIdType}/{accountHolderId}/active

why I am faceing bad request 404 when i want to get information below include api , i am include Authorization token of subscriber and demo account holder 45623568986 and account holder type in sandbox please provide solution or demo account holder and account holder type which are work and active on sandbox for testing purpose GET https://sandbox.momodeveloper.mtn.com/collection/v1_0/accountholder/45623568986/MSISDN/active HTTP/1.1 Host: sandbox.momodeveloper.mtn.com Authorization: Basic eyJ0eXAiOiJKV1QiLCJhbGciOiJSMjU2In0.eyJjbGllbnRJZCI6ImZiNzc0YjkxLTFiYTMtNGJmZS04MDMxLWRjNWU5YTZjZTJlYSIsImV4cGlyZXMiOiIyMDIwLTAxLTI5VDA4OjIxOjU3LjYyOSIsInNlc3Npb25JZCI6IjM0OTY0ZTA3LTEzMzAtNDE1Ny04MGViLWFiMzhhZTZkNGMxMiJ9.FiTc1RjfFrWlTuW_JKcV3LnVcch0bvIs4d6zsS9uHMES9RW7rX46-ZV2pKAw-1gKJlBbTaCC4CL3bxgKyeD5wJOqA6Khi0NM1iAb9fIuqQ_mYvYlSRthM2mSgNv2JOItOiBgikNSkJaRUCemP6tmy9Kld-UFEz1zzIR7FdM5BYlxXqZilSioSiRWvcDk4Memwv3Oh5uM8bcR9swO_EzSO4vVtCCPLOPULAfgA37dFPNezVxBmg5CnDJlyx9o-SuvmAR7fifTDN1afvr0xQGdUCBFR6OsyAiZjAD0y8lXvNnZ4z5E_Jv8Z5gEbRJc3HOSBj2U3Y3GAZeCIal3_dYRxg X-Target-Environment: sandbox Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••

Comments

  •  
    I think the problem is with your Authorization header. Instead of "Basic" replace with "Bearer " then followed by the access_token. Hope it helps
    Posted by Hidden Thu, 20 Feb 2020 07:19:25 GMT
  •  
    Hey Please Help me also.
    Please tell me how to create a Bearer access token. I've tried the base64('apiuser:apikey')
    Please help, I'm really lost.
    Posted by Hidden Fri, 21 Feb 2020 00:22:14 GMT


You're not signed in. Please sign-in to report an issue or post a comment.