@extends('layouts.horizontal') @section('content')

API Dokumentasi

API Profile

@auth @endauth
HTTP Method POST
API URL {{ url('/api/profile') }}
API Key {{ auth()->user()->api_key }}

Get Profile Info

Parameter Deskripsi
key API Key anda

Success Response:

                                                {
                                                    "success": true,
                                                    "data": {
                                                        "account_status": "Active",
                                                        "balance": 14200,
                                                    }
                                                }
                                            

Failed response:

                                                {
                                                    "success": false,
                                                    "error": "Wrong API Key"
                                                }
                                            
@endsection